diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-10 14:43:12 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-10 14:43:12 -0500 |
| commit | 109d7534e7a8bad6721dd14853fb3df484f1018c (patch) | |
| tree | a862c9606ce1ee9b4737180fa37c54196bbadec4 /tests/test-integration-buffer-diff.el | |
| parent | 1d57c430695275dd551c003d66ba6e0e76290e3b (diff) | |
| download | dotemacs-109d7534e7a8bad6721dd14853fb3df484f1018c.tar.gz dotemacs-109d7534e7a8bad6721dd14853fb3df484f1018c.zip | |
fix(theme-studio): scope applyGround and repaint faces on ground change
The contrast cells already rated a two-color face's own fg-on-bg. They read wrong because applyGround blanketed every .ex cell (the per-face preview cells included) with the ground bg, and a ground-bg change never repainted the UI or package tables. The preview showed fg on the ground bg next to a correct fg-on-face-bg ratio, and ground-dependent ratios went stale. applyGround now blankets only the code panes and syntax example cells and repaints UI faces through paintUI. The ground-bg handler also rebuilds the package table and preview. New #contrasttest assertions pin the two-color pair in both tables, preview-bg survival, and ground-change re-rating.
Diffstat (limited to 'tests/test-integration-buffer-diff.el')
0 files changed, 0 insertions, 0 deletions
