aboutsummaryrefslogtreecommitdiff
path: root/tests/test-prog-yaml--yaml-format-buffer.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-14 17:23:37 -0500
committerCraig Jennings <c@cjennings.net>2026-06-14 17:23:37 -0500
commit769728ccf25b0db3bf9734c1b73e618a83cfb158 (patch)
treec5caa51c050254f5b2eb65684c17fb8cd60cffe6 /tests/test-prog-yaml--yaml-format-buffer.el
parentd77ef3f33e3586ddf29de5f103352198550652a2 (diff)
downloaddotemacs-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 'tests/test-prog-yaml--yaml-format-buffer.el')
0 files changed, 0 insertions, 0 deletions