mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-06 07:15:30 -04:00
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:
parent
2cd9fee9c4
commit
cdfc864cf0
5 changed files with 38 additions and 12 deletions
6
config.h
6
config.h
|
|
@ -79,7 +79,11 @@ struct config {
|
|||
bool center;
|
||||
uint16_t resize_delay_ms;
|
||||
|
||||
bool bold_in_bright;
|
||||
struct {
|
||||
bool enabled;
|
||||
bool palette_based;
|
||||
} bold_in_bright;
|
||||
|
||||
enum {
|
||||
BELL_ACTION_NONE,
|
||||
BELL_ACTION_URGENT,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue