@phcdevworks/spectre-tokens 2.1.2 → 2.2.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 +4 -0
- package/dist/index.cjs +269 -1130
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +22 -4
- package/dist/index.d.cts +270 -1134
- package/dist/index.d.ts +270 -1134
- package/dist/index.js +269 -1130
- package/dist/index.js.map +1 -1
- package/package.json +10 -8
- package/tokens/components.json +32 -0
- package/tokens/modes.json +34 -6
- package/tokens/primitives.json +0 -4
- package/tokens/typography.json +22 -2
package/README.md
CHANGED
|
@@ -109,6 +109,10 @@ The generated token object includes these namespaces:
|
|
|
109
109
|
- `component`
|
|
110
110
|
- `modes`
|
|
111
111
|
|
|
112
|
+
The exported runtime token object is a flattened string-based tree generated
|
|
113
|
+
from `tokens/`. Source-only wrapper fields such as `value` and `metadata` are
|
|
114
|
+
internal generation details and are not part of the public package contract.
|
|
115
|
+
|
|
112
116
|
### Themes and modes
|
|
113
117
|
|
|
114
118
|
The package includes mode-aware semantic tokens under `modes`, with `default`
|