diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py index e28b8f0..5ce7d27 100644 --- a/.config/qutebrowser/config.py +++ b/.config/qutebrowser/config.py @@ -464,6 +464,18 @@ c.zoom.levels = [ # Type: QtColor c.colors.webpage.bg = '#1c1b22' +# Value to use for `prefers-color-scheme:` for websites. The "light" +# value is only available with QtWebEngine 5.15.2+. On older versions, +# it is the same as "auto". The "auto" value is broken on QtWebEngine +# 5.15.2 due to a Qt bug. There, it will fall back to "light" +# unconditionally. +# Type: String +# Valid values: +# - auto: Use the system-wide color scheme setting. +# - light: Force a light theme. +# - dark: Force a dark theme. +c.colors.webpage.preferred_color_scheme = 'dark' + # 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