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

@ -200,8 +200,16 @@ in this order:
apply window management rules. Default: _foot_.
*bold-text-in-bright*
Boolean. When enabled, bold text is rendered in a brighter color
(in addition to using a bold font). Default: _no_.
Semi-boolean. When enabled, bold text is rendered in a brighter
color (in addition to using a bold font). The color is brightened
by increasing its luminance.
If set to *palette-based*, rather than a simple *yes|true*, colors
matching one of the 8 regular palette colors will be brightened
using the corresponding bright palette color. Other colors will be
brightened by increasing the luminance.
Default: _no_.
*bell*
Action to perform when receiving a *BEL* character. Can be set to