aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/test_generate.py
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-09 05:06:46 -0500
committerCraig Jennings <c@cjennings.net>2026-06-09 05:06:46 -0500
commitb57c63ef22b264694f04953f15ac312848eaf3c7 (patch)
tree65a3c1f76cdd95b471616a8dc4e994ca162d3b20 /scripts/theme-studio/test_generate.py
parent82ef40040c85dd3b53697d018cc20218131be56c (diff)
downloaddotemacs-b57c63ef22b264694f04953f15ac312848eaf3c7.tar.gz
dotemacs-b57c63ef22b264694f04953f15ac312848eaf3c7.zip
refactor(theme-studio): unify color dropdowns on the swatch picker
The UI and package tables used a native <select> for fg/bg, while the syntax table used the swatch-div dropdown (mkColorDropdown). The native select rendered its option swatch colors unreliably on Linux Chrome — the reason the swatch div exists. Routed all three tiers through mkColorDropdown and deleted colorDropdown, so every color picker now shows real swatches. The inherit column stays a select; it picks a face name, not a color. Pulled the option-list construction into a shared ddList helper (default entry, palette, plus a "(gone)" entry when the current color left the palette) — the syntax table built that inline, the other tiers now reuse it. To keep fg/bg columns sorting by color value rather than by displayed name, the swatch dropdown exposes its value as data-val and cellVal reads it. Updated #locktest's UI assertion to the div lock mechanism (data-locked) since the UI control is no longer a select.
Diffstat (limited to 'scripts/theme-studio/test_generate.py')
0 files changed, 0 insertions, 0 deletions