@bcc-code/design-tokens 5.1.69 → 5.1.71
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 +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ When designers add or update PrimeVue component tokens via Figma:
|
|
|
26
26
|
|
|
27
27
|
1. **Export from Figma** — Component tokens land in `tokens/aura/component.json`
|
|
28
28
|
2. **Add theme overrides (recommended)** — For light/dark differentiation, add the component to both `tokens/aura/component/light.json` and `tokens/aura/component/dark.json`. Without these, the component will use the same tokens in both themes.
|
|
29
|
-
3. **Run the build** — `
|
|
29
|
+
3. **Run the build** — `npm run build`
|
|
30
30
|
4. **Check warnings** — The build will warn about components missing theme overrides
|
|
31
31
|
|
|
32
32
|
Component tokens are automatically picked up from `component.json` — no manual list to maintain.
|
|
@@ -70,11 +70,11 @@ For BCC-specific layout/sizing overrides (not from Figma), add them to `MANUAL_C
|
|
|
70
70
|
- **Can edit?** **Yes**, when adjusting validation rules.
|
|
71
71
|
|
|
72
72
|
- `export-tokens/bcc-build.js`
|
|
73
|
-
Creates combined `
|
|
73
|
+
Creates combined `tokens.css` and `tailwind.css` from generated light/dark outputs.
|
|
74
74
|
- **Can edit?** **Yes**, if combined output strategy needs to change.
|
|
75
75
|
|
|
76
76
|
- `export-tokens/type-gen.js`
|
|
77
|
-
Generates `.d.ts`
|
|
77
|
+
Generates `.d.ts` module declarations for published CSS files.
|
|
78
78
|
- **Can edit?** **Yes**, when changing published type declarations.
|
|
79
79
|
|
|
80
80
|
## License
|