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 | be8b9a0ae562f491e4ae3197f01deb44a1e2d311 (patch) | |
| tree | 26509213ba9175a5401443d44ffd2cfe1c507aa9 /docs | |
| parent | 35ab8419486cd8823fcced67bb6bc5a70a9d11fa (diff) | |
| download | dotemacs-be8b9a0ae562f491e4ae3197f01deb44a1e2d311.tar.gz dotemacs-be8b9a0ae562f491e4ae3197f01deb44a1e2d311.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 'docs')
0 files changed, 0 insertions, 0 deletions
