aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-05-05 10:43:02 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-05-05 11:02:32 +0000
commit073b637d4535cd0dfe92ca1ce954b552ae9f1a4a (patch)
tree712ef9e9f37ddbf6a8e32ef468743c95e48b715d /doc
parentdoc: foot.ini: fix description of dark/light themes (diff)
render: refactor to allow setting only selection bg or fg
Before this, we only applied custom selection colors, if *both* the selection bg and fg had been set. Since the options are already split up into two separate options, and since it makes sense to at least be able to keep the foreground colors unchanged (i.e. only setting the selection background), let's allow only having one of the selection colors set. Closes #1846
Diffstat (limited to 'doc')
-rw-r--r--doc/foot.ini.5.scd3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd
index 1cc45231..81b88f64 100644
--- a/doc/foot.ini.5.scd
+++ b/doc/foot.ini.5.scd
@@ -1069,8 +1069,7 @@ dark theme (since the default theme is dark).
*selection-foreground*, *selection-background*
Foreground (text) and background color to use in selected
- text. Note that *both* options must be set, or the default will be
- used. Default: _inverse foreground/background_.
+ text. Default: _inverse foreground/background_.
*jump-labels*
Two color values specifying the foreground (text) and background