]> git.rmz.io Git - dotfiles.git/commitdiff
qutebrowser: update nord theme with new color configs
authorSamir Benmendil <me@rmz.io>
Sat, 30 Jan 2021 16:03:45 +0000 (16:03 +0000)
committerSamir Benmendil <me@rmz.io>
Sat, 30 Jan 2021 16:40:42 +0000 (16:40 +0000)
qutebrowser/themes/nord-qutebrowser.py

index 148a80aec8a3de69233d2bf9c0e21ca43ef84a70..f20e64402ae79b619c34d02b1656794098e4be49 100644 (file)
@@ -43,12 +43,9 @@ c.colors.completion.category.fg = nord['nord5']
 ## Type: QssColor
 c.colors.completion.even.bg = nord['nord1']
 
-## Background color of the completion widget for odd rows.
-## Type: QssColor
-c.colors.completion.odd.bg = nord['nord1']
-
-## Text color of the completion widget.
-## Type: QtColor
+## Text color of the completion widget. May be a single color to use for
+## all columns or a list of three colors, one for each column.
+## Type: List of QtColor, or QtColor
 c.colors.completion.fg = nord['nord4']
 
 ## Background color of the selected completion item.
@@ -59,7 +56,7 @@ c.colors.completion.item.selected.bg = nord['nord3']
 ## Type: QssColor
 c.colors.completion.item.selected.border.bottom = nord['nord3']
 
-## Top border color of the completion widget category headers.
+## Top border color of the selected completion item.
 ## Type: QssColor
 c.colors.completion.item.selected.border.top = nord['nord3']
 
@@ -67,18 +64,56 @@ c.colors.completion.item.selected.border.top = nord['nord3']
 ## Type: QtColor
 c.colors.completion.item.selected.fg = nord['nord6']
 
+## Foreground color of the matched text in the selected completion item.
+## Type: QtColor
+c.colors.completion.item.selected.match.fg = nord['nord13']
+
 ## Foreground color of the matched text in the completion.
-## Type: QssColor
+## Type: QtColor
 c.colors.completion.match.fg = nord['nord13']
 
-## Color of the scrollbar in completion view
+## Background color of the completion widget for odd rows.
+## Type: QssColor
+c.colors.completion.odd.bg = nord['nord2']
+
+## Color of the scrollbar in the completion view.
 ## Type: QssColor
 c.colors.completion.scrollbar.bg = nord['nord1']
 
-## Color of the scrollbar handle in completion view.
+## Color of the scrollbar handle in the completion view.
 ## Type: QssColor
 c.colors.completion.scrollbar.fg = nord['nord5']
 
+## Background color of disabled items in the context menu. If set to
+## null, the Qt default is used.
+## Type: QssColor
+c.colors.contextmenu.disabled.bg = nord['nord0']
+
+## Foreground color of disabled items in the context menu. If set to
+## null, the Qt default is used.
+## Type: QssColor
+c.colors.contextmenu.disabled.fg = nord['nord3']
+
+## Background color of the context menu. If set to null, the Qt default
+## is used.
+## Type: QssColor
+c.colors.contextmenu.menu.bg = nord['nord1']
+
+## Foreground color of the context menu. If set to null, the Qt default
+## is used.
+## Type: QssColor
+c.colors.contextmenu.menu.fg = nord['nord6']
+
+## Background color of the context menu's selected item. If set to null,
+## the Qt default is used.
+## Type: QssColor
+c.colors.contextmenu.selected.bg = nord['nord1']
+
+## Foreground color of the context menu's selected item. If set to null,
+## the Qt default is used.
+## Type: QssColor
+c.colors.contextmenu.selected.fg = nord['nord6']
+
 ## Background color for the download bar.
 ## Type: QssColor
 c.colors.downloads.bar.bg = nord['nord0']
@@ -91,10 +126,22 @@ c.colors.downloads.error.bg = nord['nord11']
 ## Type: QtColor
 c.colors.downloads.error.fg = nord['nord5']
 
+## Color gradient start for download backgrounds.
+## Type: QtColor
+c.colors.downloads.start.bg = nord['nord12']
+
+## Color gradient start for download text.
+## Type: QtColor
+c.colors.downloads.start.fg = nord['nord2']
+
 ## Color gradient stop for download backgrounds.
 ## Type: QtColor
 c.colors.downloads.stop.bg = nord['nord15']
 
+## Color gradient end for download text.
+## Type: QtColor
+c.colors.downloads.stop.fg = nord['nord2']
+
 ## Color gradient interpolation system for download backgrounds.
 ## Type: ColorSystem
 ## Valid values:
@@ -104,6 +151,15 @@ c.colors.downloads.stop.bg = nord['nord15']
 ##   - none: Don't show a gradient.
 c.colors.downloads.system.bg = 'none'
 
