@ni/nimble-tokens 4.0.0 → 4.0.1
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
|
@@ -49,9 +49,9 @@ body { background-color: var(--ni-nimble-base-white); }
|
|
|
49
49
|
#### JavaScript and TypeScript
|
|
50
50
|
|
|
51
51
|
Tokens like colors, font families, and spacing are also available as JavaScript and TypeScript string constants.
|
|
52
|
-
- colors are represented as hex RGB strings like
|
|
53
|
-
- font families and fallbacks are represented as comma separated strings like `
|
|
54
|
-
- spacing is represented in CSS units like `
|
|
52
|
+
- colors are represented as hex RGB strings like: `#ff8126`
|
|
53
|
+
- font families and fallbacks are represented as comma separated strings like: `Roboto, Microsoft YaHei, Hiragino Kaku Gothic Pro, sans-serif`
|
|
54
|
+
- spacing is represented in CSS units like: `12px`
|
|
55
55
|
|
|
56
56
|
In your application JavaScript or TypeScript code, import the token strings you want to use:
|
|
57
57
|
|
package/package.json
CHANGED