aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-04-14 15:02:45 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-04-14 15:02:45 +0000
commit9ba8caf30b9d042260e4125b30a17a0f3c96382e (patch)
tree55fcab6bdde2d8f37adcc1f9117369bf0405e626
parenttests: config: test colors.alpha-mode (diff)
doc: foot.ini: add colors.alpha-mode
-rw-r--r--doc/foot.ini.5.scd15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd
index 24df3cbb..083a1087 100644
--- a/doc/foot.ini.5.scd
+++ b/doc/foot.ini.5.scd
@@ -1031,6 +1031,21 @@ can configure the background transparency with the _alpha_ option.
Background translucency. A value in the range 0.0-1.0, where 0.0
means completely transparent, and 1.0 is opaque. Default: _1.0_.
+*alpha-mode*
+ Specifies when *alpha* is applied. One of *default*, *matching* or
+ *all*.
+
+ *default* applies *alpha* to cells with the default background
+ color, excluding cells with the same RGB value as the default
+ background color.
+
+ *matching* is the same as *default*, but also applies *alpha* to
+ cells with the same RGB value as the default background color.
+
+ *all* applies *alpha* to all cells, regardless of background color.
+
+ Default: _default_
+
*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