aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/theme-coloring-guide.org
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
commit5cbe268526e9a80c449f24accbdffe2dd89a0849 (patch)
treedd1254188e03d0f565843da93eba065a2938f22a /scripts/theme-studio/theme-coloring-guide.org
parentdc014b376d35cdce860c3d94e676cb1688701282 (diff)
downloaddotemacs-5cbe268526e9a80c449f24accbdffe2dd89a0849.tar.gz
dotemacs-5cbe268526e9a80c449f24accbdffe2dd89a0849.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/theme-coloring-guide.org')
0 files changed, 0 insertions, 0 deletions