config: bold-text-in-bright: add ‘palette-based’ as a special value

When ‘bold-text-in-bright’ is set ‘to palette-based’, colors matching
one of the 8 regular palette colors are brightened by using the
corresponding bright palette color.

Other colors, or all colors if ‘bold-text-in-bright’ is set to
‘yes|true’, are brightened by increasing the luminance.
This commit is contained in:
Daniel Eklöf 2021-04-17 21:57:08 +02:00
parent 11e8ff9dc5
commit 1df48fcb33
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 38 additions and 12 deletions

View file

@ -42,8 +42,10 @@
(https://codeberg.org/dnkl/foot/issues/415).
* Foot now tries much harder to keep URL jump labels inside the window
geometry (https://codeberg.org/dnkl/foot/issues/443).
* `bold-text-in-bright` now uses the corresponding bright palette
color when the color to brighten matches one of the base 8 colors
* `bold-text-in-bright` may now be set to `palette-based`, in which
case it will use the corresponding bright palette color when the
color to brighten matches one of the base 8 colors, instead of
increasing the luminance
(https://codeberg.org/dnkl/foot/issues/449).