summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPhilipp Albrecht <palbrecht@mailbox.org>2023-09-27 20:23:56 +0200
committerPhilipp Albrecht <palbrecht@mailbox.org>2023-09-28 20:42:53 +0200
commit4e61bfedda91b6b38c3b899cf27340b7cb56989c (patch)
tree4a5fae07d5195e17962e836723b4d3dd2bfb8b14 /doc
parent50efac08f623644a85441bbe02ab9347d2b71a9d (diff)
downloadqutebrowser-4e61bfedda91b6b38c3b899cf27340b7cb56989c.tar.gz
qutebrowser-4e61bfedda91b6b38c3b899cf27340b7cb56989c.zip
Rename colors.webpage.darkmode.threshold.text
As Chromium 99.0.4785.0 (translates to Qt 6.4) renamed TextBrightnessThreshold to ForegroundBrightnessThreshold, we want to reflect that in our related qutebrowser setting. These changes rename `colors.webpage.darkmode.threshold.text` to `colors.webpage.darkmode.threshold.foreground`. References: * https://chromium-review.googlesource.com/c/chromium/src/+/3344100 * https://chromium-review.googlesource.com/c/chromium/src/+/3226389 * https://github.com/qutebrowser/qutebrowser/issues/7928
Diffstat (limited to 'doc')
-rw-r--r--doc/help/settings.asciidoc10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/help/settings.asciidoc b/doc/help/settings.asciidoc
index 9bae037f2..c384ccbd6 100644
--- a/doc/help/settings.asciidoc
+++ b/doc/help/settings.asciidoc
@@ -124,7 +124,7 @@
|<<colors.webpage.darkmode.policy.images,colors.webpage.darkmode.policy.images>>|Which images to apply dark mode to.
|<<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.darkmode.threshold.foreground,colors.webpage.darkmode.threshold.foreground>>|Threshold for inverting text with dark mode.
|<<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.
@@ -1688,7 +1688,7 @@ Example configurations from Chromium's `chrome://flags`:
`colors.webpage.darkmode.policy.images` to `smart`.
- "With selective inversion of non-image elements": Set
- `colors.webpage.darkmode.threshold.text` to 150 and
+ `colors.webpage.darkmode.threshold.foreground` to 150 and
`colors.webpage.darkmode.threshold.background` to 205.
- "With selective inversion of everything": Combines the two variants
@@ -1786,7 +1786,7 @@ Default: +pass:[smart]+
=== colors.webpage.darkmode.threshold.background
Threshold for inverting background elements with dark mode.
Background elements with brightness above this threshold will be inverted, and below it will be left as in the original, non-dark-mode page. Set to 256 to never invert the color or to 0 to always invert it.
-Note: This behavior is the opposite of `colors.webpage.darkmode.threshold.text`!
+Note: This behavior is the opposite of `colors.webpage.darkmode.threshold.foreground`!
This setting requires a restart.
@@ -1796,8 +1796,8 @@ Type: <<types,Int>>
Default: +pass:[0]+
-[[colors.webpage.darkmode.threshold.text]]
-=== colors.webpage.darkmode.threshold.text
+[[colors.webpage.darkmode.threshold.foreground]]
+=== colors.webpage.darkmode.threshold.foreground
Threshold for inverting text with dark mode.
Text colors with brightness below this threshold will be inverted, and above it will be left as in the original, non-dark-mode page. Set to 256 to always invert text color or to 0 to never invert text color.