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 | c2f004115fa559746841139273c0385ae9bf097b (patch) | |
| tree | f3e7c25d27bf1f189d408a68d7ae742eb110635e /tests/test-prog-webdev-format.el | |
| parent | 71b511af6638ec58bab909fd453d446332d8cf50 (diff) | |
| download | dotemacs-c2f004115fa559746841139273c0385ae9bf097b.tar.gz dotemacs-c2f004115fa559746841139273c0385ae9bf097b.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 'tests/test-prog-webdev-format.el')
0 files changed, 0 insertions, 0 deletions
