diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-18 21:24:25 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-18 21:24:25 -0500 |
| commit | 71d985000946aa48809b1053c52a9e44aa260f61 (patch) | |
| tree | 38de5401a8e0fed50d7cb02e82e017916323d365 /scripts/theme-studio/build-inventory.el | |
| parent | d3ee7274333884663250e74b50c304de09d5935f (diff) | |
| download | dotemacs-71d985000946aa48809b1053c52a9e44aa260f61.tar.gz dotemacs-71d985000946aa48809b1053c52a9e44aa260f61.zip | |
feat(theme-studio): emit the full face-attribute model from build-theme
I extended build-theme's emitter to the full attribute set: family, distant-foreground, a weight and slant range, structured underline (color and wave), overline, strike color, inverse-video, extend, and inherit/height on every tier. It still reads the legacy boolean bold/italic/underline/strike fields, so every committed preset round-trips unchanged.
The emitter is the first piece of widening the studio to all face attributes; the model and UI that produce these fields come next. To keep the change clean I refactored --attrs from nine positional arguments to a single face-spec object and lifted the accessor helpers above their callers.
Added 40 ERT tests covering legacy compatibility, each new attribute, the coercion helpers' edge cases, and an end-to-end round-trip that loads a theme and reads the attributes back off the faces. They run in the theme-studio suite as a new stage.
Diffstat (limited to 'scripts/theme-studio/build-inventory.el')
0 files changed, 0 insertions, 0 deletions
