@navikt/ds-tokens 7.8.1 → 7.9.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 +6 -6
- package/dist/darkside/tokens.css +1 -0
- package/dist/tokens.css +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
# Aksel tokens
|
|
2
2
|
|
|
3
|
-
Design-tokens for
|
|
3
|
+
Design-tokens for Nav's design system.
|
|
4
4
|
|
|
5
|
-
Node: This package is consumed by `@navikt/ds-css`, so not needed separately for regular use of
|
|
5
|
+
Node: This package is consumed by `@navikt/ds-css`, so not needed separately for regular use of CSS-variables.
|
|
6
6
|
|
|
7
|
-
Formats
|
|
7
|
+
Formats:
|
|
8
8
|
|
|
9
9
|
- CSS-variables <- Used in `@navikt/ds-css`
|
|
10
|
-
-
|
|
10
|
+
- CommonJS
|
|
11
11
|
- ESM
|
|
12
12
|
- Less
|
|
13
|
-
-
|
|
13
|
+
- Sass
|
|
14
14
|
|
|
15
15
|
## Installation
|
|
16
16
|
|
|
@@ -23,7 +23,7 @@ Formats
|
|
|
23
23
|
|
|
24
24
|
```css
|
|
25
25
|
color: var(--a-text-default);
|
|
26
|
-
|
|
26
|
+
background-color: var(--a-surface-default);
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
## Learn more
|
package/dist/darkside/tokens.css
CHANGED
package/dist/tokens.css
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@navikt/ds-tokens",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.9.1",
|
|
4
4
|
"description": "Design-tokens for Nav designsystem",
|
|
5
5
|
"author": "Aksel | Nav designsystem team",
|
|
6
6
|
"keywords": [
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"docs.json"
|
|
18
18
|
],
|
|
19
19
|
"scripts": {
|
|
20
|
-
"build": "tsx ./config/build.ts > /dev/null && tsx ./config/version-tag.ts
|
|
20
|
+
"build": "tsx ./config/build.ts > /dev/null && yarn build:darkside && tsx ./config/version-tag.ts",
|
|
21
21
|
"build:darkside": "tsx ./darkside && yarn build:figma-config && yarn build:plugin",
|
|
22
22
|
"build:figma-config": "tsx ./darkside/figma",
|
|
23
23
|
"build:plugin-dev": "esbuild darkside/figma/plugin/plugin.ts --target=es2016 --bundle --define:process.env.NODE_ENV=\\\"development\\\" --outfile='darkside/figma/plugin/plugin.js'",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"style-dictionary": "^4.1.1",
|
|
41
41
|
"tsx": "^4.19.1",
|
|
42
42
|
"typescript": "5.5.4",
|
|
43
|
-
"vitest": "^1.
|
|
43
|
+
"vitest": "^2.1.8"
|
|
44
44
|
},
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public",
|