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 | 4acf6a17cd91a5eed2c8c2384c5e26e0928f9609 (patch) | |
| tree | 6ae7d87e234e6b61803606506b94988bf84be88e /docs | |
| parent | 98d229a4c843c9e6394c9894695fc383ed0d69c0 (diff) | |
| download | dotemacs-4acf6a17cd91a5eed2c8c2384c5e26e0928f9609.tar.gz dotemacs-4acf6a17cd91a5eed2c8c2384c5e26e0928f9609.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
