@kystverket/styrbord-tokens 0.3.5 → 0.3.9

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/dist/colors.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /* This file is deprecated and will be removed in a future release. Use types.d.ts instead */
2
- /* build: v1.6.1 */
2
+ /* build: v1.7.2 */
3
3
  import type {} from '@digdir/designsystemet/types';
4
4
 
5
5
  // Augment types based on theme
@@ -1,6 +1,6 @@
1
1
  @charset "UTF-8";
2
2
  /*
3
- build: v1.6.1
3
+ build: v1.7.2
4
4
  */
5
5
 
6
6
  @layer ds.theme.size-mode {
@@ -509,7 +509,7 @@ build: v1.6.1
509
509
  --ds-size-22: calc(var(--ds-size-unit) * 22);
510
510
  --ds-size-26: calc(var(--ds-size-unit) * 26);
511
511
  --ds-size-30: calc(var(--ds-size-unit) * 30);
512
- --ds-size-unit: calc(1rem * var(--ds-size-step) / var(--ds-size-base) * var(--ds-size-mode-font-size));
512
+ --ds-size-unit: calc(1rem * (var(--ds-size-step) / var(--ds-size-base) * var(--ds-size-mode-font-size)) / 1.125);
513
513
 
514
514
  @supports (width: round(down, .1em, 1px)) {
515
515
  --ds-size-0: round(down, calc(var(--ds-size-unit) * 0), 1px);
package/dist/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- /* build: v1.6.1 */
1
+ /* build: v1.7.2 */
2
2
  import type {} from '@digdir/designsystemet/types';
3
3
 
4
4
  // Augment types based on theme
package/package.json CHANGED
@@ -1,8 +1,12 @@
1
1
  {
2
2
  "name": "@kystverket/styrbord-tokens",
3
- "version": "0.3.5",
3
+ "version": "0.3.9",
4
4
  "description": "",
5
5
  "type": "module",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/Kystverket/styrbord-tokens.git"
9
+ },
6
10
  "exports": {
7
11
  ".": {
8
12
  "style": "./dist/kystverket.css"
@@ -18,8 +22,8 @@
18
22
  "dist/**/*"
19
23
  ],
20
24
  "scripts": {
21
- "build": "npx @digdir/designsystemet@1.6.1 tokens build -o dist",
22
- "html": "npx @digdir/designsystemet@1.6.1 tokens build -o dist && npx tsx ds-demo-builder/index.ts"
25
+ "build": "npx @digdir/designsystemet@1.7.2 tokens build -o dist",
26
+ "html": "npx @digdir/designsystemet@1.7.2 tokens build -o dist && npx tsx ds-demo-builder/index.ts"
23
27
  },
24
28
  "author": "",
25
29
  "license": "ISC",