@phcdevworks/spectre-tokens 4.9.0 → 4.10.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 +2 -2
- package/dist/index.cjs +1214 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +450 -0
- package/dist/index.d.cts +1227 -16
- package/dist/index.d.ts +1227 -16
- package/dist/index.js +1214 -3
- package/dist/index.js.map +1 -1
- package/dist/tokens.dtcg.json +4382 -1122
- package/package.json +10 -10
- package/tokens/components.json +1249 -100
- package/tokens/modes.json +2927 -685
- package/tokens/typography.json +51 -0
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ contracts for specific frameworks and runtimes.
|
|
|
17
17
|
| Project team | `project-design` |
|
|
18
18
|
| Repository role | Spectre L1 design-token contract |
|
|
19
19
|
| Package/artifact | `@phcdevworks/spectre-tokens` |
|
|
20
|
-
| Current version/status | 4.
|
|
20
|
+
| Current version/status | 4.10.0 |
|
|
21
21
|
|
|
22
22
|
## Standard Workflow
|
|
23
23
|
|
|
@@ -164,7 +164,7 @@ mode-aware styling.
|
|
|
164
164
|
| ----------- | ------------------------------------------------------------------------------------------------------------------------------- |
|
|
165
165
|
| `surface` | Background roles: page, card, input, overlay, subtle, hero (gradient, hero sections only), hover, selected, active, divider |
|
|
166
166
|
| `text` | Foreground roles: default, muted, subtle, meta, on-surface, on-page |
|
|
167
|
-
| `component` | Role-specific tokens for
|
|
167
|
+
| `component` | Role-specific tokens for navigation, overlays, feedback, data display, loading, forms, cards, badges, and content patterns |
|
|
168
168
|
| `buttons` | Button state tokens: default, hover, active, disabled, CTA |
|
|
169
169
|
| `forms` | Form state tokens: default, focused, error, disabled |
|
|
170
170
|
| `link` | Inline link color roles: default, hover, active, visited |
|