aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-04-20 05:36:58 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-04-26 12:20:58 +0000
commit1423babc35e2896b602d124b634816ebfaeae243 (patch)
treee51818368f2e0c0732c2df1811bcb2909efc840a /doc
parentconfig: refactor: break out color theme parsing to a separate function (diff)
config: add new section 'colors2'
This section defines an alternative color theme. The keys are the same as in the 'colors' section, as are the default values. Values are *not* inherited from 'colors'. That is, if you set a value in 'colors', but not in 'colors2', it is *not* inherited by 'colors2'.
Diffstat (limited to 'doc')
-rw-r--r--doc/foot.ini.5.scd9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd
index 13f768c2..45084ab6 100644
--- a/doc/foot.ini.5.scd
+++ b/doc/foot.ini.5.scd
@@ -1084,6 +1084,15 @@ can configure the background transparency with the _alpha_ option.
Flash translucency. A value in the range 0.0-1.0, where 0.0 means
completely transparent, and 1.0 is opaque. Default: _0.5_.
+# SECTION: colors2
+
+This section defines an alternative color theme. It has the exact same
+keys as the *colors* section. The default values are the same.
+
+Note that values are not inherited. That is, if you set a value in
+*colors*, but not in *colors2*, the value from *colors* is not
+inherited by *colors2*.
+
# SECTION: csd
This section controls the look of the _CSDs_ (Client Side