@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 CHANGED
@@ -1,16 +1,16 @@
1
1
  # Aksel tokens
2
2
 
3
- Design-tokens for NAVs designsystem and used when implementing @navikt/ds-css.
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 css-variables.
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
- - Commonjs
10
+ - CommonJS
11
11
  - ESM
12
12
  - Less
13
- - Scss
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
- backgroundcolor: var(--a-surface-default);
26
+ background-color: var(--a-surface-default);
27
27
  ```
28
28
 
29
29
  ## Learn more
@@ -831,6 +831,7 @@
831
831
  }
832
832
 
833
833
  :root, :host {
834
+ --ax-version: "7.9.1";
834
835
  --ax-font-weight-regular: 400;
835
836
  --ax-font-weight-bold: 600;
836
837
  --ax-font-size-small: .875rem;
package/dist/tokens.css CHANGED
@@ -3,7 +3,7 @@
3
3
  */
4
4
 
5
5
  :root, :host {
6
- --a-version: "7.8.1";
6
+ --ax-version: "7.9.1";
7
7
  --a-spacing-1-alt: 0.375rem;
8
8
  --a-spacing-05: 0.125rem;
9
9
  --a-spacing-32: 8rem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@navikt/ds-tokens",
3
- "version": "7.8.1",
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 && yarn build:darkside",
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.2.2"
43
+ "vitest": "^2.1.8"
44
44
  },
45
45
  "publishConfig": {
46
46
  "access": "public",