]>
git.rmz.io Git - dotfiles.git/blob - qutebrowser/themes/nord-qutebrowser.py
2 from qutebrowser
.config
.configfiles
import ConfigAPI
3 from qutebrowser
.config
.config
import ConfigContainer
5 c
: ConfigContainer
= c
# noqa: F821 pylint: disable=E0602,C0103
6 config
: ConfigAPI
= config
# noqa: F821 pylint: disable=E0602,C0103
8 # https://github.com/Linuus/nord-qutebrowser
33 ## Background color of the completion widget category headers.
35 c
.colors
.completion
.category
.bg
= 'qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 '+nord
['nord1']+', stop:1 '+nord
['nord0']+')'
37 ## Bottom border color of the completion widget category headers.
39 c
.colors
.completion
.category
.border
.bottom
= nord
['nord0']
41 ## Top border color of the completion widget category headers.
43 c
.colors
.completion
.category
.border
.top
= nord
['nord1']
45 ## Foreground color of completion widget category headers.
47 c
.colors
.completion
.category
.fg
= nord
['nord5']
49 ## Background color of the completion widget for even rows.
51 c
.colors
.completion
.even
.bg
= nord
['nord1']
53 ## Text color of the completion widget. May be a single color to use for
54 ## all columns or a list of three colors, one for each column.
55 ## Type: List of QtColor, or QtColor
56 c
.colors
.completion
.fg
= nord
['nord4']
58 ## Background color of the selected completion item.
60 c
.colors
.completion
.item
.selected
.bg
= nord
['nord3']
62 ## Bottom border color of the selected completion item.
64 c
.colors
.completion
.item
.selected
.border
.bottom
= nord
['nord3']
66 ## Top border color of the selected completion item.
68 c
.colors
.completion
.item
.selected
.border
.top
= nord
['nord3']
70 ## Foreground color of the selected completion item.
72 c
.colors
.completion
.item
.selected
.fg
= nord
['nord6']
74 ## Foreground color of the matched text in the selected completion item.
76 c
.colors
.completion
.item
.selected
.match
.fg
= nord
['nord13']
78 ## Foreground color of the matched text in the completion.
80 c
.colors
.completion
.match
.fg
= nord
['nord13']
82 ## Background color of the completion widget for odd rows.
84 c
.colors
.completion
.odd
.bg
= nord
['nord2']
86 ## Color of the scrollbar in the completion view.
88 c
.colors
.completion
.scrollbar
.bg
= nord
['nord1']
90 ## Color of the scrollbar handle in the completion view.
92 c
.colors
.completion
.scrollbar
.fg
= nord
['nord5']
94 ## Background color of disabled items in the context menu. If set to
95 ## null, the Qt default is used.
97 c
.colors
.contextmenu
.disabled
.bg
= nord
['nord0']
99 ## Foreground color of disabled items in the context menu. If set to
100 ## null, the Qt default is used.
102 c
.colors
.contextmenu
.disabled
.fg
= nord
['nord3']
104 ## Background color of the context menu. If set to null, the Qt default
107 c
.colors
.contextmenu
.menu
.bg
= nord
['nord1']
109 ## Foreground color of the context menu. If set to null, the Qt default
112 c
.colors
.contextmenu
.menu
.fg
= nord
['nord6']
114 ## Background color of the context menu's selected item. If set to null,
115 ## the Qt default is used.
117 c
.colors
.contextmenu
.selected
.bg
= nord
['nord1']
119 ## Foreground color of the context menu's selected item. If set to null,
120 ## the Qt default is used.
122 c
.colors
.contextmenu
.selected
.fg
= nord
['nord6']
124 ## Background color for the download bar.
126 c
.colors
.downloads
.bar
.bg
= nord
['nord0']
128 ## Background color for downloads with errors.
130 c
.colors
.downloads
.error
.bg
= nord
['nord11']
132 ## Foreground color for downloads with errors.
134 c
.colors
.downloads
.error
.fg
= nord
['nord5']
136 ## Color gradient start for download backgrounds.
138 c
.colors
.downloads
.start
.bg
= nord
['nord12']
140 ## Color gradient start for download text.
142 c
.colors
.downloads
.start
.fg
= nord
['nord2']
144 ## Color gradient stop for download backgrounds.
146 c
.colors
.downloads
.stop
.bg
= nord
['nord14']
148 ## Color gradient end for download text.
150 c
.colors
.downloads
.stop
.fg
= nord
['nord2']
152 ## Color gradient interpolation system for download backgrounds.
155 ## - rgb: Interpolate in the RGB color system.
156 ## - hsv: Interpolate in the HSV color system.
157 ## - hsl: Interpolate in the HSL color system.
158 ## - none: Don't show a gradient.
159 c
.colors
.downloads
.system
.bg
= 'hsv'
161 ## Color gradient interpolation system for download text.
164 ## - rgb: Interpolate in the RGB color system.
165 ## - hsv: Interpolate in the HSV color system.
166 ## - hsl: Interpolate in the HSL color system.
167 ## - none: Don't show a gradient.
168 c
.colors
.downloads
.system
.fg
= "none"
170 ## Background color for hints. Note that you can use a `rgba(...)` value
174 # 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))'
175 c
.colors
.hints
.bg
= nord
['nord13']
177 ## Font color for hints.
179 c
.colors
.hints
.fg
= nord
['nord0']
181 ## Font color for the matched part of hints.
183 c
.colors
.hints
.match
.fg
= nord
['nord10']
185 ## Background color of the keyhint widget.
187 c
.colors
.keyhint
.bg
= nord
['nord1']
189 ## Text color for the keyhint widget.
191 c
.colors
.keyhint
.fg
= nord
['nord5']
193 ## Highlight color for keys to complete the current keychain.
195 c
.colors
.keyhint
.suffix
.fg
= nord
['nord13']
197 ## Background color of an error message.
199 c
.colors
.messages
.error
.bg
= nord
['nord11']
201 ## Border color of an error message.
203 c
.colors
.messages
.error
.border
= nord
['nord11']
205 ## Foreground color of an error message.
207 c
.colors
.messages
.error
.fg
= nord
['nord5']
209 ## Background color of an info message.
211 c
.colors
.messages
.info
.bg
= nord
['nord8']
213 ## Border color of an info message.
215 c
.colors
.messages
.info
.border
= nord
['nord8']
217 ## Foreground color of an info message.
219 c
.colors
.messages
.info
.fg
= nord
['nord5']
221 ## Background color of a warning message.
223 c
.colors
.messages
.warning
.bg
= nord
['nord12']
225 ## Border color of a warning message.
227 c
.colors
.messages
.warning
.border
= nord
['nord12']
229 ## Foreground color of a warning message.
231 c
.colors
.messages
.warning
.fg
= nord
['nord5']
233 ## Background color for prompts.
235 c
.colors
.prompts
.bg
= nord
['nord2']
237 ## Border used around UI elements in prompts.
239 c
.colors
.prompts
.border
= '1px solid ' + nord
['nord0']
241 ## Foreground color for prompts.
243 c
.colors
.prompts
.fg
= nord
['nord5']
245 ## Background color for the selected item in filename prompts.
247 c
.colors
.prompts
.selected
.bg
= nord
['nord3']
249 ## Foreground color for the selected item in filename prompts.
251 c
.colors
.prompts
.selected
.fg
= nord
['nord5']
253 ## Background color of the statusbar in caret mode.
255 c
.colors
.statusbar
.caret
.bg
= nord
['nord15']
257 ## Foreground color of the statusbar in caret mode.
259 c
.colors
.statusbar
.caret
.fg
= nord
['nord5']
261 ## Background color of the statusbar in caret mode with a selection.
263 c
.colors
.statusbar
.caret
.selection
.bg
= nord
['nord15']
265 ## Foreground color of the statusbar in caret mode with a selection.
267 c
.colors
.statusbar
.caret
.selection
.fg
= nord
['nord5']
269 ## Background color of the statusbar in command mode.
271 c
.colors
.statusbar
.command
.bg
= nord
['nord2']
273 ## Foreground color of the statusbar in command mode.
275 c
.colors
.statusbar
.command
.fg
= nord
['nord5']
277 ## Background color of the statusbar in private browsing + command mode.
279 c
.colors
.statusbar
.command
.private
.bg
= nord
['nord2']
281 ## Foreground color of the statusbar in private browsing + command mode.
283 c
.colors
.statusbar
.command
.private
.fg
= nord
['nord5']
285 ## Background color of the statusbar in insert mode.
287 c
.colors
.statusbar
.insert
.bg
= nord
['nord3']
289 ## Foreground color of the statusbar in insert mode.
291 c
.colors
.statusbar
.insert
.fg
= nord
['nord6']
293 ## Background color of the statusbar.
295 c
.colors
.statusbar
.normal
.bg
= nord
['nord0']
297 ## Foreground color of the statusbar.
299 c
.colors
.statusbar
.normal
.fg
= nord
['nord5']
301 ## Background color of the statusbar in passthrough mode.
303 c
.colors
.statusbar
.passthrough
.bg
= nord
['nord10']
305 ## Foreground color of the statusbar in passthrough mode.
307 c
.colors
.statusbar
.passthrough
.fg
= nord
['nord5']
309 ## Background color of the statusbar in private browsing mode.
311 c
.colors
.statusbar
.private
.bg
= nord
['nord3']
313 ## Foreground color of the statusbar in private browsing mode.
315 c
.colors
.statusbar
.private
.fg
= nord
['nord5']
317 ## Background color of the progress bar.
319 c
.colors
.statusbar
.progress
.bg
= nord
['nord5']
321 ## Foreground color of the URL in the statusbar on error.
323 c
.colors
.statusbar
.url
.error
.fg
= nord
['nord11']
325 ## Default foreground color of the URL in the statusbar.
327 c
.colors
.statusbar
.url
.fg
= nord
['nord5']
329 ## Foreground color of the URL in the statusbar for hovered links.
331 c
.colors
.statusbar
.url
.hover
.fg
= nord
['nord8']
333 ## Foreground color of the URL in the statusbar on successful load
336 c
.colors
.statusbar
.url
.success
.http
.fg
= nord
['nord5']
338 ## Foreground color of the URL in the statusbar on successful load
341 c
.colors
.statusbar
.url
.success
.https
.fg
= nord
['nord14']
343 ## Foreground color of the URL in the statusbar when there's a warning.
345 c
.colors
.statusbar
.url
.warn
.fg
= nord
['nord12']
347 ## Background color of the tab bar.
349 c
.colors
.tabs
.bar
.bg
= nord
['nord3']
351 ## Background color of unselected even tabs.
353 c
.colors
.tabs
.even
.bg
= nord
['nord3']
355 ## Foreground color of unselected even tabs.
357 c
.colors
.tabs
.even
.fg
= nord
['nord5']
359 ## Color for the tab indicator on errors.
361 c
.colors
.tabs
.indicator
.error
= nord
['nord11']
363 ## Color gradient start for the tab indicator.
365 c
.colors
.tabs
.indicator
.start
= nord
['nord12']
367 ## Color gradient end for the tab indicator.
369 c
.colors
.tabs
.indicator
.stop
= nord
['nord14']
371 ## Color gradient interpolation system for the tab indicator.
374 ## - rgb: Interpolate in the RGB color system.
375 ## - hsv: Interpolate in the HSV color system.
376 ## - hsl: Interpolate in the HSL color system.
377 ## - none: Don't show a gradient.
378 c
.colors
.tabs
.indicator
.system
= 'hsv'
380 ## Background color of unselected odd tabs.
382 c
.colors
.tabs
.odd
.bg
= nord
['nord3']
384 ## Foreground color of unselected odd tabs.
386 c
.colors
.tabs
.odd
.fg
= nord
['nord5']
388 ## Background color of pinned unselected even tabs.
390 c
.colors
.tabs
.pinned
.even
.bg
= nord
['nord10']
392 ## Foreground color of pinned unselected even tabs.
394 c
.colors
.tabs
.pinned
.even
.fg
= nord
['nord4']
396 ## Background color of pinned unselected odd tabs.
398 c
.colors
.tabs
.pinned
.odd
.bg
= c
.colors
.tabs
.pinned
.even
.bg
400 ## Foreground color of pinned unselected odd tabs.
402 c
.colors
.tabs
.pinned
.odd
.fg
= c
.colors
.tabs
.pinned
.even
.fg
404 ## Background color of pinned selected even tabs.
406 c
.colors
.tabs
.pinned
.selected
.even
.bg
= c
.colors
.tabs
.selected
.even
.bg
408 ## Foreground color of pinned selected even tabs.
410 c
.colors
.tabs
.pinned
.selected
.even
.fg
= c
.colors
.tabs
.selected
.even
.fg
412 ## Background color of pinned selected odd tabs.
414 c
.colors
.tabs
.pinned
.selected
.odd
.bg
= c
.colors
.tabs
.selected
.odd
.bg
416 ## Foreground color of pinned selected odd tabs.
418 c
.colors
.tabs
.pinned
.selected
.odd
.fg
= c
.colors
.tabs
.selected
.odd
.fg
420 ## Background color of selected even tabs.
422 c
.colors
.tabs
.selected
.even
.bg
= nord
['nord0']
424 ## Foreground color of selected even tabs.
426 c
.colors
.tabs
.selected
.even
.fg
= nord
['nord5']
428 ## Background color of selected odd tabs.
430 c
.colors
.tabs
.selected
.odd
.bg
= nord
['nord0']
432 ## Foreground color of selected odd tabs.
434 c
.colors
.tabs
.selected
.odd
.fg
= nord
['nord5']
436 ## Background color of tooltips. If set to null, the Qt default is used.
438 c
.colors
.tooltip
.bg
= None
440 ## Foreground color of tooltips. If set to null, the Qt default is used.
442 c
.colors
.tooltip
.fg
= None
444 ## Background color for webpages if unset (or empty to use the theme's
447 c
.colors
.webpage
.bg
= nord
['nord4']