]> git.rmz.io Git - dotfiles.git/blob - qutebrowser/themes/nord-qutebrowser.py
qutebrowser: add nord theme
[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 = 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['nord0']
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 ## Background color of the completion widget for odd rows.
47 ## Type: QssColor
48 c.colors.completion.odd.bg = nord['nord1']
49
50 ## Text color of the completion widget.
51 ## Type: QtColor
52 c.colors.completion.fg = nord['nord4']
53
54 ## Background color of the selected completion item.
55 ## Type: QssColor
56 c.colors.completion.item.selected.bg = nord['nord3']
57
58 ## Bottom border color of the selected completion item.
59 ## Type: QssColor
60 c.colors.completion.item.selected.border.bottom = nord['nord3']
61
62 ## Top border color of the completion widget category headers.
63 ## Type: QssColor
64 c.colors.completion.item.selected.border.top = nord['nord3']
65
66 ## Foreground color of the selected completion item.
67 ## Type: QtColor
68 c.colors.completion.item.selected.fg = nord['nord6']
69
70 ## Foreground color of the matched text in the completion.
71 ## Type: QssColor
72 c.colors.completion.match.fg = nord['nord13']
73
74 ## Color of the scrollbar in completion view
75 ## Type: QssColor
76 c.colors.completion.scrollbar.bg = nord['nord1']
77
78 ## Color of the scrollbar handle in completion view.
79 ## Type: QssColor
80 c.colors.completion.scrollbar.fg = nord['nord5']
81
82 ## Background color for the download bar.
83 ## Type: QssColor
84 c.colors.downloads.bar.bg = nord['nord0']
85
86 ## Background color for downloads with errors.
87 ## Type: QtColor
88 c.colors.downloads.error.bg = nord['nord11']
89
90 ## Foreground color for downloads with errors.
91 ## Type: QtColor
92 c.colors.downloads.error.fg = nord['nord5']
93
94 ## Color gradient stop for download backgrounds.
95 ## Type: QtColor
96 c.colors.downloads.stop.bg = nord['nord15']
97
98 ## Color gradient interpolation system for download backgrounds.
99 ## Type: ColorSystem
100 ## Valid values:
101 ## - rgb: Interpolate in the RGB color system.
102 ## - hsv: Interpolate in the HSV color system.
103 ## - hsl: Interpolate in the HSL color system.
104 ## - none: Don't show a gradient.
105 c.colors.downloads.system.bg = 'none'
106
107 ## Background color for hints. Note that you can use a `rgba(...)` value
108 ## for transparency.
109 ## Type: QssColor
110 c.colors.hints.bg = nord['nord13']
111
112 ## Font color for hints.
113 ## Type: QssColor
114 c.colors.hints.fg = nord['nord0']
115
116 ## Font color for the matched part of hints.
117 ## Type: QssColor
118 c.colors.hints.match.fg = nord['nord10']
119
120 ## Background color of the keyhint widget.
121 ## Type: QssColor
122 c.colors.keyhint.bg = nord['nord1']
123
124 ## Text color for the keyhint widget.
125 ## Type: QssColor
126 c.colors.keyhint.fg = nord['nord5']
127
128 ## Highlight color for keys to complete the current keychain.
129 ## Type: QssColor
130 c.colors.keyhint.suffix.fg = nord['nord13']
131
132 ## Background color of an error message.
133 ## Type: QssColor
134 c.colors.messages.error.bg = nord['nord11']
135
136 ## Border color of an error message.
137 ## Type: QssColor
138 c.colors.messages.error.border = nord['nord11']
139
140 ## Foreground color of an error message.
141 ## Type: QssColor
142 c.colors.messages.error.fg = nord['nord5']
143
144 ## Background color of an info message.
145 ## Type: QssColor
146 c.colors.messages.info.bg = nord['nord8']
147
148 ## Border color of an info message.
149 ## Type: QssColor
150 c.colors.messages.info.border = nord['nord8']
151
152 ## Foreground color an info message.
153 ## Type: QssColor
154 c.colors.messages.info.fg = nord['nord5']
155
156 ## Background color of a warning message.
157 ## Type: QssColor
158 c.colors.messages.warning.bg = nord['nord12']
159
160 ## Border color of a warning message.
161 ## Type: QssColor
162 c.colors.messages.warning.border = nord['nord12']
163
164 ## Foreground color a warning message.
165 ## Type: QssColor
166 c.colors.messages.warning.fg = nord['nord5']
167
168 ## Background color for prompts.
169 ## Type: QssColor
170 c.colors.prompts.bg = nord['nord2']
171
172 # ## Border used around UI elements in prompts.
173 # ## Type: String
174 c.colors.prompts.border = '1px solid ' + nord['nord0']
175
176 ## Foreground color for prompts.
177 ## Type: QssColor
178 c.colors.prompts.fg = nord['nord5']
179
180 ## Background color for the selected item in filename prompts.
181 ## Type: QssColor
182 c.colors.prompts.selected.bg = nord['nord3']
183
184 ## Background color of the statusbar in caret mode.
185 ## Type: QssColor
186 c.colors.statusbar.caret.bg = nord['nord15']
187
188 ## Foreground color of the statusbar in caret mode.
189 ## Type: QssColor
190 c.colors.statusbar.caret.fg = nord['nord5']
191
192 ## Background color of the statusbar in caret mode with a selection.
193 ## Type: QssColor
194 c.colors.statusbar.caret.selection.bg = nord['nord15']
195
196 ## Foreground color of the statusbar in caret mode with a selection.
197 ## Type: QssColor
198 c.colors.statusbar.caret.selection.fg = nord['nord5']
199
200 ## Background color of the statusbar in command mode.
201 ## Type: QssColor
202 c.colors.statusbar.command.bg = nord['nord2']
203
204 ## Foreground color of the statusbar in command mode.
205 ## Type: QssColor
206 c.colors.statusbar.command.fg = nord['nord5']
207
208 ## Background color of the statusbar in private browsing + command mode.
209 ## Type: QssColor
210 c.colors.statusbar.command.private.bg = nord['nord2']
211
212 ## Foreground color of the statusbar in private browsing + command mode.
213 ## Type: QssColor
214 c.colors.statusbar.command.private.fg = nord['nord5']
215
216 ## Background color of the statusbar in insert mode.
217 ## Type: QssColor
218 c.colors.statusbar.insert.bg = nord['nord14']
219
220 ## Foreground color of the statusbar in insert mode.
221 ## Type: QssColor
222 c.colors.statusbar.insert.fg = nord['nord1']
223
224 ## Background color of the statusbar.
225 ## Type: QssColor
226 c.colors.statusbar.normal.bg = nord['nord0']
227
228 ## Foreground color of the statusbar.
229 ## Type: QssColor
230 c.colors.statusbar.normal.fg = nord['nord5']
231
232 ## Background color of the statusbar in passthrough mode.
233 ## Type: QssColor
234 c.colors.statusbar.passthrough.bg = nord['nord10']
235
236 ## Foreground color of the statusbar in passthrough mode.
237 ## Type: QssColor
238 c.colors.statusbar.passthrough.fg = nord['nord5']
239
240 ## Background color of the statusbar in private browsing mode.
241 ## Type: QssColor
242 c.colors.statusbar.private.bg = nord['nord3']
243
244 ## Foreground color of the statusbar in private browsing mode.
245 ## Type: QssColor
246 c.colors.statusbar.private.fg = nord['nord5']
247
248 ## Background color of the progress bar.
249 ## Type: QssColor
250 c.colors.statusbar.progress.bg = nord['nord5']
251
252 ## Foreground color of the URL in the statusbar on error.
253 ## Type: QssColor
254 c.colors.statusbar.url.error.fg = nord['nord11']
255
256 ## Default foreground color of the URL in the statusbar.
257 ## Type: QssColor
258 c.colors.statusbar.url.fg = nord['nord5']
259
260 ## Foreground color of the URL in the statusbar for hovered links.
261 ## Type: QssColor
262 c.colors.statusbar.url.hover.fg = nord['nord8']
263
264 ## Foreground color of the URL in the statusbar on successful load
265 ## (http).
266 ## Type: QssColor
267 c.colors.statusbar.url.success.http.fg = nord['nord5']
268
269 ## Foreground color of the URL in the statusbar on successful load
270 ## (https).
271 ## Type: QssColor
272 c.colors.statusbar.url.success.https.fg = nord['nord14']
273
274 ## Foreground color of the URL in the statusbar when there's a warning.
275 ## Type: QssColor
276 c.colors.statusbar.url.warn.fg = nord['nord12']
277
278 ## Background color of the tab bar.
279 ## Type: QtColor
280 c.colors.tabs.bar.bg = nord['nord3']
281
282 ## Background color of unselected even tabs.
283 ## Type: QtColor
284 c.colors.tabs.even.bg = nord['nord3']
285
286 ## Foreground color of unselected even tabs.
287 ## Type: QtColor
288 c.colors.tabs.even.fg = nord['nord5']
289
290 ## Color for the tab indicator on errors.
291 ## Type: QtColor
292 c.colors.tabs.indicator.error = nord['nord11']
293
294 ## Color gradient start for the tab indicator.
295 ## Type: QtColor
296 # c.colors.tabs.indicator.start = nord['violet']
297
298 ## Color gradient end for the tab indicator.
299 ## Type: QtColor
300 # c.colors.tabs.indicator.stop = nord['orange']
301
302 ## Color gradient interpolation system for the tab indicator.
303 ## Type: ColorSystem
304 ## Valid values:
305 ## - rgb: Interpolate in the RGB color system.
306 ## - hsv: Interpolate in the HSV color system.
307 ## - hsl: Interpolate in the HSL color system.
308 ## - none: Don't show a gradient.
309 c.colors.tabs.indicator.system = 'none'
310
311 ## Background color of unselected odd tabs.
312 ## Type: QtColor
313 c.colors.tabs.odd.bg = nord['nord3']
314
315 ## Foreground color of unselected odd tabs.
316 ## Type: QtColor
317 c.colors.tabs.odd.fg = nord['nord5']
318
319 # ## Background color of selected even tabs.
320 # ## Type: QtColor
321 c.colors.tabs.selected.even.bg = nord['nord0']
322
323 # ## Foreground color of selected even tabs.
324 # ## Type: QtColor
325 c.colors.tabs.selected.even.fg = nord['nord5']
326
327 # ## Background color of selected odd tabs.
328 # ## Type: QtColor
329 c.colors.tabs.selected.odd.bg = nord['nord0']
330
331 # ## Foreground color of selected odd tabs.
332 # ## Type: QtColor
333 c.colors.tabs.selected.odd.fg = nord['nord5']
334
335 ## Background color for webpages if unset (or empty to use the theme's
336 ## color)
337 ## Type: QtColor
338 # c.colors.webpage.bg = 'white'