@airframeui/tokens 0.1.4 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -45,17 +45,17 @@ Also: `@airframeui/tokens/catalog.json`
45
45
 
46
46
  ## Themes
47
47
 
48
- Light is the default. Switch **color scheme** with `data-theme` or the `.dark` class. Switch **brand palettes** with `data-brand` (composes with scheme):
48
+ Light is the default. Switch **color scheme** with `data-theme` or the `.dark` class. Switch **brand palettes** with `data-brand` (composes with scheme). Lock a subtree to the catalog light or dark canvas with `.af-force-light` / `.af-force-dark` (surfaces and text; intents still follow the brand):
49
49
 
50
50
  ```html
51
- <html data-theme="dark" data-brand="acme">
51
+ <html data-theme="dark" data-brand="delta">
52
52
 
53
53
  </html>
54
54
  ```
55
55
 
56
56
  ```js
57
57
  document.documentElement.setAttribute('data-theme', 'dark');
58
- document.documentElement.setAttribute('data-brand', 'acme');
58
+ document.documentElement.setAttribute('data-brand', 'delta');
59
59
  ```
60
60
 
61
61
  ## Customize
@@ -69,7 +69,7 @@ Override variables in your own CSS — no rebuild of this package:
69
69
  }
70
70
  ```
71
71
 
72
- See [Theming](https://airframeui.com/docs/theming), [Tokens](https://airframeui.com/docs/tokens), and [Design tokens as the source of truth](https://airframeui.com/docs/token-source-of-truth) (Figma Variables export is on the [roadmap](https://airframeui.com/docs/roadmap)).
72
+ See [Theming](https://airframeui.com/docs/theming) and [Tokens](https://airframeui.com/docs/tokens) (Figma Variables export is on the [roadmap](https://airframeui.com/docs/roadmap)).
73
73
 
74
74
  ## Token model
75
75