@dsn-starter-kit/design-tokens 6.0.0 → 7.0.0
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 +110 -65
- package/dist/css/scoped/density-default.css +292 -2
- package/dist/css/scoped/density-information-dense.css +291 -3
- package/dist/css/scoped/hero-image.css +635 -0
- package/dist/css/scoped/start-dark.css +744 -175
- package/dist/css/scoped/start-light-hero-image.css +129 -129
- package/dist/css/scoped/start-light.css +742 -173
- package/dist/css/scoped/wireframe-dark.css +735 -165
- package/dist/css/scoped/wireframe-light-hero-image.css +1 -1
- package/dist/css/scoped/wireframe-light.css +735 -165
- package/dist/css/start-dark-default.css +71 -69
- package/dist/css/start-dark-information-dense.css +71 -69
- package/dist/css/start-light-default.css +65 -63
- package/dist/css/start-light-information-dense.css +65 -63
- package/dist/css/variables-dark-scoped.css +744 -175
- package/dist/css/variables-dark.css +71 -69
- package/dist/css/variables.css +65 -63
- package/dist/css/wireframe-dark-default.css +13 -10
- package/dist/css/wireframe-dark-information-dense.css +13 -10
- package/dist/css/wireframe-light-default.css +13 -10
- package/dist/css/wireframe-light-information-dense.css +13 -10
- package/dist/js/start-dark-default.d.ts +2 -0
- package/dist/js/start-dark-default.js +490 -440
- package/dist/js/start-dark-information-dense.d.ts +2 -0
- package/dist/js/start-dark-information-dense.js +490 -440
- package/dist/js/start-light-default.d.ts +2 -0
- package/dist/js/start-light-default.js +468 -418
- package/dist/js/start-light-information-dense.d.ts +2 -0
- package/dist/js/start-light-information-dense.js +468 -418
- package/dist/js/tokens-dark.cjs +496 -440
- package/dist/js/tokens-dark.d.cts +2 -0
- package/dist/js/tokens-dark.d.ts +2 -0
- package/dist/js/tokens-dark.js +490 -440
- package/dist/js/tokens.cjs +474 -418
- package/dist/js/tokens.d.cts +2 -0
- package/dist/js/tokens.d.ts +2 -0
- package/dist/js/tokens.js +468 -418
- package/dist/js/wireframe-dark-default.d.ts +6 -3
- package/dist/js/wireframe-dark-default.js +142 -68
- package/dist/js/wireframe-dark-information-dense.d.ts +6 -3
- package/dist/js/wireframe-dark-information-dense.js +142 -68
- package/dist/js/wireframe-light-default.d.ts +6 -3
- package/dist/js/wireframe-light-default.js +142 -68
- package/dist/js/wireframe-light-information-dense.d.ts +6 -3
- package/dist/js/wireframe-light-information-dense.js +142 -68
- package/dist/json/start-dark-default.json +189 -187
- package/dist/json/start-dark-information-dense.json +189 -187
- package/dist/json/start-light-default.json +181 -179
- package/dist/json/start-light-information-dense.json +181 -179
- package/dist/json/themes.json +12 -0
- package/dist/json/token-docs.json +10 -0
- package/dist/json/tokens-dark.json +189 -187
- package/dist/json/tokens.json +181 -179
- package/dist/json/wireframe-dark-default.json +6 -3
- package/dist/json/wireframe-dark-information-dense.json +6 -3
- package/dist/json/wireframe-light-default.json +6 -3
- package/dist/json/wireframe-light-information-dense.json +6 -3
- package/dist/scss/_start-dark-default.scss +71 -69
- package/dist/scss/_start-dark-information-dense.scss +71 -69
- package/dist/scss/_start-light-default.scss +65 -63
- package/dist/scss/_start-light-information-dense.scss +65 -63
- package/dist/scss/_variables-dark.scss +71 -69
- package/dist/scss/_variables.scss +65 -63
- package/dist/scss/_wireframe-dark-default.scss +13 -10
- package/dist/scss/_wireframe-dark-information-dense.scss +13 -10
- package/dist/scss/_wireframe-light-default.scss +13 -10
- package/dist/scss/_wireframe-light-information-dense.scss +13 -10
- package/package.json +20 -35
- package/dist/css/scoped/density-default-fixed-space.css +0 -67
- package/dist/css/start-dark-default-fixed-space.css +0 -1501
- package/dist/css/start-light-default-fixed-space.css +0 -1501
- package/dist/css/wireframe-dark-default-fixed-space.css +0 -1500
- package/dist/css/wireframe-light-default-fixed-space.css +0 -1500
- package/dist/js/start-dark-default-fixed-space.d.ts +0 -1499
- package/dist/js/start-dark-default-fixed-space.js +0 -35839
- package/dist/js/start-light-default-fixed-space.d.ts +0 -1499
- package/dist/js/start-light-default-fixed-space.js +0 -35839
- package/dist/js/wireframe-dark-default-fixed-space.d.ts +0 -1498
- package/dist/js/wireframe-dark-default-fixed-space.js +0 -35803
- package/dist/js/wireframe-light-default-fixed-space.d.ts +0 -1498
- package/dist/js/wireframe-light-default-fixed-space.js +0 -35803
- package/dist/json/start-dark-default-fixed-space.json +0 -1487
- package/dist/json/start-light-default-fixed-space.json +0 -1487
- package/dist/json/wireframe-dark-default-fixed-space.json +0 -1486
- package/dist/json/wireframe-light-default-fixed-space.json +0 -1486
- package/dist/scss/_start-dark-default-fixed-space.scss +0 -1488
- package/dist/scss/_start-light-default-fixed-space.scss +0 -1488
- package/dist/scss/_wireframe-dark-default-fixed-space.scss +0 -1487
- package/dist/scss/_wireframe-light-default-fixed-space.scss +0 -1487
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dsn-starter-kit/design-tokens",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"description": "Design tokens for the design system",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/js/tokens.cjs",
|
|
@@ -47,43 +47,16 @@
|
|
|
47
47
|
"types": "./css.d.ts",
|
|
48
48
|
"default": "./dist/scss/_variables-dark.scss"
|
|
49
49
|
},
|
|
50
|
-
"./css/scoped
|
|
50
|
+
"./css/scoped/*-hero-image-light": {
|
|
51
51
|
"types": "./css.d.ts",
|
|
52
|
-
"default": "./dist/css/scoped
|
|
52
|
+
"default": "./dist/css/scoped/*-light-hero-image.css"
|
|
53
53
|
},
|
|
54
|
-
"./css/scoped
|
|
54
|
+
"./css/scoped/*": {
|
|
55
55
|
"types": "./css.d.ts",
|
|
56
|
-
"default": "./dist/css/scoped
|
|
57
|
-
},
|
|
58
|
-
"./css/scoped/start-light": {
|
|
59
|
-
"types": "./css.d.ts",
|
|
60
|
-
"default": "./dist/css/scoped/start-light.css"
|
|
61
|
-
},
|
|
62
|
-
"./css/scoped/start-dark": {
|
|
63
|
-
"types": "./css.d.ts",
|
|
64
|
-
"default": "./dist/css/scoped/start-dark.css"
|
|
65
|
-
},
|
|
66
|
-
"./css/scoped/wireframe-light": {
|
|
67
|
-
"types": "./css.d.ts",
|
|
68
|
-
"default": "./dist/css/scoped/wireframe-light.css"
|
|
69
|
-
},
|
|
70
|
-
"./css/scoped/wireframe-dark": {
|
|
71
|
-
"types": "./css.d.ts",
|
|
72
|
-
"default": "./dist/css/scoped/wireframe-dark.css"
|
|
73
|
-
},
|
|
74
|
-
"./css/scoped/density-default": {
|
|
75
|
-
"types": "./css.d.ts",
|
|
76
|
-
"default": "./dist/css/scoped/density-default.css"
|
|
77
|
-
},
|
|
78
|
-
"./css/scoped/density-default-fixed-space": {
|
|
79
|
-
"types": "./css.d.ts",
|
|
80
|
-
"default": "./dist/css/scoped/density-default-fixed-space.css"
|
|
81
|
-
},
|
|
82
|
-
"./css/scoped/density-information-dense": {
|
|
83
|
-
"types": "./css.d.ts",
|
|
84
|
-
"default": "./dist/css/scoped/density-information-dense.css"
|
|
56
|
+
"default": "./dist/css/scoped/*.css"
|
|
85
57
|
},
|
|
86
58
|
"./token-docs.json": "./dist/json/token-docs.json",
|
|
59
|
+
"./themes.json": "./dist/json/themes.json",
|
|
87
60
|
"./package.json": "./package.json"
|
|
88
61
|
},
|
|
89
62
|
"sideEffects": [
|
|
@@ -101,17 +74,29 @@
|
|
|
101
74
|
],
|
|
102
75
|
"author": "Jeffrey Lauwers",
|
|
103
76
|
"license": "MIT",
|
|
77
|
+
"repository": {
|
|
78
|
+
"type": "git",
|
|
79
|
+
"url": "git+https://github.com/jeffreylauwers/design-system-starter-kit.git",
|
|
80
|
+
"directory": "packages/design-tokens"
|
|
81
|
+
},
|
|
82
|
+
"homepage": "https://jeffreylauwers.github.io/design-system-starter-kit/",
|
|
83
|
+
"bugs": {
|
|
84
|
+
"url": "https://github.com/jeffreylauwers/design-system-starter-kit/issues"
|
|
85
|
+
},
|
|
104
86
|
"publishConfig": {
|
|
105
87
|
"access": "public"
|
|
106
88
|
},
|
|
107
89
|
"devDependencies": {
|
|
108
90
|
"style-dictionary": "^5.7.1",
|
|
109
|
-
"tsdown": "^0.23.5"
|
|
91
|
+
"tsdown": "^0.23.5",
|
|
92
|
+
"@dsn-starter-kit/theme-engine": "7.0.0"
|
|
110
93
|
},
|
|
111
94
|
"scripts": {
|
|
112
|
-
"build": "node src/config/build.js && tsdown",
|
|
95
|
+
"build": "node src/config/generate-colors.js && node src/config/build.js && tsdown",
|
|
113
96
|
"build:figma": "node src/config/build-figma.js",
|
|
114
97
|
"clean": "rm -rf dist",
|
|
98
|
+
"generate:colors": "node src/config/generate-colors.js",
|
|
99
|
+
"validate:colors": "node src/config/generate-colors.js --check",
|
|
115
100
|
"watch": "node --watch-path=src src/config/build.js"
|
|
116
101
|
}
|
|
117
102
|
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Do not edit directly
|
|
3
|
-
* Generated on Fri, 13 Nov 2026 08:32:59 GMT
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
.dsn-density-fixed-space {
|
|
7
|
-
--dsn-text-font-size-sm: clamp(0.875rem, 0.80208rem + 0.32407vw, 1.09375rem);
|
|
8
|
-
--dsn-text-font-size-md: clamp(1rem, 0.91667rem + 0.37037vw, 1.25rem);
|
|
9
|
-
--dsn-text-font-size-lg: clamp(1.25rem, 1.14583rem + 0.46296vw, 1.5625rem);
|
|
10
|
-
--dsn-text-font-size-xl: clamp(1.5rem, 1.375rem + 0.55556vw, 1.875rem);
|
|
11
|
-
--dsn-text-font-size-2xl: clamp(2rem, 1.83333rem + 0.74074vw, 2.5rem);
|
|
12
|
-
--dsn-text-font-size-3xl: clamp(2.5rem, 2.29167rem + 0.92593vw, 3.125rem);
|
|
13
|
-
--dsn-text-font-size-4xl: clamp(3rem, 2.75rem + 1.11111vw, 3.75rem);
|
|
14
|
-
--dsn-space-block-2xs: var(--dsn-space-block-min-2xs);
|
|
15
|
-
--dsn-space-block-xs: var(--dsn-space-block-min-xs);
|
|
16
|
-
--dsn-space-block-sm: var(--dsn-space-block-min-sm);
|
|
17
|
-
--dsn-space-block-md: var(--dsn-space-block-min-md);
|
|
18
|
-
--dsn-space-block-lg: var(--dsn-space-block-min-lg);
|
|
19
|
-
--dsn-space-block-xl: var(--dsn-space-block-min-xl);
|
|
20
|
-
--dsn-space-block-2xl: var(--dsn-space-block-min-2xl);
|
|
21
|
-
--dsn-space-block-3xl: var(--dsn-space-block-min-3xl);
|
|
22
|
-
--dsn-space-block-4xl: var(--dsn-space-block-min-4xl);
|
|
23
|
-
--dsn-space-block-5xl: var(--dsn-space-block-min-5xl);
|
|
24
|
-
--dsn-space-block-6xl: var(--dsn-space-block-min-6xl);
|
|
25
|
-
--dsn-space-inline-2xs: var(--dsn-space-inline-min-2xs);
|
|
26
|
-
--dsn-space-inline-xs: var(--dsn-space-inline-min-xs);
|
|
27
|
-
--dsn-space-inline-sm: var(--dsn-space-inline-min-sm);
|
|
28
|
-
--dsn-space-inline-md: var(--dsn-space-inline-min-md);
|
|
29
|
-
--dsn-space-inline-lg: var(--dsn-space-inline-min-lg);
|
|
30
|
-
--dsn-space-inline-xl: var(--dsn-space-inline-min-xl);
|
|
31
|
-
--dsn-space-inline-2xl: var(--dsn-space-inline-min-2xl);
|
|
32
|
-
--dsn-space-inline-3xl: var(--dsn-space-inline-min-3xl);
|
|
33
|
-
--dsn-space-inline-4xl: var(--dsn-space-inline-min-4xl);
|
|
34
|
-
--dsn-space-inline-5xl: var(--dsn-space-inline-min-5xl);
|
|
35
|
-
--dsn-space-inline-6xl: var(--dsn-space-inline-min-6xl);
|
|
36
|
-
--dsn-space-text-3xs: var(--dsn-space-text-min-3xs);
|
|
37
|
-
--dsn-space-text-2xs: var(--dsn-space-text-min-2xs);
|
|
38
|
-
--dsn-space-text-xs: var(--dsn-space-text-min-xs);
|
|
39
|
-
--dsn-space-text-sm: var(--dsn-space-text-min-sm);
|
|
40
|
-
--dsn-space-text-md: var(--dsn-space-text-min-md);
|
|
41
|
-
--dsn-space-text-lg: var(--dsn-space-text-min-lg);
|
|
42
|
-
--dsn-space-text-xl: var(--dsn-space-text-min-xl);
|
|
43
|
-
--dsn-space-text-2xl: var(--dsn-space-text-min-2xl);
|
|
44
|
-
--dsn-space-text-3xl: var(--dsn-space-text-min-3xl);
|
|
45
|
-
--dsn-space-column-2xs: var(--dsn-space-column-min-2xs);
|
|
46
|
-
--dsn-space-column-xs: var(--dsn-space-column-min-xs);
|
|
47
|
-
--dsn-space-column-sm: var(--dsn-space-column-min-sm);
|
|
48
|
-
--dsn-space-column-md: var(--dsn-space-column-min-md);
|
|
49
|
-
--dsn-space-column-lg: var(--dsn-space-column-min-lg);
|
|
50
|
-
--dsn-space-column-xl: var(--dsn-space-column-min-xl);
|
|
51
|
-
--dsn-space-column-2xl: var(--dsn-space-column-min-2xl);
|
|
52
|
-
--dsn-space-column-3xl: var(--dsn-space-column-min-3xl);
|
|
53
|
-
--dsn-space-column-4xl: var(--dsn-space-column-min-4xl);
|
|
54
|
-
--dsn-space-column-5xl: var(--dsn-space-column-min-5xl);
|
|
55
|
-
--dsn-space-column-6xl: var(--dsn-space-column-min-6xl);
|
|
56
|
-
--dsn-space-row-2xs: var(--dsn-space-row-min-2xs);
|
|
57
|
-
--dsn-space-row-xs: var(--dsn-space-row-min-xs);
|
|
58
|
-
--dsn-space-row-sm: var(--dsn-space-row-min-sm);
|
|
59
|
-
--dsn-space-row-md: var(--dsn-space-row-min-md);
|
|
60
|
-
--dsn-space-row-lg: var(--dsn-space-row-min-lg);
|
|
61
|
-
--dsn-space-row-xl: var(--dsn-space-row-min-xl);
|
|
62
|
-
--dsn-space-row-2xl: var(--dsn-space-row-min-2xl);
|
|
63
|
-
--dsn-space-row-3xl: var(--dsn-space-row-min-3xl);
|
|
64
|
-
--dsn-space-row-4xl: var(--dsn-space-row-min-4xl);
|
|
65
|
-
--dsn-space-row-5xl: var(--dsn-space-row-min-5xl);
|
|
66
|
-
--dsn-space-row-6xl: var(--dsn-space-row-min-6xl);
|
|
67
|
-
}
|