summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2023-12-04 13:16:23 +0100
committerFlorian Bruhin <me@the-compiler.org>2023-12-04 13:16:23 +0100
commit1cd6d5af63803f9d3fbf741dc37713e06a526b85 (patch)
tree43b42e413830af3c5945f8cf2079610d7861626a
parent145292899cdda871023b2ad07169f00a6aa7d508 (diff)
downloadqutebrowser-1cd6d5af63803f9d3fbf741dc37713e06a526b85.tar.gz
qutebrowser-1cd6d5af63803f9d3fbf741dc37713e06a526b85.zip
Update dark mode docs
-rw-r--r--doc/help/settings.asciidoc17
-rw-r--r--qutebrowser/config/configdata.yml17
2 files changed, 6 insertions, 28 deletions
diff --git a/doc/help/settings.asciidoc b/doc/help/settings.asciidoc
index b5c8e61a4..c7744fcb7 100644
--- a/doc/help/settings.asciidoc
+++ b/doc/help/settings.asciidoc
@@ -1681,22 +1681,11 @@ Default: +pass:[0.0]+
=== colors.webpage.darkmode.enabled
Render all web contents using a dark theme.
Example configurations from Chromium's `chrome://flags`:
-
- "With simple HSL/CIELAB/RGB-based inversion": Set
- `colors.webpage.darkmode.algorithm` accordingly.
-
-- "With selective image inversion": Set
- `colors.webpage.darkmode.policy.images` to `smart`.
-
-- "With selective inversion of non-image elements": Set
- `colors.webpage.darkmode.threshold.foreground` to 150 and
- `colors.webpage.darkmode.threshold.background` to 205.
-
-- "With selective inversion of everything": Combines the two variants
- above.
+ `colors.webpage.darkmode.algorithm` accordingly, and
+ set `colors.webpage.darkmode.policy.images` to `never`.
-- "With increased text contrast": Set
- `colors.webpage.darkmode.increase_text_contrast` (QtWebEngine 6.3+)
+- "With selective image inversion": qutebrowser default settings.
This setting requires a restart.
diff --git a/qutebrowser/config/configdata.yml b/qutebrowser/config/configdata.yml
index dd19c8579..b49316428 100644
--- a/qutebrowser/config/configdata.yml
+++ b/qutebrowser/config/configdata.yml
@@ -3245,22 +3245,11 @@ colors.webpage.darkmode.enabled:
Example configurations from Chromium's `chrome://flags`:
-
- "With simple HSL/CIELAB/RGB-based inversion": Set
- `colors.webpage.darkmode.algorithm` accordingly.
-
- - "With selective image inversion": Set
- `colors.webpage.darkmode.policy.images` to `smart`.
-
- - "With selective inversion of non-image elements": Set
- `colors.webpage.darkmode.threshold.foreground` to 150 and
- `colors.webpage.darkmode.threshold.background` to 205.
-
- - "With selective inversion of everything": Combines the two variants
- above.
+ `colors.webpage.darkmode.algorithm` accordingly, and
+ set `colors.webpage.darkmode.policy.images` to `never`.
- - "With increased text contrast": Set
- `colors.webpage.darkmode.increase_text_contrast` (QtWebEngine 6.3+)
+ - "With selective image inversion": qutebrowser default settings.
restart: true
backend: QtWebEngine