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 | ce414b0a7facf9ba99457f4bb35ae2ebf0992301 (patch) | |
| tree | db2d6fa06cc5c2f4d8abcb90f25ec58900fa57ce /scripts/theme-studio/package-inventory.json | |
| parent | f8355fee3ce59a83ffaebb6ddc3953e0dbcd6b41 (diff) | |
| download | dotemacs-ce414b0a7facf9ba99457f4bb35ae2ebf0992301.tar.gz dotemacs-ce414b0a7facf9ba99457f4bb35ae2ebf0992301.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
