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 | d5c9b11e2366aaef849b9b7cc1a6bdc196558c85 (patch) | |
| tree | 573665db7600bc5886e61249f9bdbba638be9c9a /docs | |
| parent | ee63152bb5f5167ee1805ab08169bd84fc70a59c (diff) | |
| download | dotemacs-d5c9b11e2366aaef849b9b7cc1a6bdc196558c85.tar.gz dotemacs-d5c9b11e2366aaef849b9b7cc1a6bdc196558c85.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
