@ni/nimble-tokens 3.0.1 → 3.0.7
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 +2 -2
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@ To add the Nimble tokens package to your application, install it from [the publi
|
|
|
28
28
|
|
|
29
29
|
### Understanding Base Color Tokens
|
|
30
30
|
|
|
31
|
-
You can [view the available color tokens here](https://xd.adobe.com/view/
|
|
31
|
+
You can [view the available color tokens here](https://xd.adobe.com/view/33ffad4a-eb2c-4241-b8c5-ebfff1faf6f6-66ac/screen/fed406fd-7568-40a9-8b1a-359f54c23186/). To understand their meaning, explore other pages of the document in Specs Mode (click the `</>` icon on the right side) and view how color tokens are applied to Nimble components.
|
|
32
32
|
|
|
33
33
|
### Using Base Tokens
|
|
34
34
|
|
|
@@ -66,7 +66,7 @@ Tokens values are also available as:
|
|
|
66
66
|
|
|
67
67
|
#### Font Faces
|
|
68
68
|
|
|
69
|
-
Nimble provides font definitions for every font family used by a token. To ensure these fonts are available to your application, include
|
|
69
|
+
Nimble provides font definitions for every font family used by a token. To ensure these fonts are available to your application, include `@ni/nimble-tokens/source/fonts.css` in your application code.
|
|
70
70
|
|
|
71
71
|
|
|
72
72
|
## Contributing
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ni/nimble-tokens",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.7",
|
|
4
4
|
"description": "Design tokens for the NI Nimble Design System",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "npm run build:svg-to-ts && npm run build:ts",
|
|
7
7
|
"build:svg-to-ts": "svg-to-ts --config source/build/svg-to-ts-config.js",
|
|
8
8
|
"build:ts": "tsc -p ./tsconfig.json",
|
|
9
9
|
"build:ts:watch": "tsc -p ./tsconfig.json -w",
|
|
10
|
-
"pack": "npm pack",
|
|
10
|
+
"pack": "npm run pack:npm && npm run pack:nuget",
|
|
11
|
+
"pack:npm": "npm pack",
|
|
11
12
|
"pack:nuget": "cross-env-shell dotnet pack ./source/NimbleTokens --configuration Release -p:PackageVersion=$npm_package_version",
|
|
12
13
|
"invoke-publish": "npm publish",
|
|
13
14
|
"lint": "eslint ."
|