]> git.rmz.io Git - dotfiles.git/blobdiff - qutebrowser/themes/nord-qutebrowser.py
nvim: add FPP copyright snippet
[dotfiles.git] / qutebrowser / themes / nord-qutebrowser.py
index f20e64402ae79b619c34d02b1656794098e4be49..62a86d97fb789838dde6666b784a4f14bddb42f0 100644 (file)
@@ -1,3 +1,10 @@
+# noqa: D100
+from qutebrowser.config.configfiles import ConfigAPI
+from qutebrowser.config.config import ConfigContainer
+
+c: ConfigContainer = c      # noqa: F821 pylint: disable=E0602,C0103
+config: ConfigAPI = config  # noqa: F821 pylint: disable=E0602,C0103
+
 # https://github.com/Linuus/nord-qutebrowser
 
 nord = {
 # https://github.com/Linuus/nord-qutebrowser
 
 nord = {
@@ -25,7 +32,7 @@ nord = {
 
 ## Background color of the completion widget category headers.
 ## Type: QssColor
 
 ## Background color of the completion widget category headers.
 ## Type: QssColor
-c.colors.completion.category.bg = nord['nord0']
+c.colors.completion.category.bg = 'qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 '+nord['nord1']+', stop:1 '+nord['nord0']+')'
 
 ## Bottom border color of the completion widget category headers.
 ## Type: QssColor
 
 ## Bottom border color of the completion widget category headers.
 ## Type: QssColor
@@ -33,7 +40,7 @@ c.colors.completion.category.border.bottom = nord['nord0']
 
 ## Top border color of the completion widget category headers.
 ## Type: QssColor
 
 ## Top border color of the completion widget category headers.
 ## Type: QssColor
-c.colors.completion.category.border.top = nord['nord0']
+c.colors.completion.category.border.top = nord['nord1']
 
 ## Foreground color of completion widget category headers.
 ## Type: QtColor
 
 ## Foreground color of completion widget category headers.
 ## Type: QtColor
@@ -136,7 +143,7 @@ c.colors.downloads.start.fg = nord['nord2']
 
 ## Color gradient stop for download backgrounds.
 ## Type: QtColor
 
 ## Color gradient stop for download backgrounds.
 ## Type: QtColor
-c.colors.downloads.stop.bg = nord['nord15']
+c.colors.downloads.stop.bg = nord['nord14']
 
 ## Color gradient end for download text.
 ## Type: QtColor
 
 ## Color gradient end for download text.
 ## Type: QtColor
@@ -149,7 +156,7 @@ c.colors.downloads.stop.fg = nord['nord2']
 ##   - hsv: Interpolate in the HSV color system.
 ##   - hsl: Interpolate in the HSL color system.
 ##   - none: Don't show a gradient.
 ##   - hsv: Interpolate in the HSV color system.
 ##   - hsl: Interpolate in the HSL color system.
 ##   - none: Don't show a gradient.
-c.colors.downloads.system.bg = 'none'
+c.colors.downloads.system.bg = 'hsv'
 
 ## Color gradient interpolation system for download text.
 ## Type: ColorSystem
 
 ## Color gradient interpolation system for download text.
 ## Type: ColorSystem
@@ -163,6 +170,8 @@ c.colors.downloads.system.fg = "none"
 ## Background color for hints. Note that you can use a `rgba(...)` value
 ## for transparency.
 ## Type: QssColor
 ## Background color for hints. Note that you can use a `rgba(...)` value
 ## for transparency.
 ## Type: QssColor
+#TODO use gradient?
+# 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))'
 c.colors.hints.bg = nord['nord13']
 
 ## Font color for hints.
 c.colors.hints.bg = nord['nord13']
 
 ## Font color for hints.
@@ -237,6 +246,10 @@ c.colors.prompts.fg = nord['nord5']
 ## Type: QssColor
 c.colors.prompts.selected.bg = nord['nord3']
 
 ## Type: QssColor
 c.colors.prompts.selected.bg = nord['nord3']
 
+## Foreground color for the selected item in filename prompts.
+## Type: QssColor
+c.colors.prompts.selected.fg = nord['nord5']
+
 ## Background color of the statusbar in caret mode.
 ## Type: QssColor
 c.colors.statusbar.caret.bg = nord['nord15']
 ## Background color of the statusbar in caret mode.
 ## Type: QssColor
 c.colors.statusbar.caret.bg = nord['nord15']
@@ -271,11 +284,11 @@ c.colors.statusbar.command.private.fg = nord['nord5']
 
 ## Background color of the statusbar in insert mode.
 ## Type: QssColor
 
 ## Background color of the statusbar in insert mode.
 ## Type: QssColor
-c.colors.statusbar.insert.bg = nord['nord14']
+c.colors.statusbar.insert.bg = nord['nord3']
 
 ## Foreground color of the statusbar in insert mode.
 ## Type: QssColor
 
 ## Foreground color of the statusbar in insert mode.
 ## Type: QssColor
-c.colors.statusbar.insert.fg = nord['nord1']
+c.colors.statusbar.insert.fg = nord['nord6']
 
 ## Background color of the statusbar.
 ## Type: QssColor
 
 ## Background color of the statusbar.
 ## Type: QssColor
@@ -349,11 +362,11 @@ c.colors.tabs.indicator.error = nord['nord11']
 
 ## Color gradient start for the tab indicator.
 ## Type: QtColor
 
 ## Color gradient start for the tab indicator.
 ## Type: QtColor
-# c.colors.tabs.indicator.start = nord['violet']
+c.colors.tabs.indicator.start = nord['nord12']
 
 ## Color gradient end for the tab indicator.
 ## Type: QtColor
 
 ## Color gradient end for the tab indicator.
 ## Type: QtColor
-# c.colors.tabs.indicator.stop = nord['orange']
+c.colors.tabs.indicator.stop = nord['nord14']
 
 ## Color gradient interpolation system for the tab indicator.
 ## Type: ColorSystem
 
 ## Color gradient interpolation system for the tab indicator.
 ## Type: ColorSystem
@@ -362,7 +375,7 @@ c.colors.tabs.indicator.error = nord['nord11']
 ##   - hsv: Interpolate in the HSV color system.
 ##   - hsl: Interpolate in the HSL color system.
 ##   - none: Don't show a gradient.
 ##   - hsv: Interpolate in the HSV color system.
 ##   - hsl: Interpolate in the HSL color system.
 ##   - none: Don't show a gradient.
-c.colors.tabs.indicator.system = 'none'
+c.colors.tabs.indicator.system = 'hsv'
 
 ## Background color of unselected odd tabs.
 ## Type: QtColor
 
 ## Background color of unselected odd tabs.
 ## Type: QtColor
@@ -420,7 +433,15 @@ c.colors.tabs.selected.odd.bg = nord['nord0']
 ## Type: QtColor
 c.colors.tabs.selected.odd.fg = nord['nord5']
 
 ## Type: QtColor
 c.colors.tabs.selected.odd.fg = nord['nord5']
 
+## Background color of tooltips. If set to null, the Qt default is used.
+## Type: QssColor
+c.colors.tooltip.bg = None
+
+## Foreground color of tooltips. If set to null, the Qt default is used.
+## Type: QssColor
+c.colors.tooltip.fg = None
+
 ## Background color for webpages if unset (or empty to use the theme's
 ## color).
 ## Type: QtColor
 ## Background color for webpages if unset (or empty to use the theme's
 ## color).
 ## Type: QtColor
-# c.colors.webpage.bg = 'white'
+c.colors.webpage.bg = nord['nord4']