]> git.rmz.io Git - dotfiles.git/blob - qutebrowser/themes/nord-qutebrowser.py
task: move taskrc file to task subfolder
[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 #TODO use gradient?
167 # c.colors.hints.bg = 'qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgba(255, 247, 133, 0.8), stop:1 rgba(255, 197, 66, 0.8))'
168 c.colors.hints.bg = nord['nord13']
169
170 ## Font color for hints.
171 ## Type: QssColor
172 c.colors.hints.fg = nord['nord0']
173
174 ## Font color for the matched part of hints.
175 ## Type: QtColor
176 c.colors.hints.match.fg = nord['nord10']
177
178 ## Background color of the keyhint widget.
179 ## Type: QssColor
180 c.colors.keyhint.bg = nord['nord1']
181
182 ## Text color for the keyhint widget.
183 ## Type: QssColor
184 c.colors.keyhint.fg = nord['nord5']
185
186 ## Highlight color for keys to complete the current keychain.
187 ## Type: QssColor
188 c.colors.keyhint.suffix.fg = nord['nord13']
189
190 ## Background color of an error message.
191 ## Type: QssColor
192 c.colors.messages.error.bg = nord['nord11']
193
194 ## Border color of an error message.
195 ## Type: QssColor
196 c.colors.messages.error.border = nord['nord11']
197
198 ## Foreground color of an error message.
199 ## Type: QssColor
200 c.colors.messages.error.fg = nord['nord5']
201
202 ## Background color of an info message.
203 ## Type: QssColor
204 c.colors.messages.info.bg = nord['nord8']
205
206 ## Border color of an info message.
207 ## Type: QssColor
208 c.colors.messages.info.border = nord['nord8']
209
210 ## Foreground color of an info message.
211 ## Type: QssColor
212 c.colors.messages.info.fg = nord['nord5']
213
214 ## Background color of a warning message.
215 ## Type: QssColor
216 c.colors.messages.warning.bg = nord['nord12']
217
218 ## Border color of a warning message.
219 ## Type: QssColor
220 c.colors.messages.warning.border = nord['nord12']
221
222 ## Foreground color of a warning message.
223 ## Type: QssColor
224 c.colors.messages.warning.fg = nord['nord5']
225
226 ## Background color for prompts.
227 ## Type: QssColor
228 c.colors.prompts.bg = nord['nord2']
229
230 ## Border used around UI elements in prompts.
231 ## Type: String
232 c.colors.prompts.border = '1px solid ' + nord['nord0']
233
234 ## Foreground color for prompts.
235 ## Type: QssColor
236 c.colors.prompts.fg = nord['nord5']
237
238 ## Background color for the selected item in filename prompts.
239 ## Type: QssColor
240 c.colors.prompts.selected.bg = nord['nord3']
241
242 ## Foreground color for the selected item in filename prompts.
243 ## Type: QssColor
244 c.colors.prompts.selected.fg = nord['nord5']
245
246 ## Background color of the statusbar in caret mode.
247 ## Type: QssColor
248 c.colors.statusbar.caret.bg = nord['nord15']
249
250 ## Foreground color of the statusbar in caret mode.
251 ## Type: QssColor
252 c.colors.statusbar.caret.fg = nord['nord5']
253
254 ## Background color of the statusbar in caret mode with a selection.
255 ## Type: QssColor
256 c.colors.statusbar.caret.selection.bg = nord['nord15']
257
258 ## Foreground color of the statusbar in caret mode with a selection.
259 ## Type: QssColor
260 c.colors.statusbar.caret.selection.fg = nord['nord5']
261
262 ## Background color of the statusbar in command mode.
263 ## Type: QssColor
264 c.colors.statusbar.command.bg = nord['nord2']
265
266 ## Foreground color of the statusbar in command mode.
267 ## Type: QssColor
268 c.colors.statusbar.command.fg = nord['nord5']
269
270 ## Background color of the statusbar in private browsing + command mode.
271 ## Type: QssColor
272 c.colors.statusbar.command.private.bg = nord['nord2']
273
274 ## Foreground color of the statusbar in private browsing + command mode.
275 ## Type: QssColor
276 c.colors.statusbar.command.private.fg = nord['nord5']
277
278 ## Background color of the statusbar in insert mode.
279 ## Type: QssColor
280 c.colors.statusbar.insert.bg = nord['nord3']
281
282 ## Foreground color of the statusbar in insert mode.
283 ## Type: QssColor
284 c.colors.statusbar.insert.fg = nord['nord6']
285
286 ## Background color of the statusbar.
287 ## Type: QssColor
288 c.colors.statusbar.normal.bg = nord['nord0']
289
290 ## Foreground color of the statusbar.
291 ## Type: QssColor
292 c.colors.statusbar.normal.fg = nord['nord5']
293
294 ## Background color of the statusbar in passthrough mode.
295 ## Type: QssColor
296 c.colors.statusbar.passthrough.bg = nord['nord10']
297
298 ## Foreground color of the statusbar in passthrough mode.
299 ## Type: QssColor
300 c.colors.statusbar.passthrough.fg = nord['nord5']
301
302 ## Background color of the statusbar in private browsing mode.
303 ## Type: QssColor
304 c.colors.statusbar.private.bg = nord['nord3']
305
306 ## Foreground color of the statusbar in private browsing mode.
307 ## Type: QssColor
308 c.colors.statusbar.private.fg = nord['nord5']
309
310 ## Background color of the progress bar.
311 ## Type: QssColor
312 c.colors.statusbar.progress.bg = nord['nord5']
313
314 ## Foreground color of the URL in the statusbar on error.
315 ## Type: QssColor
316 c.colors.statusbar.url.error.fg = nord['nord11']
317
318 ## Default foreground color of the URL in the statusbar.
319 ## Type: QssColor
320 c.colors.statusbar.url.fg = nord['nord5']
321
322 ## Foreground color of the URL in the statusbar for hovered links.
323 ## Type: QssColor
324 c.colors.statusbar.url.hover.fg = nord['nord8']
325
326 ## Foreground color of the URL in the statusbar on successful load
327 ## (http).
328 ## Type: QssColor
329 c.colors.statusbar.url.success.http.fg = nord['nord5']
330
331 ## Foreground color of the URL in the statusbar on successful load
332 ## (https).
333 ## Type: QssColor
334 c.colors.statusbar.url.success.https.fg = nord['nord14']
335
336 ## Foreground color of the URL in the statusbar when there's a warning.
337 ## Type: QssColor
338 c.colors.statusbar.url.warn.fg = nord['nord12']
339
340 ## Background color of the tab bar.
341 ## Type: QssColor
342 c.colors.tabs.bar.bg = nord['nord3']
343
344 ## Background color of unselected even tabs.
345 ## Type: QtColor
346 c.colors.tabs.even.bg = nord['nord3']
347
348 ## Foreground color of unselected even tabs.
349 ## Type: QtColor
350 c.colors.tabs.even.fg = nord['nord5']
351
352 ## Color for the tab indicator on errors.
353 ## Type: QtColor
354 c.colors.tabs.indicator.error = nord['nord11']
355
356 ## Color gradient start for the tab indicator.
357 ## Type: QtColor
358 c.colors.tabs.indicator.start = nord['nord12']
359
360 ## Color gradient end for the tab indicator.
361 ## Type: QtColor
362 c.colors.tabs.indicator.stop = nord['nord14']
363
364 ## Color gradient interpolation system for the tab indicator.
365 ## Type: ColorSystem
366 ## Valid values:
367 ## - rgb: Interpolate in the RGB color system.
368 ## - hsv: Interpolate in the HSV color system.
369 ## - hsl: Interpolate in the HSL color system.
370 ## - none: Don't show a gradient.
371 c.colors.tabs.indicator.system = 'hsv'
372
373 ## Background color of unselected odd tabs.
374 ## Type: QtColor
375 c.colors.tabs.odd.bg = nord['nord3']
376
377 ## Foreground color of unselected odd tabs.
378 ## Type: QtColor
379 c.colors.tabs.odd.fg = nord['nord5']
380
381 ## Background color of pinned unselected even tabs.
382 ## Type: QtColor
383 c.colors.tabs.pinned.even.bg = nord['nord10']
384
385 ## Foreground color of pinned unselected even tabs.
386 ## Type: QtColor
387 c.colors.tabs.pinned.even.fg = nord['nord4']
388
389 ## Background color of pinned unselected odd tabs.
390 ## Type: QtColor
391 c.colors.tabs.pinned.odd.bg = c.colors.tabs.pinned.even.bg
392
393 ## Foreground color of pinned unselected odd tabs.
394 ## Type: QtColor
395 c.colors.tabs.pinned.odd.fg = c.colors.tabs.pinned.even.fg
396
397 ## Background color of pinned selected even tabs.
398 ## Type: QtColor
399 c.colors.tabs.pinned.selected.even.bg = c.colors.tabs.selected.even.bg
400
401 ## Foreground color of pinned selected even tabs.
402 ## Type: QtColor
403 c.colors.tabs.pinned.selected.even.fg = c.colors.tabs.selected.even.fg
404
405 ## Background color of pinned selected odd tabs.
406 ## Type: QtColor
407 c.colors.tabs.pinned.selected.odd.bg = c.colors.tabs.selected.odd.bg
408
409 ## Foreground color of pinned selected odd tabs.
410 ## Type: QtColor
411 c.colors.tabs.pinned.selected.odd.fg = c.colors.tabs.selected.odd.fg
412
413 ## Background color of selected even tabs.
414 ## Type: QtColor
415 c.colors.tabs.selected.even.bg = nord['nord0']
416
417 ## Foreground color of selected even tabs.
418 ## Type: QtColor
419 c.colors.tabs.selected.even.fg = nord['nord5']
420
421 ## Background color of selected odd tabs.
422 ## Type: QtColor
423 c.colors.tabs.selected.odd.bg = nord['nord0']
424
425 ## Foreground color of selected odd tabs.
426 ## Type: QtColor
427 c.colors.tabs.selected.odd.fg = nord['nord5']
428
429 ## Background color for webpages if unset (or empty to use the theme's
430 ## color).
431 ## Type: QtColor
432 c.colors.webpage.bg = nord['nord4']