aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRyan Farley <ryan.farley@gmx.com>2021-05-08 07:18:45 +0000
committerRyan Farley <ryan.farley@gmx.com>2021-05-08 11:40:00 +0000
commit3b089b4203c173c7ab64d62646817b721a438a76 (patch)
tree635bf4e7e5e7655b32dc7162d2515bde3166d258 /doc
parentMerge branch 'bell-enhancement' (diff)
configure full color palette in foot.ini
Allow the use of numeric keys in [colors] to configure the full set of 256 colors in the palette. Fixes #489
Diffstat (limited to 'doc')
-rw-r--r--doc/foot.ini.5.scd12
1 files changed, 9 insertions, 3 deletions
diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd
index 1030c841..abe90fc7 100644
--- a/doc/foot.ini.5.scd
+++ b/doc/foot.ini.5.scd
@@ -375,9 +375,9 @@ applications can change these at runtime.
# SECTION: colors
-This section controls the 16 ANSI colors and the default foreground
-and background colors. Note that applications can change these at
-runtime.
+This section controls the 16 ANSI colors, the default foreground
+and background colors, and the extended 256 color palette. Note that
+applications can change these at runtime.
The colors are in RRGGBB format. That is, they do *not* have an alpha
component. You can configure the background transparency with the
@@ -401,6 +401,12 @@ _alpha_ option.
_bfebbf_, _f0dfaf_, _8cd0d3_, _fcace3_, _b3ffff_ and _ffffff_ (a
variant of the _zenburn_ theme).
+*0* *..* *255*
+ Arbitrary colors in the 256-color palette. Default: for *0* *..*
+ *15*, see regular and bright defaults above; see
+ https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit for an
+ explanation of the remainder.
+
*alpha*
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_.