gruvbox.py - dotfiles - These are my dotfiles. There are many like it, but these are mine.
(HTM) git clone git://jay.scot/dotfiles
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
gruvbox.py (10027B)
---
1 # gruvbox dark hard qutebrowser theme by Florian Bruhin <me@the-compiler.org>
2 #
3 # Originally based on:
4 # base16-qutebrowser (https://github.com/theova/base16-qutebrowser)
5 # Base16 qutebrowser template by theova and Daniel Mulford
6 # Gruvbox dark, hard scheme by Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox)
7
8 bg0_hard = "#1d2021"
9 bg0_soft = '#32302f'
10 bg0_normal = '#282828'
11
12 bg0 = bg0_normal
13 bg1 = "#3c3836"
14 bg2 = "#504945"
15 bg3 = "#665c54"
16 bg4 = "#7c6f64"
17
18 fg0 = "#fbf1c7"
19 fg1 = "#ebdbb2"
20 fg2 = "#d5c4a1"
21 fg3 = "#bdae93"
22 fg4 = "#a89984"
23
24 bright_red = "#fb4934"
25 bright_green = "#b8bb26"
26 bright_yellow = "#fabd2f"
27 bright_blue = "#83a598"
28 bright_purple = "#d3869b"
29 bright_aqua = "#8ec07c"
30 bright_gray = "#928374"
31 bright_orange = "#fe8019"
32
33 dark_red = "#cc241d"
34 dark_green = "#98971a"
35 dark_yellow = "#d79921"
36 dark_blue = "#458588"
37 dark_purple = "#b16286"
38 dark_aqua = "#689d6a"
39 dark_gray = "#a89984"
40 dark_orange = "#d65d0e"
41
42 ### Completion
43
44 # Text color of the completion widget. May be a single color to use for
45 # all columns or a list of three colors, one for each column.
46 c.colors.completion.fg = [fg1, bright_aqua, bright_yellow]
47
48 # Background color of the completion widget for odd rows.
49 c.colors.completion.odd.bg = bg0
50
51 # Background color of the completion widget for even rows.
52 c.colors.completion.even.bg = c.colors.completion.odd.bg
53
54 # Foreground color of completion widget category headers.
55 c.colors.completion.category.fg = bright_blue
56
57 # Background color of the completion widget category headers.
58 c.colors.completion.category.bg = bg1
59
60 # Top border color of the completion widget category headers.
61 c.colors.completion.category.border.top = c.colors.completion.category.bg
62
63 # Bottom border color of the completion widget category headers.
64 c.colors.completion.category.border.bottom = c.colors.completion.category.bg
65
66 # Foreground color of the selected completion item.
67 c.colors.completion.item.selected.fg = fg0
68
69 # Background color of the selected completion item.
70 c.colors.completion.item.selected.bg = bg4
71
72 # Top border color of the selected completion item.
73 c.colors.completion.item.selected.border.top = bg2
74
75 # Bottom border color of the selected completion item.
76 c.colors.completion.item.selected.border.bottom = c.colors.completion.item.selected.border.top
77
78 # Foreground color of the matched text in the selected completion item.
79 c.colors.completion.item.selected.match.fg = bright_orange
80
81 # Foreground color of the matched text in the completion.
82 c.colors.completion.match.fg = c.colors.completion.item.selected.match.fg
83
84 # Color of the scrollbar handle in the completion view.
85 c.colors.completion.scrollbar.fg = c.colors.completion.item.selected.fg
86
87 # Color of the scrollbar in the completion view.
88 c.colors.completion.scrollbar.bg = c.colors.completion.category.bg
89
90 ### Context menu
91
92 # Background color of disabled items in the context menu.
93 c.colors.contextmenu.disabled.bg = bg3
94
95 # Foreground color of disabled items in the context menu.
96 c.colors.contextmenu.disabled.fg = fg3
97
98 # Background color of the context menu. If set to null, the Qt default is used.
99 c.colors.contextmenu.menu.bg = bg0
100
101 # Foreground color of the context menu. If set to null, the Qt default is used.
102 c.colors.contextmenu.menu.fg = fg2
103
104 # Background color of the context menu’s selected item. If set to null, the Qt default is used.
105 c.colors.contextmenu.selected.bg = bg2
106
107 #Foreground color of the context menu’s selected item. If set to null, the Qt default is used.
108 c.colors.contextmenu.selected.fg = c.colors.contextmenu.menu.fg
109
110 ### Downloads
111
112 # Background color for the download bar.
113 c.colors.downloads.bar.bg = bg0
114
115 # Color gradient start for download text.
116 c.colors.downloads.start.fg = bg0
117
118 # Color gradient start for download backgrounds.
119 c.colors.downloads.start.bg = bright_blue
120
121 # Color gradient end for download text.
122 c.colors.downloads.stop.fg = c.colors.downloads.start.fg
123
124 # Color gradient stop for download backgrounds.
125 c.colors.downloads.stop.bg = bright_aqua
126
127 # Foreground color for downloads with errors.
128 c.colors.downloads.error.fg = bright_red
129
130 ### Hints
131
132 # Font color for hints.
133 c.colors.hints.fg = bg0
134
135 # Background color for hints.
136 c.colors.hints.bg = 'rgba(250, 191, 47, 200)' # bright_yellow
137
138 # Font color for the matched part of hints.
139 c.colors.hints.match.fg = bg4
140
141 ### Keyhint widget
142
143 # Text color for the keyhint widget.
144 c.colors.keyhint.fg = fg4
145
146 # Highlight color for keys to complete the current keychain.
147 c.colors.keyhint.suffix.fg = fg0
148
149 # Background color of the keyhint widget.
150 c.colors.keyhint.bg = bg0
151
152 ### Messages
153
154 # Foreground color of an error message.
155 c.colors.messages.error.fg = bg0
156
157 # Background color of an error message.
158 c.colors.messages.error.bg = bright_red
159
160 # Border color of an error message.
161 c.colors.messages.error.border = c.colors.messages.error.bg
162
163 # Foreground color of a warning message.
164 c.colors.messages.warning.fg = bg0
165
166 # Background color of a warning message.
167 c.colors.messages.warning.bg = bright_purple
168
169 # Border color of a warning message.
170 c.colors.messages.warning.border = c.colors.messages.warning.bg
171
172 # Foreground color of an info message.
173 c.colors.messages.info.fg = fg2
174
175 # Background color of an info message.
176 c.colors.messages.info.bg = bg0
177
178 # Border color of an info message.
179 c.colors.messages.info.border = c.colors.messages.info.bg
180
181 ### Prompts
182
183 # Foreground color for prompts.
184 c.colors.prompts.fg = fg2
185
186 # Border used around UI elements in prompts.
187 c.colors.prompts.border = f'1px solid {bg1}'
188
189 # Background color for prompts.
190 c.colors.prompts.bg = bg3
191
192 # Background color for the selected item in filename prompts.
193 c.colors.prompts.selected.bg = bg2
194
195 ### Statusbar
196
197 # Foreground color of the statusbar.
198 c.colors.statusbar.normal.fg = fg2
199
200 # Background color of the statusbar.
201 c.colors.statusbar.normal.bg = bg0
202
203 # Foreground color of the statusbar in insert mode.
204 c.colors.statusbar.insert.fg = bg0
205
206 # Background color of the statusbar in insert mode.
207 c.colors.statusbar.insert.bg = dark_aqua
208
209 # Foreground color of the statusbar in passthrough mode.
210 c.colors.statusbar.passthrough.fg = bg0
211
212 # Background color of the statusbar in passthrough mode.
213 c.colors.statusbar.passthrough.bg = dark_blue
214
215 # Foreground color of the statusbar in private browsing mode.
216 c.colors.statusbar.private.fg = bright_purple
217
218 # Background color of the statusbar in private browsing mode.
219 c.colors.statusbar.private.bg = bg0
220
221 # Foreground color of the statusbar in command mode.
222 c.colors.statusbar.command.fg = fg3
223
224 # Background color of the statusbar in command mode.
225 c.colors.statusbar.command.bg = bg1
226
227 # Foreground color of the statusbar in private browsing + command mode.
228 c.colors.statusbar.command.private.fg = c.colors.statusbar.private.fg
229
230 # Background color of the statusbar in private browsing + command mode.
231 c.colors.statusbar.command.private.bg = c.colors.statusbar.command.bg
232
233 # Foreground color of the statusbar in caret mode.
234 c.colors.statusbar.caret.fg = bg0
235
236 # Background color of the statusbar in caret mode.
237 c.colors.statusbar.caret.bg = dark_purple
238
239 # Foreground color of the statusbar in caret mode with a selection.
240 c.colors.statusbar.caret.selection.fg = c.colors.statusbar.caret.fg
241
242 # Background color of the statusbar in caret mode with a selection.
243 c.colors.statusbar.caret.selection.bg = bright_purple
244
245 # Background color of the progress bar.
246 c.colors.statusbar.progress.bg = bright_blue
247
248 # Default foreground color of the URL in the statusbar.
249 c.colors.statusbar.url.fg = fg4
250
251 # Foreground color of the URL in the statusbar on error.
252 c.colors.statusbar.url.error.fg = dark_red
253
254 # Foreground color of the URL in the statusbar for hovered links.
255 c.colors.statusbar.url.hover.fg = bright_orange
256
257 # Foreground color of the URL in the statusbar on successful load
258 # (http).
259 c.colors.statusbar.url.success.http.fg = bright_red
260
261 # Foreground color of the URL in the statusbar on successful load
262 # (https).
263 c.colors.statusbar.url.success.https.fg = fg0
264
265 # Foreground color of the URL in the statusbar when there's a warning.
266 c.colors.statusbar.url.warn.fg = bright_purple
267
268 ### tabs
269
270 # Background color of the tab bar.
271 c.colors.tabs.bar.bg = bg0
272
273 # Color gradient start for the tab indicator.
274 c.colors.tabs.indicator.start = bright_blue
275
276 # Color gradient end for the tab indicator.
277 c.colors.tabs.indicator.stop = bright_aqua
278
279 # Color for the tab indicator on errors.
280 c.colors.tabs.indicator.error = bright_red
281
282 # Foreground color of unselected odd tabs.
283 c.colors.tabs.odd.fg = fg2
284
285 # Background color of unselected odd tabs.
286 c.colors.tabs.odd.bg = bg2
287
288 # Foreground color of unselected even tabs.
289 c.colors.tabs.even.fg = c.colors.tabs.odd.fg
290
291 # Background color of unselected even tabs.
292 c.colors.tabs.even.bg = bg3
293
294 # Foreground color of selected odd tabs.
295 c.colors.tabs.selected.odd.fg = fg2
296
297 # Background color of selected odd tabs.
298 c.colors.tabs.selected.odd.bg = bg0
299
300 # Foreground color of selected even tabs.
301 c.colors.tabs.selected.even.fg = c.colors.tabs.selected.odd.fg
302
303 # Background color of selected even tabs.
304 c.colors.tabs.selected.even.bg = bg0
305
306 # Background color of pinned unselected even tabs.
307 c.colors.tabs.pinned.even.bg = bright_green
308
309 # Foreground color of pinned unselected even tabs.
310 c.colors.tabs.pinned.even.fg = bg2
311
312 # Background color of pinned unselected odd tabs.
313 c.colors.tabs.pinned.odd.bg = bright_green
314
315 # Foreground color of pinned unselected odd tabs.
316 c.colors.tabs.pinned.odd.fg = c.colors.tabs.pinned.even.fg
317
318 # Background color of pinned selected even tabs.
319 c.colors.tabs.pinned.selected.even.bg = bg0
320
321 # Foreground color of pinned selected even tabs.
322 c.colors.tabs.pinned.selected.even.fg = c.colors.tabs.selected.odd.fg
323
324 # Background color of pinned selected odd tabs.
325 c.colors.tabs.pinned.selected.odd.bg = c.colors.tabs.pinned.selected.even.bg
326
327 # Foreground color of pinned selected odd tabs.
328 c.colors.tabs.pinned.selected.odd.fg = c.colors.tabs.selected.odd.fg
329
330 # Background color for webpages if unset (or empty to use the theme's
331 # color).
332 # c.colors.webpage.bg = bg4