@balena/design-tokens 0.1.2 → 0.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 +5 -1
- package/build/css/tokens.css +1 -1
- package/build/js/tokens.d.ts +1 -1
- package/build/js/tokens.js +1 -1
- package/build/json/tokens.json +2849 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -52,6 +52,10 @@ The custom properties will be added to the `:root` element, and you can use them
|
|
|
52
52
|
}
|
|
53
53
|
```
|
|
54
54
|
|
|
55
|
+
### Note
|
|
56
|
+
|
|
57
|
+
A JSON object containing all tokens with extra information is also available for documentation purposes.
|
|
58
|
+
|
|
55
59
|
## Update tokens
|
|
56
60
|
|
|
57
61
|
The tokens are exported from our Figma Design System library: https://www.figma.com/file/P7wVVPymUK4ekV6QOa3i0s/Design-System?type=design&t=hi4n82bo8vGO8noO-6
|
|
@@ -84,7 +88,7 @@ This package uses [Style Dictionary](https://amzn.github.io/style-dictionary/#/)
|
|
|
84
88
|
npm install
|
|
85
89
|
```
|
|
86
90
|
|
|
87
|
-
#### Develop (watch the
|
|
91
|
+
#### Develop (watch the token folder)
|
|
88
92
|
|
|
89
93
|
```bash
|
|
90
94
|
npm start
|
package/build/css/tokens.css
CHANGED
package/build/js/tokens.d.ts
CHANGED