mirror of
https://github.com/protesilaos/modus-themes.git
synced 2026-09-10 07:16:30 -04:00
Make mode-line-highlight always have a border
This is because the background colour it is using now may not be discernible against an accented mode line. The use of ':box' ensures that the padding of the highlight is always the same as that of the mode line, whereas before we had nested padding values (a padded box inside a padded box).
This commit is contained in:
parent
887069ccd3
commit
26c79c1138
|
|
@ -2953,7 +2953,7 @@ C1 and C2 are color values written in hexadecimal RGB."
|
|||
`(mode-line-active ((,c :inherit mode-line)))
|
||||
`(mode-line-buffer-id ((,c :inherit bold)))
|
||||
`(mode-line-emphasis ((,c :inherit bold :foreground ,note)))
|
||||
`(mode-line-highlight ((,c :inherit highlight)))
|
||||
`(mode-line-highlight ((,c :background ,bg-hover :foreground ,fg-main :box ,fg-main)))
|
||||
`(mode-line-inactive ((,c :inherit modus-themes-ui-variable-pitch
|
||||
,@(modus-themes--mode-line-attrs
|
||||
fg-dim bg-inactive
|
||||
|
|
|
|||
Loading…
Reference in a new issue