Mercurial
comparison design_system/THEMES.md @ 258:60a876c4587a
[ui] Add semantic primitive ownership
Build a layered Zenbu token and sizing system, make authored controls use native-underneath primitives, migrate mrjunejune without imposing visual surfaces, and document/enforce HTML ownership in the catalog and wiki.
Co-authored-by: Copilot <[email protected]>
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Wed, 05 Aug 2026 05:25:40 -0700 |
| parents | 30c2196d03d4 |
| children | 667156fcd3e3 |
comparison
equal
deleted
inserted
replaced
| 257:609d3c6aff4e | 258:60a876c4587a |
|---|---|
| 16 | 16 |
| 17 Applications can provide their own fonts without changing component CSS: | 17 Applications can provide their own fonts without changing component CSS: |
| 18 | 18 |
| 19 ```css | 19 ```css |
| 20 :root { | 20 :root { |
| 21 --zen-font-editorial: "More Thin", sans-serif; | 21 --zenbu-font-editorial: "More Thin", sans-serif; |
| 22 --zen-font-playful: "More", sans-serif; | 22 --zenbu-font-playful: "More", sans-serif; |
| 23 } | 23 } |
| 24 ``` | 24 ``` |
| 25 | 25 |
| 26 Import `themes.css` after `tokens.css` and before component CSS. Components | 26 Import `themes.css` after `tokens.css` and before component CSS. Components |
| 27 continue to consume semantic tokens, so every built-in and application theme | 27 continue to consume semantic tokens, so every built-in and application theme |