From 3b089b4203c173c7ab64d62646817b721a438a76 Mon Sep 17 00:00:00 2001 From: Ryan Farley Date: Sat, 8 May 2021 02:18:45 -0500 Subject: 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 --- doc/foot.ini.5.scd | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'doc') 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_. -- cgit v1.3