diff options
author | Florian Bruhin <me@the-compiler.org> | 2021-02-11 13:49:43 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2021-02-11 14:18:30 +0100 |
commit | f50a43d71685a04eabe952fac919bfa5059440c8 (patch) | |
tree | 411c1b279d8ac699ddd6f62665cb822869df55d0 /doc/help/settings.asciidoc | |
parent | 3c4773616589343b02793bfe117fe2ebc672a1ef (diff) | |
download | qutebrowser-f50a43d71685a04eabe952fac919bfa5059440c8.tar.gz qutebrowser-f50a43d71685a04eabe952fac919bfa5059440c8.zip |
Change colors.webpage.prefers_color_scheme_dark to colors.webpage.preferred_color_scheme
See #6097
Diffstat (limited to 'doc/help/settings.asciidoc')
-rw-r--r-- | doc/help/settings.asciidoc | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/doc/help/settings.asciidoc b/doc/help/settings.asciidoc index 18653c55b..f06c79d63 100644 --- a/doc/help/settings.asciidoc +++ b/doc/help/settings.asciidoc @@ -121,7 +121,7 @@ |<<colors.webpage.darkmode.policy.page,colors.webpage.darkmode.policy.page>>|Which pages to apply dark mode to. |<<colors.webpage.darkmode.threshold.background,colors.webpage.darkmode.threshold.background>>|Threshold for inverting background elements with dark mode. |<<colors.webpage.darkmode.threshold.text,colors.webpage.darkmode.threshold.text>>|Threshold for inverting text with dark mode. -|<<colors.webpage.prefers_color_scheme_dark,colors.webpage.prefers_color_scheme_dark>>|Force `prefers-color-scheme: dark` colors for websites. +|<<colors.webpage.preferred_color_scheme,colors.webpage.preferred_color_scheme>>|Value to use for `prefers-color-scheme:` for websites. |<<completion.cmd_history_max_items,completion.cmd_history_max_items>>|Number of commands to save in the command history. |<<completion.delay,completion.delay>>|Delay (in milliseconds) before updating completions after typing a character. |<<completion.favorite_paths,completion.favorite_paths>>|Default filesystem autocomplete suggestions for :open. @@ -1748,15 +1748,21 @@ On QtWebEngine, this setting requires Qt 5.14 or newer. On QtWebKit, this setting is unavailable. -[[colors.webpage.prefers_color_scheme_dark]] -=== colors.webpage.prefers_color_scheme_dark -Force `prefers-color-scheme: dark` colors for websites. +[[colors.webpage.preferred_color_scheme]] +=== colors.webpage.preferred_color_scheme +Value to use for `prefers-color-scheme:` for websites. This setting requires a restart. -Type: <<types,Bool>> +Type: <<types,String>> -Default: +pass:[false]+ +Valid values: + + * +auto+: Use the system-wide color scheme setting. + * +light+: Force a light theme. Only available with QtWebEngine 5.15.2+, same as 'auto' otherwise. + * +dark+: Force a dark theme. + +Default: +pass:[auto]+ On QtWebEngine, this setting requires Qt 5.14 or newer. |