+## Color gradient interpolation system for download text.
+## Type: ColorSystem
+## Valid values:
+##   - rgb: Interpolate in the RGB color system.
+##   - hsv: Interpolate in the HSV color system.
+##   - hsl: Interpolate in the HSL color system.
+##   - none: Don't show a gradient.
+c.colors.downloads.system.fg = "none"
+
 ## Background color for hints. Note that you can use a `rgba(...)` value
 ## for transparency.
 ## Type: QssColor
@@ -114,7 +170,7 @@ c.colors.hints.bg = nord['nord13']
 c.colors.hints.fg = nord['nord0']
 
 ## Font color for the matched part of hints.
-## Type: QssColor
+## Type: QtColor
 c.colors.hints.match.fg = nord['nord10']
 
 ## Background color of the keyhint widget.
@@ -149,7 +205,7 @@ c.colors.messages.info.bg = nord['nord8']
 ## Type: QssColor
 c.colors.messages.info.border = nord['nord8']
 
-## Foreground color an info message.
+## Foreground color of an info message.
 ## Type: QssColor
 c.colors.messages.info.fg = nord['nord5']
 
@@ -161,7 +217,7 @@ c.colors.messages.warning.bg = nord['nord12']
 ## Type: QssColor
 c.colors.messages.warning.border = nord['nord12']
 
-## Foreground color a warning message.
+## Foreground color of a warning message.
 ## Type: QssColor
 c.colors.messages.warning.fg = nord['nord5']
 
@@ -169,8 +225,8 @@ c.colors.messages.warning.fg = nord['nord5']
 ## Type: QssColor
 c.colors.prompts.bg = nord['nord2']
 
-# ## Border used around UI elements in prompts.
-# ## Type: String
+## Border used around UI elements in prompts.
+## Type: String
 c.colors.prompts.border = '1px solid ' + nord['nord0']
 
 ## Foreground color for prompts.
@@ -276,7 +332,7 @@ c.colors.statusbar.url.success.https.fg = nord['nord14']
 c.colors.statusbar.url.warn.fg = nord['nord12']
 
 ## Background color of the tab bar.
-## Type: QtColor
+## Type: QssColor
 c.colors.tabs.bar.bg = nord['nord3']
 
 ## Background color of unselected even tabs.
@@ -316,23 +372,55 @@ c.colors.tabs.odd.bg = nord['nord3']
 ## Type: QtColor
 c.colors.tabs.odd.fg = nord['nord5']
 
-# ## Background color of selected even tabs.
-# ## Type: QtColor
+## Background color of pinned unselected even tabs.
+## Type: QtColor
+c.colors.tabs.pinned.even.bg = nord['nord10']
+
+## Foreground color of pinned unselected even tabs.
+## Type: QtColor
+c.colors.tabs.pinned.even.fg = nord['nord4']
+
+## Background color of pinned unselected odd tabs.
+## Type: QtColor
+c.colors.tabs.pinned.odd.bg = c.colors.tabs.pinned.even.bg
+
+## Foreground color of pinned unselected odd tabs.
+## Type: QtColor
+c.colors.tabs.pinned.odd.fg = c.colors.tabs.pinned.even.fg
+
+## Background color of pinned selected even tabs.
+## Type: QtColor
+c.colors.tabs.pinned.selected.even.bg = c.colors.tabs.selected.even.bg
+
+## Foreground color of pinned selected even tabs.
+## Type: QtColor
+c.colors.tabs.pinned.selected.even.fg = c.colors.tabs.selected.even.fg
+
+## Background color of pinned selected odd tabs.
+## Type: QtColor
+c.colors.tabs.pinned.selected.odd.bg = c.colors.tabs.selected.odd.bg
+
+## Foreground color of pinned selected odd tabs.
+## Type: QtColor
+c.colors.tabs.pinned.selected.odd.fg = c.colors.tabs.selected.odd.fg
+
+## Background color of selected even tabs.
+## Type: QtColor
 c.colors.tabs.selected.even.bg = nord['nord0']
 
-# ## Foreground color of selected even tabs.
-# ## Type: QtColor
+## Foreground color of selected even tabs.
+## Type: QtColor
 c.colors.tabs.selected.even.fg = nord['nord5']
 
-# ## Background color of selected odd tabs.
-# ## Type: QtColor
+## Background color of selected odd tabs.
+## Type: QtColor
 c.colors.tabs.selected.odd.bg = nord['nord0']
 
-# ## Foreground color of selected odd tabs.
-# ## Type: QtColor
+## Foreground color of selected odd tabs.
+## Type: QtColor
 c.colors.tabs.selected.odd.fg = nord['nord5']
 
 ## Background color for webpages if unset (or empty to use the theme's
-## color)
+## color).
 ## Type: QtColor
 # c.colors.webpage.bg = 'white'