diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-23 22:56:05 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-23 22:56:05 -0400 |
| commit | 081d76e4b9935217d650ae142bce6e8200e97b48 (patch) | |
| tree | 5f968a68a5c322abbfcdb4c250fa5ee412d7af7a /.github | |
| parent | 1587c119ceeba4698974f402eda17482e68202e8 (diff) | |
| download | chime-081d76e4b9935217d650ae142bce6e8200e97b48.tar.gz chime-081d76e4b9935217d650ae142bce6e8200e97b48.zip | |
feat: add themeable faces to the modeline event display
The modeline event text inherited the mode-line face with no way to style it. I added four faces (chime-modeline-face, chime-modeline-soon-face, chime-modeline-urgent-face, chime-modeline-no-events-face) that color the display by how soon the next event is.
Two thresholds, chime-modeline-soon-threshold-minutes (30) and chime-modeline-urgent-threshold-minutes (5), drive the urgency mapping. The default and idle faces inherit mode-line, so the modeline looks unchanged until you theme it. Soon inherits warning and urgent inherits error, so imminent events stand out across themes without configuration.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions
