From: Andre Ramnitz Date: Sat, 14 Sep 2024 23:02:50 +0000 (+0200) Subject: qutebrowser: integrate base16 X-Git-Tag: v0.2~71^2~1 X-Git-Url: https://git.ramnitz.eu/?a=commitdiff_plain;h=9f0b0bc72eeae3db8a8e15011008a2c10a3b5949;p=dotfiles.git qutebrowser: integrate base16 --- diff --git a/config/dot-config/qutebrowser/config.py b/config/dot-config/qutebrowser/config.py index d37575c6..3615aefe 100644 --- a/config/dot-config/qutebrowser/config.py +++ b/config/dot-config/qutebrowser/config.py @@ -10,24 +10,6 @@ # 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) @@ -747,354 +729,311 @@ c.zoom.default = '123%' # Type: Int c.zoom.mouse_divider = 1024 + +# Start flavours +# base16-qutebrowser (https://github.com/theova/base16-qutebrowser) +# Scheme name: Ocean +# Scheme author: Chris Kempson (http://chriskempson.com) +# Template author: theova +# Commentary: Tinted Theming: (https://github.com/tinted-theming) + +base00 = "#2b303b" +base01 = "#343d46" +base02 = "#4f5b66" +base03 = "#65737e" +base04 = "#a7adba" +base05 = "#c0c5ce" +base06 = "#dfe1e8" +base07 = "#eff1f5" +base08 = "#bf616a" +base09 = "#d08770" +base0A = "#ebcb8b" +base0B = "#a3be8c" +base0C = "#96b5b4" +base0D = "#8fa1b3" +base0E = "#b48ead" +base0F = "#ab7967" + +# set qutebrowser colors + # 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 = base05 # Background color of the completion widget for odd rows. -# Type: QssColor -c.colors.completion.odd.bg = base01 +c.colors.completion.odd.bg = base00 # Background color of the completion widget for even rows. -# Type: QssColor c.colors.completion.even.bg = base00 # Foreground color of completion widget category headers. -# Type: QtColor -c.colors.completion.category.fg = base0b +c.colors.completion.category.fg = base0D # Background color of the completion widget category headers. -# Type: QssColor c.colors.completion.category.bg = base00 # Top border color of the completion widget category headers. -# Type: QssColor c.colors.completion.category.border.top = base00 # Bottom border color of the completion widget category headers. -# Type: QssColor c.colors.completion.category.border.bottom = base00 # Foreground color of the selected completion item. -# Type: QtColor c.colors.completion.item.selected.fg = base06 # Background color of the selected completion item. -# Type: QssColor -c.colors.completion.item.selected.bg = base0b +c.colors.completion.item.selected.bg = base07 # Top border color of the selected completion item. -# Type: QssColor -c.colors.completion.item.selected.border.top = base08 +c.colors.completion.item.selected.border.top = base02 # Bottom border color of the selected completion item. -# Type: QssColor -c.colors.completion.item.selected.border.bottom = base08 +c.colors.completion.item.selected.border.bottom = base02 # Foreground color of the matched text in the selected completion item. -# Type: QtColor -c.colors.completion.item.selected.match.fg = base08 +c.colors.completion.item.selected.match.fg = base05 # Foreground color of the matched text in the completion. -# Type: QtColor -c.colors.completion.match.fg = base09 +c.colors.completion.match.fg = base0C # Color of the scrollbar handle in the completion view. -# Type: QssColor -c.colors.completion.scrollbar.fg = base0e +c.colors.completion.scrollbar.fg = base05 # Color of the scrollbar in the completion view. -# Type: QssColor c.colors.completion.scrollbar.bg = base00 +# Background color of disabled items in the context menu. +c.colors.contextmenu.disabled.bg = base00 + +# Foreground color of disabled items in the context menu. +c.colors.contextmenu.disabled.fg = base04 + +# Background color of the context menu. If set to null, the Qt default is used. +c.colors.contextmenu.menu.bg = base00 + +# Foreground color of the context menu. If set to null, the Qt default is used. +c.colors.contextmenu.menu.fg = base05 + +# Background color of the context menu’s selected item. If set to null, the Qt default is used. +c.colors.contextmenu.selected.bg = base03 + +#Foreground color of the context menu’s selected item. If set to null, the Qt default is used. +c.colors.contextmenu.selected.fg = base05 + # Background color for the download bar. -# Type: QssColor c.colors.downloads.bar.bg = base00 # Color gradient start for download text. -# Type: QtColor c.colors.downloads.start.fg = base00 # Color gradient start for download backgrounds. -# Type: QtColor -c.colors.downloads.start.bg = base0b +c.colors.downloads.start.bg = base0D # Color gradient end for download text. -# Type: QtColor c.colors.downloads.stop.fg = base00 # Color gradient stop for download backgrounds. -# Type: QtColor -c.colors.downloads.stop.bg = base0c +c.colors.downloads.stop.bg = base0C # Foreground color for downloads with errors. -# Type: QtColor -c.colors.downloads.error.fg = base00 - -# Background color for downloads with errors. -# Type: QtColor -c.colors.downloads.error.bg = base0a +c.colors.downloads.error.fg = base08 # Font color for hints. -# Type: QssColor -c.colors.hints.fg = base09 +c.colors.hints.fg = base00 # Background color for hints. Note that you can use a `rgba(...)` value # for transparency. -# Type: QssColor -c.colors.hints.bg = base04 +c.colors.hints.bg = base0A # Font color for the matched part of hints. -# Type: QtColor -c.colors.hints.match.fg = base0b +c.colors.hints.match.fg = base05 # Text color for the keyhint widget. -# Type: QssColor -c.colors.keyhint.fg = base06 +c.colors.keyhint.fg = base05 # Highlight color for keys to complete the current keychain. -# Type: QssColor c.colors.keyhint.suffix.fg = base05 # Background color of the keyhint widget. -# Type: QssColor c.colors.keyhint.bg = base00 # Foreground color of an error message. -# Type: QssColor c.colors.messages.error.fg = base00 # Background color of an error message. -# Type: QssColor -c.colors.messages.error.bg = base0a +c.colors.messages.error.bg = base08 # Border color of an error message. -# Type: QssColor -c.colors.messages.error.border = base0a +c.colors.messages.error.border = base08 # Foreground color of a warning message. -# Type: QssColor -c.colors.messages.warning.fg = base0a +c.colors.messages.warning.fg = base00 # Background color of a warning message. -# Type: QssColor -c.colors.messages.warning.bg = base09 +c.colors.messages.warning.bg = base0E # Border color of a warning message. -# Type: QssColor -c.colors.messages.warning.border = base09 +c.colors.messages.warning.border = base0E # Foreground color of an info message. -# Type: QssColor -c.colors.messages.info.fg = base0f +c.colors.messages.info.fg = base05 # Background color of an info message. -# Type: QssColor -c.colors.messages.info.bg = base07 +c.colors.messages.info.bg = base00 # Border color of an info message. -# Type: QssColor -c.colors.messages.info.border = base03 +c.colors.messages.info.border = base00 # Foreground color for prompts. -# Type: QssColor -c.colors.prompts.fg = base0e +c.colors.prompts.fg = base05 # Border used around UI elements in prompts. -# Type: String -c.colors.prompts.border = base03 +c.colors.prompts.border = base00 # Background color for prompts. -# Type: QssColor c.colors.prompts.bg = base00 # Background color for the selected item in filename prompts. -# Type: QssColor -c.colors.prompts.selected.bg = base08 +c.colors.prompts.selected.bg = base02 + +# Foreground color for the selected item in filename prompts. +c.colors.prompts.selected.fg = base05 # Foreground color of the statusbar. -# Type: QssColor -c.colors.statusbar.normal.fg = base09 +c.colors.statusbar.normal.fg = base05 # Background color of the statusbar. -# Type: QssColor c.colors.statusbar.normal.bg = base00 # Foreground color of the statusbar in insert mode. -# Type: QssColor -c.colors.statusbar.insert.fg = base00 +c.colors.statusbar.insert.fg = base0C # Background color of the statusbar in insert mode. -# Type: QssColor -c.colors.statusbar.insert.bg = base0d +c.colors.statusbar.insert.bg = base00 # Foreground color of the statusbar in passthrough mode. -# Type: QssColor -c.colors.statusbar.passthrough.fg = base00 +c.colors.statusbar.passthrough.fg = base0A # Background color of the statusbar in passthrough mode. -# Type: QssColor -c.colors.statusbar.passthrough.bg = base0b +c.colors.statusbar.passthrough.bg = base00 # Foreground color of the statusbar in private browsing mode. -# Type: QssColor -c.colors.statusbar.private.fg = base0d +c.colors.statusbar.private.fg = base0E # Background color of the statusbar in private browsing mode. -# Type: QssColor c.colors.statusbar.private.bg = base00 # Foreground color of the statusbar in command mode. -# Type: QssColor -c.colors.statusbar.command.fg = base06 +c.colors.statusbar.command.fg = base04 # Background color of the statusbar in command mode. -# Type: QssColor -c.colors.statusbar.command.bg = base0b +c.colors.statusbar.command.bg = base01 # Foreground color of the statusbar in private browsing + command mode. -# Type: QssColor -c.colors.statusbar.command.private.fg = base0d +c.colors.statusbar.command.private.fg = base0E # Background color of the statusbar in private browsing + command mode. -# Type: QssColor -c.colors.statusbar.command.private.bg = base00 +c.colors.statusbar.command.private.bg = base01 # Foreground color of the statusbar in caret mode. -# Type: QssColor -c.colors.statusbar.caret.fg = base00 +c.colors.statusbar.caret.fg = base0D # Background color of the statusbar in caret mode. -# Type: QssColor -c.colors.statusbar.caret.bg = base0c +c.colors.statusbar.caret.bg = base00 # Foreground color of the statusbar in caret mode with a selection. -# Type: QssColor -c.colors.statusbar.caret.selection.fg = base00 +c.colors.statusbar.caret.selection.fg = base0D # Background color of the statusbar in caret mode with a selection. -# Type: QssColor -c.colors.statusbar.caret.selection.bg = base07 +c.colors.statusbar.caret.selection.bg = base00 # Background color of the progress bar. -# Type: QssColor -c.colors.statusbar.progress.bg = base09 +c.colors.statusbar.progress.bg = base0D # Default foreground color of the URL in the statusbar. -# Type: QssColor -c.colors.statusbar.url.fg = base0e +c.colors.statusbar.url.fg = base05 # Foreground color of the URL in the statusbar on error. -# Type: QssColor c.colors.statusbar.url.error.fg = base08 # Foreground color of the URL in the statusbar for hovered links. -# Type: QssColor -c.colors.statusbar.url.hover.fg = '#9b59b6' +c.colors.statusbar.url.hover.fg = base09 # Foreground color of the URL in the statusbar on successful load # (http). -# Type: QssColor -c.colors.statusbar.url.success.http.fg = base0b +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 = base06 +c.colors.statusbar.url.success.https.fg = base0B # Foreground color of the URL in the statusbar when there's a warning. -# Type: QssColor -c.colors.statusbar.url.warn.fg = base0a +c.colors.statusbar.url.warn.fg = base0E # Background color of the tab bar. -# Type: QssColor c.colors.tabs.bar.bg = base00 # Color gradient start for the tab indicator. -# Type: QtColor -c.colors.tabs.indicator.start = base0b +c.colors.tabs.indicator.start = base09 # Color gradient end for the tab indicator. -# Type: QtColor -c.colors.tabs.indicator.stop = base0c +c.colors.tabs.indicator.stop = base0B # Color for the tab indicator on errors. -# Type: QtColor -c.colors.tabs.indicator.error = base0a - -# Color gradient interpolation system for the tab indicator. -# 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.tabs.indicator.system = 'rgb' +c.colors.tabs.indicator.error = base08 # Foreground color of unselected odd tabs. -# Type: QtColor c.colors.tabs.odd.fg = base05 # Background color of unselected odd tabs. -# Type: QtColor c.colors.tabs.odd.bg = base01 # Foreground color of unselected even tabs. -# Type: QtColor c.colors.tabs.even.fg = base05 # Background color of unselected even tabs. -# Type: QtColor -c.colors.tabs.even.bg = base04 - -# Foreground color of selected odd tabs. -# Type: QtColor -c.colors.tabs.selected.odd.fg = base03 +c.colors.tabs.even.bg = base01 -# Background color of selected odd tabs. -# Type: QtColor -c.colors.tabs.selected.odd.bg = base02 +# Background color of pinned unselected even tabs. +c.colors.tabs.pinned.even.bg = base02 -# Foreground color of selected even tabs. -# Type: QtColor -c.colors.tabs.selected.even.fg = base03 +# Foreground color of pinned unselected even tabs. +c.colors.tabs.pinned.even.fg = base05 -# Background color of selected even tabs. -# Type: QtColor -c.colors.tabs.selected.even.bg = base02 +# Background color of pinned unselected odd tabs. +c.colors.tabs.pinned.odd.bg = base02 # Foreground color of pinned unselected odd tabs. -# Type: QtColor -c.colors.tabs.pinned.odd.fg = base04 +c.colors.tabs.pinned.odd.fg = base05 -# Background color of pinned unselected odd tabs. -# Type: QtColor -c.colors.tabs.pinned.odd.bg = base09 +# Background color of pinned selected even tabs. +c.colors.tabs.pinned.selected.even.bg = base04 -# Foreground color of pinned unselected even tabs. -# Type: QtColor -c.colors.tabs.pinned.even.fg = base04 +# Foreground color of pinned selected even tabs. +c.colors.tabs.pinned.selected.even.fg = base00 -# Background color of pinned unselected even tabs. -# Type: QtColor -c.colors.tabs.pinned.even.bg = base08 +# Background color of pinned selected odd tabs. +c.colors.tabs.pinned.selected.odd.bg = base04 # Foreground color of pinned selected odd tabs. -# Type: QtColor -c.colors.tabs.pinned.selected.odd.fg = base03 +c.colors.tabs.pinned.selected.odd.fg = base00 -# Background color of pinned selected odd tabs. -# Type: QtColor -c.colors.tabs.pinned.selected.odd.bg = base09 +# Foreground color of selected odd tabs. +c.colors.tabs.selected.odd.fg = base00 -# Foreground color of pinned selected even tabs. -# Type: QtColor -c.colors.tabs.pinned.selected.even.fg = base03 +# Background color of selected odd tabs. +c.colors.tabs.selected.odd.bg = base04 -# Background color of pinned selected even tabs. -# Type: QtColor -c.colors.tabs.pinned.selected.even.bg = base08 +# Foreground color of selected even tabs. +c.colors.tabs.selected.even.fg = base00 + +# Background color of selected even tabs. +c.colors.tabs.selected.even.bg = base04 + +# Background color for webpages if unset (or empty to use the theme's +# color). +c.colors.webpage.bg = base00 +# End flavours # Background color for webpages if unset (or empty to use the theme's # color). @@ -1119,31 +1058,31 @@ 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 BlexMono Nerd Font' +c.fonts.default_family = '13pt SF Mono' # 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 # either a float value with a "pt" suffix, or an integer value with a # "px" suffix. # Type: String -c.fonts.default_size = '12pt' +c.fonts.default_size = '13pt' # Font used in the completion widget. # Type: Font -c.fonts.completion.entry = '12pt BlexMono\\ Nerd\\ Font' +c.fonts.completion.entry = '11pt SF Mono' # Font used in the completion categories. # Type: Font -c.fonts.completion.category = 'bold 12pt BlexMono\\ Nerd\\ Font' +c.fonts.completion.category = 'bold 11pt SF Mono' # Font used for tooltips. If set to null, the Qt default is used. # Type: Font -c.fonts.tooltip = '12pt BlexMono Nerd Font' +c.fonts.tooltip = '11pt SF Mono' # Font used for the context menu. If set to null, the Qt default is # used. # Type: Font -c.fonts.contextmenu = '12pt BlexMono Nerd Font' +c.fonts.contextmenu = '11pt SF Mono' # Font used for the debugging console. # Type: Font @@ -1151,67 +1090,67 @@ c.fonts.debug_console = 'default_size default_family' # Font used for the downloadbar. # Type: Font -c.fonts.downloads = '12pt BlexMono\\ Nerd\\ Font' +c.fonts.downloads = '11pt SF Mono' # Font used for the hints. # Type: Font -c.fonts.hints = 'bold 12pt BlexMono\\ Nerd\\ Font' +c.fonts.hints = 'bold 11pt SF Mono' # Font used in the keyhint widget. # Type: Font -c.fonts.keyhint = '12pt BlexMono\\ Nerd\\ Font' +c.fonts.keyhint = '11pt SF Mono' # Font used for error messages. # Type: Font -c.fonts.messages.error = '12pt BlexMono\\ Nerd\\ Font' +c.fonts.messages.error = '11pt SF Mono' # Font used for info messages. # Type: Font -c.fonts.messages.info = '12pt BlexMono\\ Nerd\\ Font' +c.fonts.messages.info = '11pt SF Mono' # Font used for warning messages. # Type: Font -c.fonts.messages.warning = '12pt BlexMono\\ Nerd\\ Font' +c.fonts.messages.warning = '11pt SF Mono' # Font used for prompts. # Type: Font -c.fonts.prompts = '12pt BlexMono\\ Nerd\\ Font' +c.fonts.prompts = '11pt SF Mono' # Font used in the statusbar. # Type: Font -c.fonts.statusbar = '12pt BlexMono\\ Nerd\\ Font' +c.fonts.statusbar = '11pt SF Mono' # Font used for selected tabs. # Type: Font -c.fonts.tabs.selected = '12pt BlexMono\\ Nerd\\ Font' +c.fonts.tabs.selected = '11pt SF Mono' # Font used for unselected tabs. # Type: Font -c.fonts.tabs.unselected = '12pt BlexMono\\ Nerd\\ Font' +c.fonts.tabs.unselected = '11pt SF Mono' # Font family for standard fonts. # Type: FontFamily -c.fonts.web.family.standard = 'BlexMono Nerd Font Propo' +c.fonts.web.family.standard = 'sans' # Font family for fixed fonts. # Type: FontFamily -c.fonts.web.family.fixed = 'BlexMono Nerd Font' +c.fonts.web.family.fixed = 'monospace' # Font family for serif fonts. # Type: FontFamily -c.fonts.web.family.serif = 'IBM Plex Serif' +c.fonts.web.family.serif = 'serif' # Font family for sans-serif fonts. # Type: FontFamily -c.fonts.web.family.sans_serif = 'IBM Plex Sans' +c.fonts.web.family.sans_serif = 'sans' # Font family for cursive fonts. # Type: FontFamily -c.fonts.web.family.cursive = 'Noto Sans Old Italic' +c.fonts.web.family.cursive = 'sans italic' # Font family for fantasy fonts. # Type: FontFamily -c.fonts.web.family.fantasy = 'FantasqueSansM Nerd Font' +c.fonts.web.family.fantasy = 'Comic Sans MS' # Default font size (in pixels) for regular text. # Type: Int