diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-18 22:17:55 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-18 22:17:55 -0500 |
| commit | 7a5b0f5f585e1fe463324a91a6a439fc0185fa5e (patch) | |
| tree | 51af29a3a4b23d9ce0c8a7765b7d8f28659b3551 /scripts/theme-studio/theme.json | |
| parent | 6ebb4681409156d43e1a8e9f84b06973e5f4409c (diff) | |
| download | dotemacs-7a5b0f5f585e1fe463324a91a6a439fc0185fa5e.tar.gz dotemacs-7a5b0f5f585e1fe463324a91a6a439fc0185fa5e.zip | |
feat(theme-studio): replace the style toggles with weight/slant/underline/strike controls
The B/I/U/S toggle buttons in the syntax, UI, and package tables become a weight selector (light/normal/medium/semibold/bold/heavy), a slant selector (normal/italic/oblique), and box-like underline and strike controls. The underline control sets line or wave plus a color, and the strike control sets a color. A face can now reach the full weight range and a wavy or colored underline, not just bold and italic on-off.
All four controls come from one mkStyleControls helper shared across the three tables, and underline and strike share mkLineStyleControl (the box-control pattern, parameterized for a styled line vs a plain toggle). With the real controls in place I dropped the transitional legacyStyleOn/toggleLegacyStyle shim and its tests.
The overflow attributes (distant-fg, family, overline, inverse, extend, and inherit/height for ui and syntax) move into a per-row expander next.
Verified by screenshot and the browser style gate, which now drives a weight-select change and an underline-wave click through the model. Full suite green: Python 59, Node 198, ERT 41, plus the browser hash gates.
Diffstat (limited to 'scripts/theme-studio/theme.json')
0 files changed, 0 insertions, 0 deletions
