@phcdevworks/spectre-tokens 4.8.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 +5 -5
- package/dist/index.cjs +1514 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +610 -0
- package/dist/index.d.cts +1543 -20
- package/dist/index.d.ts +1543 -20
- package/dist/index.js +1514 -23
- package/dist/index.js.map +1 -1
- package/dist/tokens.dtcg.json +5121 -921
- package/package.json +13 -13
- package/tokens/components.json +1522 -63
- package/tokens/modes.json +3350 -508
- package/tokens/typography.json +51 -0
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# @phcdevworks/spectre-tokens
|
|
2
2
|
|
|
3
|
-
`@phcdevworks/spectre-tokens` is the design-token
|
|
4
|
-
It provides
|
|
5
|
-
and
|
|
3
|
+
`@phcdevworks/spectre-tokens` is the design-token foundation of the Spectre
|
|
4
|
+
system. It provides the shared visual values and semantic contracts used across
|
|
5
|
+
Spectre packages and PHCDevworks applications.
|
|
6
6
|
|
|
7
7
|
Maintained by [PHCDevworks](https://go.phcdev.co). It defines the visual
|
|
8
8
|
language, semantic roles, and token contracts that downstream consumers can rely
|
|
@@ -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 |
|