diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-09 04:43:43 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-09 04:43:43 -0500 |
| commit | c7518d6f297038fa9911f207d06834d4b0d24374 (patch) | |
| tree | 4c6991fa13a51c840854b1ff490cfc41e59093ed /scripts/theme-studio/dupre-revised.json | |
| parent | 39738a14719ffcd96358abc459d487ab450fd19c (diff) | |
| download | dotemacs-c7518d6f297038fa9911f207d06834d4b0d24374.tar.gz dotemacs-c7518d6f297038fa9911f207d06834d4b0d24374.zip | |
feat(theme-studio): swatch dropdowns, lock toggles, palette seeding
The design session added a batch of tool features. They landed together in the page generator, so this commits them as one.
A custom swatch color dropdown replaces the native select in the syntax table, showing a color square, name, and hex per row, because native option backgrounds render unreliably on Linux Chrome.
THEME_STUDIO_SEED=<file.json> seeds the tool's starting palette, assignments, bold, italic, and UI from a theme.json at generate time, so opening the tool on a given palette is one regenerate with no import step.
Lock toggles sit on all three tables. A closed lock marks a decided element/color pairing and disables that row's editing controls. Clear-unlocked resets the rest to default and leaves the locked rows alone. Locks persist in the saved theme, with keys namespaced (bare syntax, ui:, pkg:) so the tiers don't collide.
The UI faces table gained a contrast column, and the three tables now share one column order: name, lock, color, style, contrast. The bg and fg rows are renamed to "bg (ground)" and "fg".
Diffstat (limited to 'scripts/theme-studio/dupre-revised.json')
0 files changed, 0 insertions, 0 deletions
