diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-14 17:23:37 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-14 17:23:37 -0500 |
| commit | 769728ccf25b0db3bf9734c1b73e618a83cfb158 (patch) | |
| tree | c5caa51c050254f5b2eb65684c17fb8cd60cffe6 /scripts/theme-studio/package-inventory.json | |
| parent | d77ef3f33e3586ddf29de5f103352198550652a2 (diff) | |
| download | dotemacs-769728ccf25b0db3bf9734c1b73e618a83cfb158.tar.gz dotemacs-769728ccf25b0db3bf9734c1b73e618a83cfb158.zip | |
refactor(ui): color the cursor and modeline from theme faces, in sync
The cursor color and the modeline buffer-name indicator both hard-coded hex colors through cj/buffer-status-colors. Replaced that constant with cj/buffer-status-faces, mapping each buffer state to a theme face: read-only to error, overwrite and modified to warning, unmodified to success. A shared classifier (cj/buffer-status-state) and resolver (cj/buffer-status-color) in user-constants now drive both consumers, so the cursor and the modeline resolve their color from the active theme at use time and stay in sync, including the ghostel-terminal case the cursor already special-cased. Tests cover the map, the classifier, the resolver, and both integration paths.
Diffstat (limited to 'scripts/theme-studio/package-inventory.json')
0 files changed, 0 insertions, 0 deletions
