]> git.rmz.io Git - dotfiles.git/blob - qutebrowser/themes/nord-qutebrowser.py
qutebrowser: tweak some colors to my liking
[dotfiles.git] / qutebrowser / themes / nord-qutebrowser.py
1 # https://github.com/Linuus/nord-qutebrowser
2
3 nord = {
4 # Polar Night
5 'nord0': '#2e3440',
6 'nord1': '#3b4252',
7 'nord2': '#434c5e',
8 'nord3': '#4c566a',
9 # Snow Storm
10 'nord4': '#d8dee9',
11 'nord5': '#e5e9f0',
12 'nord6': '#eceff4',
13 # Frost
14 'nord7': '#8fbcbb',
15 'nord8': '#88c0d0',
16 'nord9': '#81a1c1',
17 'nord10': '#5e81ac',
18 # Aurora
19 'nord11': '#bf616a',
20 'nord12': '#d08770',
21 'nord13': '#ebcb8b',
22 'nord14': '#a3be8c',
23 'nord15': '#b48ead',
24 }
25
26 ## Background color of the completion widget category headers.
27 ## Type: QssColor
28 c.colors.completion.category.bg = 'qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 '+nord['nord1']+', stop:1 '+nord['nord0']+')'
29
30 ## Bottom border color of the completion widget category headers.
31 ## Type: QssColor
32 c.colors.completion.category.border.bottom = nord['nord0']
33
34 ## Top border color of the completion widget category headers.
35 ## Type: QssColor
36 c.colors.completion.category.border.top = nord['nord1']
37
38 ## Foreground color of completion widget category headers.
39 ## Type: QtColor
40 c.colors.completion.category.fg = nord['nord5']
41
42 ## Background color of the completion widget for even rows.
43 ## Type: QssColor
44 c.colors.completion.even.bg = nord['nord1']
45
46 ## Text color of the completion widget. May be a single color to use for
47 ## all columns or a list of three colors, one for each column.
48 ## Type: List of QtColor, or QtColor
49 c.colors.completion.fg = nord['nord4']
50
51 ## Background color of the selected completion item.
52 ## Type: QssColor
53 c.colors.completion.item.selected.bg = nord['nord3']
54
55 ## Bottom border color of the selected completion item.
56 ## Type: QssColor
57 c.colors.completion.item.selected.border.bottom = nord['nord3']
58
59 ## Top border color of the selected completion item.
60 ## Type: QssColor
61 c.colors.completion.item.selected.border.top = nord['nord3']
62
63 ## Foreground color of the selected completion item.
64 ## Type: QtColor
65 c.colors.completion.item.selected.fg = nord['nord6']
66
67 ## Foreground color of the matched text in the selected completion item.
68 ## Type: QtColor
69 c.colors.completion.item.selected.match.fg = nord['nord13']
70
71 ## Foreground color of the matched text in the completion.
72 ## Type: QtColor
73 c.colors.completion.match.fg = nord['nord13']
74
75 ## Background color of the completion widget for odd rows.
76 ## Type: QssColor
77 c.colors.completion.odd.bg = nord['nord2']
78
79 ## Color of the scrollbar in the completion view.
80 ## Type: QssColor
81 c.colors.completion.scrollbar.bg = nord['nord1']
82
83 ## Color of the scrollbar handle in the completion view.
84 ## Type: QssColor
85 c.colors.completion.scrollbar.fg = nord['nord5']
86
87 ## Background color of disabled items in the context menu. If set to
88 ## null, the Qt default is used.
89 ## Type: QssColor
90 c.colors.contextmenu.disabled.bg = nord['nord0']
91
92 ## Foreground color of disabled items in the context menu. If set to
93 ## null, the Qt default is used.
94 ## Type: QssColor
95 c.colors.contextmenu.disabled.fg = nord['nord3']
96
97 ## Background color of the context menu. If set to null, the Qt default
98 ## is used.
99 ## Type: QssColor
100 c.colors.contextmenu.menu.bg = nord['nord1']
101
102 ## Foreground color of the context menu. If set to null, the Qt default
103 ## is used.
104 ## Type: QssColor
105 c.colors.contextmenu.menu.fg = nord['nord6']
106
107 ## Background color of the context menu's selected item. If set to null,
108 ## the Qt default is used.
109 ## Type: QssColor
110 c.colors.contextmenu.selected.bg = nord['nord1']
111
112 ## Foreground color of the context menu's selected item. If set to null,
113 ## the Qt default is used.
114 ## Type: QssColor
115 c.colors.contextmenu.selected.fg = nord['nord6']
116
117 ## Background color for the download bar.
118 ## Type: QssColor
119 c.colors.downloads.bar.bg = nord['nord0']
120
121 ## Background color for downloads with errors.
122 ## Type: QtColor
123 c.colors.downloads.error.bg = nord['nord11']
124
125 ## Foreground color for downloads with errors.
126 ## Type: QtColor
127 c.colors.downloads.error.fg = nord['nord5']
128
129 ## Color gradient start for download backgrounds.
130 ## Type: QtColor
131 c.colors.downloads.start.bg = nord['nord12']
132
133 ## Color gradient start for download text.
134 ## Type: QtColor
135 c.colors.downloads.start.fg = nord['nord2']
136
137 ## Color gradient stop for download backgrounds.
138 ## Type: QtColor
139 c.colors.downloads.stop.bg = nord['nord14']
140
141 ## Color gradient end for download text.
142 ## Type: QtColor
143 c.colors.downloads.stop.fg = nord['nord2']
144
145 ## Color gradient interpolation system for download backgrounds.
146 ## Type: ColorSystem
147 ## Valid values:
148 ## - rgb: Interpolate in the RGB color system.
149 ## - hsv: Interpolate in the HSV color system.
150 ## - hsl: Interpolate in the HSL color system.
151 ## - none: Don't show a gradient.
152 c.colors.downloads.system.bg = 'hsv'
153
154 ## Color gradient interpolation system for download text.
155 ## Type: ColorSystem
156 ## Valid values:
157 ## - rgb: Interpolate in the RGB color system.
158 ## - hsv: Interpolate in the HSV color system.
159 ## - hsl: Interpolate in the HSL color system.
160 ## - none: Don't show a gradient.
161 c.colors.downloads.system.fg = "none"
162
163 ## Background color for hints. Note that you can use a `rgba(...)` value
164 ## for transparency.
165 ## Type: QssColor
166 c.colors.hints.bg = nord['nord13']
167
168 ## Font color for hints.
169 ## Type: QssColor
170 c.colors.hints.fg = nord['nord0']
171
172 ## Font color for the matched part of hints.
173 ## Type: QtColor
174 c.colors.hints.match.fg = nord['nord10']
175
176 ## Background color of the keyhint widget.
177 ## Type: QssColor
178 c.colors.keyhint.bg = nord['nord1']
179
180 ## Text color for the keyhint widget.
181 ## Type: QssColor
182 c.colors.keyhint.fg = nord['nord5']
183
184 ## Highlight color for keys to complete the current keychain.
185 ## Type: QssColor
186 c.colors.keyhint.suffix.fg = nord['nord13']
187
188 ## Background color of an error message.
189 ## Type: QssColor
190 c.colors.messages.error.bg = nord['nord11']
191
192 ## Border color of an error message.
193 ## Type: QssColor
194 c.colors.messages.error.border = nord['nord11']
195
196 ## Foreground color of an error message.
197 ## Type: QssColor
198 c.colors.messages.error.fg = nord['nord5']
199
200 ## Background color of an info message.
201 ## Type: QssColor
202 c.colors.messages.info.bg = nord['nord8']
203
204 ## Border color of an info message.
205 ## Type: QssColor
206 c.colors.messages.info.border = nord['nord8']
207
208 ## Foreground color of an info message.
209 ## Type: QssColor
210 c.colors.messages.info.fg = nord['nord5']
211
212 ## Background color of a warning message.
213 ## Type: QssColor
214 c.colors.messages.warning.bg = nord['nord12']
215
216 ## Border color of a warning message.
217 ## Type: QssColor
218 c.colors.messages.warning.border = nord['nord12']
219
220 ## Foreground color of a warning message.
221 ## Type: QssColor
222 c.colors.messages.warning.fg = nord['nord5']
223
224 ## Background color for prompts.
225 ## Type: QssColor
226 c.colors.prompts.bg = nord['nord2']
227
228 ## Border used around UI elements in prompts.
229 ## Type: String
230 c.colors.prompts.border = '1px solid ' + nord['nord0']
231
232 ## Foreground color for prompts.
233 ## Type: QssColor
234 c.colors.prompts.fg = nord['nord5']
235
236 ## Background color for the selected item in filename prompts.
237 ## Type: QssColor
238 c.colors.prompts.selected.bg = nord['nord3']
239
240 ## Background color of the statusbar in caret mode.
241 ## Type: QssColor
242 c.colors.statusbar.caret.bg = nord['nord15']
243
244 ## Foreground color of the statusbar in caret mode.
245 ## Type: QssColor
246 c.colors.statusbar.caret.fg = nord['nord5']
247
248 ## Background color of the statusbar in caret mode with a selection.
249 ## Type: QssColor
250 c.colors.statusbar.caret.selection.bg = nord['nord15']
251
252 ## Foreground color of the statusbar in caret mode with a selection.
253 ## Type: QssColor
254 c.colors.statusbar.caret.selection.fg = nord['nord5']
255
256 ## Background color of the statusbar in command mode.
257 ## Type: QssColor
258 c.colors.statusbar.command.bg = nord['nord2']
259
260 ## Foreground color of the statusbar in command mode.
261 ## Type: QssColor
262 c.colors.statusbar.command.fg = nord['nord5']
263
264 ## Background color of the statusbar in private browsing + command mode.
265 ## Type: QssColor
266 c.colors.statusbar.command.private.bg = nord['nord2']
267
268 ## Foreground color of the statusbar in private browsing + command mode.
269 ## Type: QssColor
270 c.colors.statusbar.command.private.fg = nord['nord5']
271
272 ## Background color of the statusbar in insert mode.
273 ## Type: QssColor
274 c.colors.statusbar.insert.bg = nord['nord14']
275
276 ## Foreground color of the statusbar in insert mode.
277 ## Type: QssColor
278 c.colors.statusbar.insert.fg = nord['nord1']
279
280 ## Background color of the statusbar.
281 ## Type: QssColor
282 c.colors.statusbar.normal.bg = nord['nord0']
283
284 ## Foreground color of the statusbar.
285 ## Type: QssColor
286 c.colors.statusbar.normal.fg = nord['nord5']
287
288 ## Background color of the statusbar in passthrough mode.
289 ## Type: QssColor
290 c.colors.statusbar.passthrough.bg = nord['nord10']
291
292 ## Foreground color of the statusbar in passthrough mode.
293 ## Type: QssColor
294 c.colors.statusbar.passthrough.fg = nord['nord5']
295
296 ## Background color of the statusbar in private browsing mode.
297 ## Type: QssColor
298 c.colors.statusbar.private.bg = nord['nord3']
299
300 ## Foreground color of the statusbar in private browsing mode.
301 ## Type: QssColor
302 c.colors.statusbar.private.fg = nord['nord5']
303
304 ## Background color of the progress bar.
305 ## Type: QssColor
306 c.colors.statusbar.progress.bg = nord['nord5']
307
308 ## Foreground color of the URL in the statusbar on error.
309 ## Type: QssColor
310 c.colors.statusbar.url.error.fg = nord['nord11']
311
312 ## Default foreground color of the URL in the statusbar.
313 ## Type: QssColor
314 c.colors.statusbar.url.fg = nord['nord5']
315
316 ## Foreground color of the URL in the statusbar for hovered links.
317 ## Type: QssColor
318 c.colors.statusbar.url.hover.fg = nord['nord8']
319
320 ## Foreground color of the URL in the statusbar on successful load
321 ## (http).
322 ## Type: QssColor
323 c.colors.statusbar.url.success.http.fg = nord['nord5']
324
325 ## Foreground color of the URL in the statusbar on successful load
326 ## (https).
327 ## Type: QssColor
328 c.colors.statusbar.url.success.https.fg = nord['nord14']
329
330 ## Foreground color of the URL in the statusbar when there's a warning.
331 ## Type: QssColor
332 c.colors.statusbar.url.warn.fg = nord['nord12']
333
334 ## Background color of the tab bar.
335 ## Type: QssColor
336 c.colors.tabs.bar.bg = nord['nord3']
337
338 ## Background color of unselected even tabs.
339 ## Type: QtColor
340 c.colors.tabs.even.bg = nord['nord3']
341
342 ## Foreground color of unselected even tabs.
343 ## Type: QtColor
344 c.colors.tabs.even.fg = nord['nord5']
345
346 ## Color for the tab indicator on errors.
347 ## Type: QtColor
348 c.colors.tabs.indicator.error = nord['nord11']
349
350 ## Color gradient start for the tab indicator.
351 ## Type: QtColor
352 c.colors.tabs.indicator.start = nord['nord12']
353
354 ## Color gradient end for the tab indicator.
355 ## Type: QtColor
356 c.colors.tabs.indicator.stop = nord['nord14']
357
358 ## Color gradient interpolation system for the tab indicator.
359 ## Type: ColorSystem
360 ## Valid values:
361 ## - rgb: Interpolate in the RGB color system.
362 ## - hsv: Interpolate in the HSV color system.
363 ## - hsl: Interpolate in the HSL color system.
364 ## - none: Don't show a gradient.
365 c.colors.tabs.indicator.system = 'hsv'
366
367 ## Background color of unselected odd tabs.
368 ## Type: QtColor
369 c.colors.tabs.odd.bg = nord['nord3']
370
371 ## Foreground color of unselected odd tabs.
372 ## Type: QtColor
373 c.colors.tabs.odd.fg = nord['nord5']
374
375 ## Background color of pinned unselected even tabs.
376 ## Type: QtColor
377 c.colors.tabs.pinned.even.bg = nord['nord10']
378
379 ## Foreground color of pinned unselected even tabs.
380 ## Type: QtColor
381 c.colors.tabs.pinned.even.fg = nord['nord4']
382
383 ## Background color of pinned unselected odd tabs.
384 ## Type: QtColor
385 c.colors.tabs.pinned.odd.bg = c.colors.tabs.pinned.even.bg
386
387 ## Foreground color of pinned unselected odd tabs.
388 ## Type: QtColor
389 c.colors.tabs.pinned.odd.fg = c.colors.tabs.pinned.even.fg
390
391 ## Background color of pinned selected even tabs.
392 ## Type: QtColor
393 c.colors.tabs.pinned.selected.even.bg = c.colors.tabs.selected.even.bg
394
395 ## Foreground color of pinned selected even tabs.
396 ## Type: QtColor
397 c.colors.tabs.pinned.selected.even.fg = c.colors.tabs.selected.even.fg
398
399 ## Background color of pinned selected odd tabs.
400 ## Type: QtColor
401 c.colors.tabs.pinned.selected.odd.bg = c.colors.tabs.selected.odd.bg
402
403 ## Foreground color of pinned selected odd tabs.
404 ## Type: QtColor
405 c.colors.tabs.pinned.selected.odd.fg = c.colors.tabs.selected.odd.fg
406
407 ## Background color of selected even tabs.
408 ## Type: QtColor
409 c.colors.tabs.selected.even.bg = nord['nord0']
410
411 ## Foreground color of selected even tabs.
412 ## Type: QtColor
413 c.colors.tabs.selected.even.fg = nord['nord5']
414
415 ## Background color of selected odd tabs.
416 ## Type: QtColor
417 c.colors.tabs.selected.odd.bg = nord['nord0']
418
419 ## Foreground color of selected odd tabs.
420 ## Type: QtColor
421 c.colors.tabs.selected.odd.fg = nord['nord5']
422
423 ## Background color for webpages if unset (or empty to use the theme's
424 ## color).
425 ## Type: QtColor
426 c.colors.webpage.bg = nord['nord4']