From 1cd6d5af63803f9d3fbf741dc37713e06a526b85 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 4 Dec 2023 13:16:23 +0100 Subject: Update dark mode docs --- doc/help/settings.asciidoc | 17 +++-------------- qutebrowser/config/configdata.yml | 17 +++-------------- 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 -- cgit v1.2.3-54-g00ecf