diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-09 05:06:46 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-09 05:06:46 -0500 |
| commit | aee14bff856cc7ae41fbd59ba7487495210d722b (patch) | |
| tree | b441b6b728113b56a4db20734db606dc1fc8eed4 /custom | |
| parent | 76c09d22e287cf32570e1f17ca37254e66de8000 (diff) | |
| download | dotemacs-aee14bff856cc7ae41fbd59ba7487495210d722b.tar.gz dotemacs-aee14bff856cc7ae41fbd59ba7487495210d722b.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 'custom')
0 files changed, 0 insertions, 0 deletions
