Mac: state tag text colour from the theme background
The label is the theme's background or white, whichever contrasts more
with the state colour. state-replace is a theme slot; the default theme
leaves it to the system's red.
Ref #221
@@ -801,6 +801,7 @@ The colors stack in this order, each over the one before: the themes chosen with
801
801
| =state-normal= | the NORMAL tag (Doom keys) |
802
802
| =state-insert= | the INSERT tag |
803
803
| =state-visual= | the VISUAL and V-LINE tags |
804
| =state-replace= | the REPLACE tag |
804
805
| =agenda-background= | the agenda and board; the iOS widgets |
805
806
| =agenda-date= | agenda day headers after today |
806
807
| =agenda-today= | today's header and the now line |
@@ -814,7 +815,7 @@ The colors stack in this order, each over the one before: the themes chosen with
814
815
| =habit-alert= | habit graph: due today, last chance |
815
816
| =habit-overdue= | habit graph: overdue |
816
817
817
The default theme leaves =sidebar-background=, =sidebar-foreground=, =sidebar-header=, =modeline-background=, =modeline-foreground= and =agenda-background= unset, so those parts keep the standard macOS look. Set them to color those parts too. In the views around the editor (sidebar, modeline, agenda), a color you set for one appearance only leaves the other appearance to the system. In the editor, a color set for one appearance only takes the default theme's color in the other.
818
The default theme leaves =sidebar-background=, =sidebar-foreground=, =sidebar-header=, =modeline-background=, =modeline-foreground=, =agenda-background= and =state-replace= unset, so those parts keep the standard macOS look. Set them to color those parts too. In the views around the editor (sidebar, modeline, agenda), a color you set for one appearance only leaves the other appearance to the system. In the editor, a color set for one appearance only takes the default theme's color in the other.
818
819
819
820
An unknown color key, a value that isn't a color, or an unknown table such as =[theme.solarized]= is reported as a problem and skipped.