From: Andre Ramnitz Date: Sat, 23 Dec 2023 13:48:29 +0000 (+0100) Subject: qutebrowser: use variables in color definitions X-Git-Tag: v0.2~281 X-Git-Url: https://git.ramnitz.eu/?a=commitdiff_plain;h=4b718b80288b88fe8fba06a8ec36d25a8abd60c7;p=dotfiles.git qutebrowser: use variables in color definitions --- diff --git a/config/qutebrowser/config.py b/config/qutebrowser/config.py index 5cb418b1..19a42a87 100644 --- a/config/qutebrowser/config.py +++ b/config/qutebrowser/config.py @@ -10,6 +10,24 @@ # qute://help/configuring.html # qute://help/settings.html +# some colors +base00 = "#222528" +base01 = "#3b4045" +base02 = "#7cafc2" +base03 = "#181818" +base04 = "#464a4f" +base05 = "#eff0f1" +base06 = "#fcfcfc" +base07 = "#2a2e32" +base08 = "#e4a944" +base09 = "#fdbc4b" +base0a = "#da4453" +base0b = "#1d99f3" +base0c = "#1cdc9a" +base0d = "#a87cc2" +base0e = "#c2927c" +base0f = "#7cc28f" + # Change the argument to True to still load settings configured via autoconfig.yml config.load_autoconfig(False) @@ -732,244 +750,244 @@ c.zoom.mouse_divider = 1024 # 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 = '#eff0f1' +c.colors.completion.fg = base05 # Background color of the completion widget for odd rows. # Type: QssColor -c.colors.completion.odd.bg = '#3b4045' +c.colors.completion.odd.bg = base01 # Background color of the completion widget for even rows. # Type: QssColor -c.colors.completion.even.bg = '#2a2e32' +c.colors.completion.even.bg = base00 # Foreground color of completion widget category headers. # Type: QtColor -c.colors.completion.category.fg = '#1d99f3' +c.colors.completion.category.fg = base0b # Background color of the completion widget category headers. # Type: QssColor -c.colors.completion.category.bg = '#2a2e32' +c.colors.completion.category.bg = base00 # Top border color of the completion widget category headers. # Type: QssColor -c.colors.completion.category.border.top = '#2a2e32' +c.colors.completion.category.border.top = base00 # Bottom border color of the completion widget category headers. # Type: QssColor -c.colors.completion.category.border.bottom = '#2a2e32' +c.colors.completion.category.border.bottom = base00 # Foreground color of the selected completion item. # Type: QtColor -c.colors.completion.item.selected.fg = '#fcfcfc' +c.colors.completion.item.selected.fg = base06 # Background color of the selected completion item. # Type: QssColor -c.colors.completion.item.selected.bg = '#1d99f3' +c.colors.completion.item.selected.bg = base0b # Top border color of the selected completion item. # Type: QssColor -c.colors.completion.item.selected.border.top = '#3b4045' +c.colors.completion.item.selected.border.top = base08 # Bottom border color of the selected completion item. # Type: QssColor -c.colors.completion.item.selected.border.bottom = '#3b4045' +c.colors.completion.item.selected.border.bottom = base08 # Foreground color of the matched text in the selected completion item. # Type: QtColor -c.colors.completion.item.selected.match.fg = '#3b4045' +c.colors.completion.item.selected.match.fg = base08 # Foreground color of the matched text in the completion. # Type: QtColor -c.colors.completion.match.fg = '#fdbc4b' +c.colors.completion.match.fg = base09 # Color of the scrollbar handle in the completion view. # Type: QssColor -c.colors.completion.scrollbar.fg = '#9b59b6' +c.colors.completion.scrollbar.fg = base0e # Color of the scrollbar in the completion view. # Type: QssColor -c.colors.completion.scrollbar.bg = '#2a2e32' +c.colors.completion.scrollbar.bg = base00 # Background color for the download bar. # Type: QssColor -c.colors.downloads.bar.bg = '#2a2e32' +c.colors.downloads.bar.bg = base00 # Color gradient start for download text. # Type: QtColor -c.colors.downloads.start.fg = '#2a2e32' +c.colors.downloads.start.fg = base00 # Color gradient start for download backgrounds. # Type: QtColor -c.colors.downloads.start.bg = '#9b59b6' +c.colors.downloads.start.bg = base0b # Color gradient end for download text. # Type: QtColor -c.colors.downloads.stop.fg = '#2a2e32' +c.colors.downloads.stop.fg = base00 # Color gradient stop for download backgrounds. # Type: QtColor -c.colors.downloads.stop.bg = '#1d99f3' +c.colors.downloads.stop.bg = base0c # Foreground color for downloads with errors. # Type: QtColor -c.colors.downloads.error.fg = '#27ae60' +c.colors.downloads.error.fg = base00 # Background color for downloads with errors. # Type: QtColor -c.colors.downloads.error.bg = '#2a2e32' +c.colors.downloads.error.bg = base0a # Font color for hints. # Type: QssColor -c.colors.hints.fg = '#fdbc4b' +c.colors.hints.fg = base09 # Background color for hints. Note that you can use a `rgba(...)` value # for transparency. # Type: QssColor -c.colors.hints.bg = '#4d4d4d' +c.colors.hints.bg = base04 # Font color for the matched part of hints. # Type: QtColor -c.colors.hints.match.fg = '#9b59b6' +c.colors.hints.match.fg = base0b # Text color for the keyhint widget. # Type: QssColor -c.colors.keyhint.fg = '#9b59b6' +c.colors.keyhint.fg = base06 # Highlight color for keys to complete the current keychain. # Type: QssColor -c.colors.keyhint.suffix.fg = '#9b59b6' +c.colors.keyhint.suffix.fg = base05 # Background color of the keyhint widget. # Type: QssColor -c.colors.keyhint.bg = '#2a2e32' +c.colors.keyhint.bg = base00 # Foreground color of an error message. # Type: QssColor -c.colors.messages.error.fg = '#2a2e32' +c.colors.messages.error.fg = base00 # Background color of an error message. # Type: QssColor -c.colors.messages.error.bg = '#da4453' +c.colors.messages.error.bg = base0a # Border color of an error message. # Type: QssColor -c.colors.messages.error.border = '#da4453' +c.colors.messages.error.border = base0a # Foreground color of a warning message. # Type: QssColor -c.colors.messages.warning.fg = '#da4453' +c.colors.messages.warning.fg = base0a # Background color of a warning message. # Type: QssColor -c.colors.messages.warning.bg = '#fdbc4b' +c.colors.messages.warning.bg = base09 # Border color of a warning message. # Type: QssColor -c.colors.messages.warning.border = '#fdbc4b' +c.colors.messages.warning.border = base09 # Foreground color of an info message. # Type: QssColor -c.colors.messages.info.fg = '#fcfcfc' +c.colors.messages.info.fg = base0f # Background color of an info message. # Type: QssColor -c.colors.messages.info.bg = '#27ae60' +c.colors.messages.info.bg = base07 # Border color of an info message. # Type: QssColor -c.colors.messages.info.border = '#27ae60' +c.colors.messages.info.border = base03 # Foreground color for prompts. # Type: QssColor -c.colors.prompts.fg = '#9b59b6' +c.colors.prompts.fg = base0e # Border used around UI elements in prompts. # Type: String -c.colors.prompts.border = '#2a2e32' +c.colors.prompts.border = base03 # Background color for prompts. # Type: QssColor -c.colors.prompts.bg = '#2a2e32' +c.colors.prompts.bg = base00 # Background color for the selected item in filename prompts. # Type: QssColor -c.colors.prompts.selected.bg = '#3b4045' +c.colors.prompts.selected.bg = base08 # Foreground color of the statusbar. # Type: QssColor -c.colors.statusbar.normal.fg = '#fdbc4b' +c.colors.statusbar.normal.fg = base09 # Background color of the statusbar. # Type: QssColor -c.colors.statusbar.normal.bg = '#2a2e32' +c.colors.statusbar.normal.bg = base00 # Foreground color of the statusbar in insert mode. # Type: QssColor -c.colors.statusbar.insert.fg = '#2a2e32' +c.colors.statusbar.insert.fg = base00 # Background color of the statusbar in insert mode. # Type: QssColor -c.colors.statusbar.insert.bg = '#9b59b6' +c.colors.statusbar.insert.bg = base0d # Foreground color of the statusbar in passthrough mode. # Type: QssColor -c.colors.statusbar.passthrough.fg = '#2a2e32' +c.colors.statusbar.passthrough.fg = base00 # Background color of the statusbar in passthrough mode. # Type: QssColor -c.colors.statusbar.passthrough.bg = '#1d99f3' +c.colors.statusbar.passthrough.bg = base0b # Foreground color of the statusbar in private browsing mode. # Type: QssColor -c.colors.statusbar.private.fg = '#9b59b6' +c.colors.statusbar.private.fg = base0d # Background color of the statusbar in private browsing mode. # Type: QssColor -c.colors.statusbar.private.bg = '#2a2e32' +c.colors.statusbar.private.bg = base00 # Foreground color of the statusbar in command mode. # Type: QssColor -c.colors.statusbar.command.fg = '#fcfcfc' +c.colors.statusbar.command.fg = base06 # Background color of the statusbar in command mode. # Type: QssColor -c.colors.statusbar.command.bg = '#1d99f3' +c.colors.statusbar.command.bg = base0b # Foreground color of the statusbar in private browsing + command mode. # Type: QssColor -c.colors.statusbar.command.private.fg = '#9b59b6' +c.colors.statusbar.command.private.fg = base0d # Background color of the statusbar in private browsing + command mode. # Type: QssColor -c.colors.statusbar.command.private.bg = '#2a2e32' +c.colors.statusbar.command.private.bg = base00 # Foreground color of the statusbar in caret mode. # Type: QssColor -c.colors.statusbar.caret.fg = '#2a2e32' +c.colors.statusbar.caret.fg = base00 # Background color of the statusbar in caret mode. # Type: QssColor -c.colors.statusbar.caret.bg = '#1cdc9a' +c.colors.statusbar.caret.bg = base0c # Foreground color of the statusbar in caret mode with a selection. # Type: QssColor -c.colors.statusbar.caret.selection.fg = '#2a2e32' +c.colors.statusbar.caret.selection.fg = base00 # Background color of the statusbar in caret mode with a selection. # Type: QssColor -c.colors.statusbar.caret.selection.bg = '#9b59b6' +c.colors.statusbar.caret.selection.bg = base07 # Background color of the progress bar. # Type: QssColor -c.colors.statusbar.progress.bg = '#fdbc4b' +c.colors.statusbar.progress.bg = base09 # Default foreground color of the URL in the statusbar. # Type: QssColor -c.colors.statusbar.url.fg = '#9b59b6' +c.colors.statusbar.url.fg = base0e # Foreground color of the URL in the statusbar on error. # Type: QssColor -c.colors.statusbar.url.error.fg = '#3b4045' +c.colors.statusbar.url.error.fg = base08 # Foreground color of the URL in the statusbar for hovered links. # Type: QssColor @@ -978,32 +996,32 @@ c.colors.statusbar.url.hover.fg = '#9b59b6' # Foreground color of the URL in the statusbar on successful load # (http). # Type: QssColor -c.colors.statusbar.url.success.http.fg = '#1d99f3' +c.colors.statusbar.url.success.http.fg = base0b # Foreground color of the URL in the statusbar on successful load # (https). # Type: QssColor -c.colors.statusbar.url.success.https.fg = '#fcfcfc' +c.colors.statusbar.url.success.https.fg = base06 # Foreground color of the URL in the statusbar when there's a warning. # Type: QssColor -c.colors.statusbar.url.warn.fg = '#da4453' +c.colors.statusbar.url.warn.fg = base0a # Background color of the tab bar. # Type: QssColor -c.colors.tabs.bar.bg = '#2a2e32' +c.colors.tabs.bar.bg = base00 # Color gradient start for the tab indicator. # Type: QtColor -c.colors.tabs.indicator.start = '#fdbc4b' +c.colors.tabs.indicator.start = base0b # Color gradient end for the tab indicator. # Type: QtColor -c.colors.tabs.indicator.stop = '#27ae60' +c.colors.tabs.indicator.stop = base0c # Color for the tab indicator on errors. # Type: QtColor -c.colors.tabs.indicator.error = '#da4453' +c.colors.tabs.indicator.error = base0a # Color gradient interpolation system for the tab indicator. # Type: ColorSystem @@ -1016,67 +1034,67 @@ c.colors.tabs.indicator.system = 'rgb' # Foreground color of unselected odd tabs. # Type: QtColor -c.colors.tabs.odd.fg = '#eff0f1' +c.colors.tabs.odd.fg = base05 # Background color of unselected odd tabs. # Type: QtColor -c.colors.tabs.odd.bg = '#3b4045' +c.colors.tabs.odd.bg = base01 # Foreground color of unselected even tabs. # Type: QtColor -c.colors.tabs.even.fg = '#eff0f1' +c.colors.tabs.even.fg = base05 # Background color of unselected even tabs. # Type: QtColor -c.colors.tabs.even.bg = '#464a4f' +c.colors.tabs.even.bg = base04 # Foreground color of selected odd tabs. # Type: QtColor -c.colors.tabs.selected.odd.fg = '#181818' +c.colors.tabs.selected.odd.fg = base03 # Background color of selected odd tabs. # Type: QtColor -c.colors.tabs.selected.odd.bg = '#7CAFC2' +c.colors.tabs.selected.odd.bg = base02 # Foreground color of selected even tabs. # Type: QtColor -c.colors.tabs.selected.even.fg = '#181818' +c.colors.tabs.selected.even.fg = base03 # Background color of selected even tabs. # Type: QtColor -c.colors.tabs.selected.even.bg = '#7CAFC2' +c.colors.tabs.selected.even.bg = base02 # Foreground color of pinned unselected odd tabs. # Type: QtColor -c.colors.tabs.pinned.odd.fg = '#4a4d4f' +c.colors.tabs.pinned.odd.fg = base04 # Background color of pinned unselected odd tabs. # Type: QtColor -c.colors.tabs.pinned.odd.bg = '#fdbc4b' +c.colors.tabs.pinned.odd.bg = base09 # Foreground color of pinned unselected even tabs. # Type: QtColor -c.colors.tabs.pinned.even.fg = '#4a4d4f' +c.colors.tabs.pinned.even.fg = base04 # Background color of pinned unselected even tabs. # Type: QtColor -c.colors.tabs.pinned.even.bg = '#e4a944' +c.colors.tabs.pinned.even.bg = base08 # Foreground color of pinned selected odd tabs. # Type: QtColor -c.colors.tabs.pinned.selected.odd.fg = '#000000' +c.colors.tabs.pinned.selected.odd.fg = base03 # Background color of pinned selected odd tabs. # Type: QtColor -c.colors.tabs.pinned.selected.odd.bg = '#fdbc4b' +c.colors.tabs.pinned.selected.odd.bg = base09 # Foreground color of pinned selected even tabs. # Type: QtColor -c.colors.tabs.pinned.selected.even.fg = '#000000' +c.colors.tabs.pinned.selected.even.fg = base03 # Background color of pinned selected even tabs. # Type: QtColor -c.colors.tabs.pinned.selected.even.bg = '#e4a944' +c.colors.tabs.pinned.selected.even.bg = base08 # Background color for webpages if unset (or empty to use the theme's # color). @@ -1101,7 +1119,7 @@ c.colors.webpage.darkmode.enabled = False # font setting, it's replaced with the fonts listed here. If set to an # empty value, a system-specific monospace default is used. # Type: List of Font, or Font -c.fonts.default_family = '12pt LiterationMono Nerd Font' +c.fonts.default_family = '12pt BlexMono Nerd Font' # Default font size to use. Whenever "default_size" is used in a font # setting, it's replaced with the size listed here. Valid values are @@ -1112,20 +1130,20 @@ c.fonts.default_size = '12pt' # Font used in the completion widget. # Type: Font -c.fonts.completion.entry = '12pt LiterationMono\\ Nerd\\ Font' +c.fonts.completion.entry = '12pt BlexMono\\ Nerd\\ Font' # Font used in the completion categories. # Type: Font -c.fonts.completion.category = 'bold 12pt LiterationMono\\ Nerd\\ Font' +c.fonts.completion.category = 'bold 12pt BlexMono\\ Nerd\\ Font' # Font used for tooltips. If set to null, the Qt default is used. # Type: Font -c.fonts.tooltip = '12pt LiterationMono Nerd Font' +c.fonts.tooltip = '12pt BlexMono Nerd Font' # Font used for the context menu. If set to null, the Qt default is # used. # Type: Font -c.fonts.contextmenu = '12pt LiterationMono Nerd Font' +c.fonts.contextmenu = '12pt BlexMono Nerd Font' # Font used for the debugging console. # Type: Font @@ -1133,59 +1151,59 @@ c.fonts.debug_console = 'default_size default_family' # Font used for the downloadbar. # Type: Font -c.fonts.downloads = '12pt LiterationMono\\ Nerd\\ Font' +c.fonts.downloads = '12pt BlexMono\\ Nerd\\ Font' # Font used for the hints. # Type: Font -c.fonts.hints = 'bold 12pt LiterationMono\\ Nerd\\ Font' +c.fonts.hints = 'bold 12pt BlexMono\\ Nerd\\ Font' # Font used in the keyhint widget. # Type: Font -c.fonts.keyhint = '12pt LiterationMono\\ Nerd\\ Font' +c.fonts.keyhint = '12pt BlexMono\\ Nerd\\ Font' # Font used for error messages. # Type: Font -c.fonts.messages.error = '12pt LiterationMono\\ Nerd\\ Font' +c.fonts.messages.error = '12pt BlexMono\\ Nerd\\ Font' # Font used for info messages. # Type: Font -c.fonts.messages.info = '12pt LiterationMono\\ Nerd\\ Font' +c.fonts.messages.info = '12pt BlexMono\\ Nerd\\ Font' # Font used for warning messages. # Type: Font -c.fonts.messages.warning = '12pt LiterationMono\\ Nerd\\ Font' +c.fonts.messages.warning = '12pt BlexMono\\ Nerd\\ Font' # Font used for prompts. # Type: Font -c.fonts.prompts = '12pt LiterationMono\\ Nerd\\ Font' +c.fonts.prompts = '12pt BlexMono\\ Nerd\\ Font' # Font used in the statusbar. # Type: Font -c.fonts.statusbar = '12pt LiterationMono\\ Nerd\\ Font' +c.fonts.statusbar = '12pt BlexMono\\ Nerd\\ Font' # Font used for selected tabs. # Type: Font -c.fonts.tabs.selected = '12pt LiterationMono\\ Nerd\\ Font' +c.fonts.tabs.selected = '12pt BlexMono\\ Nerd\\ Font' # Font used for unselected tabs. # Type: Font -c.fonts.tabs.unselected = '12pt LiterationMono\\ Nerd\\ Font' +c.fonts.tabs.unselected = '12pt BlexMono\\ Nerd\\ Font' # Font family for standard fonts. # Type: FontFamily -c.fonts.web.family.standard = 'Noto Sans' +c.fonts.web.family.standard = 'BlexMono Nerd Font Propo' # Font family for fixed fonts. # Type: FontFamily -c.fonts.web.family.fixed = 'LiterationMono Nerd Font' +c.fonts.web.family.fixed = 'BlexMono Nerd Font' # Font family for serif fonts. # Type: FontFamily -c.fonts.web.family.serif = 'Noto Serif' +c.fonts.web.family.serif = 'IBM Plex Serif' # Font family for sans-serif fonts. # Type: FontFamily -c.fonts.web.family.sans_serif = 'Noto Sans' +c.fonts.web.family.sans_serif = 'IBM Plex Sans' # Font family for cursive fonts. # Type: FontFamily