From fedea101877815e8df5670c52fcca32bfff6c269 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 17 Jan 2024 11:25:23 +0100 Subject: Fix consistency of 'dark mode' spelling Thanks to absinthium --- doc/help/settings.asciidoc | 4 ++-- qutebrowser/config/configdata.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/help/settings.asciidoc b/doc/help/settings.asciidoc index 9ef0a014d..b69700880 100644 --- a/doc/help/settings.asciidoc +++ b/doc/help/settings.asciidoc @@ -115,7 +115,7 @@ |<>|Background color of tooltips. |<>|Foreground color of tooltips. |<>|Background color for webpages if unset (or empty to use the theme's color). -|<>|Which algorithm to use for modifying how colors are rendered with darkmode. +|<>|Which algorithm to use for modifying how colors are rendered with dark mode. |<>|Contrast for dark mode. |<>|Render all web contents using a dark theme. |<>|Which images to apply dark mode to. @@ -1645,7 +1645,7 @@ Default: +pass:[white]+ [[colors.webpage.darkmode.algorithm]] === colors.webpage.darkmode.algorithm -Which algorithm to use for modifying how colors are rendered with darkmode. +Which algorithm to use for modifying how colors are rendered with dark mode. The `lightness-cielab` value was added with QtWebEngine 5.14 and is treated like `lightness-hsl` with older QtWebEngine versions. This setting requires a restart. diff --git a/qutebrowser/config/configdata.yml b/qutebrowser/config/configdata.yml index e973fca28..de6948150 100644 --- a/qutebrowser/config/configdata.yml +++ b/qutebrowser/config/configdata.yml @@ -3284,7 +3284,7 @@ colors.webpage.darkmode.enabled: colors.webpage.darkmode.algorithm: default: lightness-cielab desc: >- - Which algorithm to use for modifying how colors are rendered with darkmode. + Which algorithm to use for modifying how colors are rendered with dark mode. The `lightness-cielab` value was added with QtWebEngine 5.14 and is treated like `lightness-hsl` with older QtWebEngine versions. -- cgit v1.2.3-54-g00ecf