@dsn-starter-kit/design-tokens 4.2.0 → 4.3.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 +69 -41
- package/dist/css/scoped/density-default-fixed-space.css +67 -0
- package/dist/css/scoped/density-default.css +61 -8
- package/dist/css/scoped/density-information-dense.css +61 -8
- package/dist/css/scoped/start-dark.css +1 -1
- package/dist/css/scoped/start-light-hero-image.css +1 -1
- package/dist/css/scoped/start-light.css +1 -1
- package/dist/css/scoped/wireframe-dark.css +1 -1
- package/dist/css/scoped/wireframe-light-hero-image.css +1 -1
- package/dist/css/scoped/wireframe-light.css +1 -1
- package/dist/css/start-dark-default-fixed-space.css +1558 -0
- package/dist/css/start-dark-default.css +461 -338
- package/dist/css/start-dark-information-dense.css +461 -338
- package/dist/css/start-light-default-fixed-space.css +1558 -0
- package/dist/css/start-light-default.css +461 -338
- package/dist/css/start-light-information-dense.css +461 -338
- package/dist/css/variables-dark-scoped.css +1 -1
- package/dist/css/variables-dark.css +461 -338
- package/dist/css/variables.css +461 -338
- package/dist/css/wireframe-dark-default-fixed-space.css +1554 -0
- package/dist/css/wireframe-dark-default.css +463 -340
- package/dist/css/wireframe-dark-information-dense.css +461 -338
- package/dist/css/wireframe-light-default-fixed-space.css +1554 -0
- package/dist/css/wireframe-light-default.css +463 -340
- package/dist/css/wireframe-light-information-dense.css +461 -338
- package/dist/js/start-dark-default-fixed-space.d.ts +1556 -0
- package/dist/js/start-dark-default-fixed-space.js +33260 -0
- package/dist/js/start-dark-default.d.ts +123 -0
- package/dist/js/start-dark-default.js +4077 -1220
- package/dist/js/start-dark-information-dense.d.ts +123 -0
- package/dist/js/start-dark-information-dense.js +3379 -562
- package/dist/js/start-light-default-fixed-space.d.ts +1556 -0
- package/dist/js/start-light-default-fixed-space.js +33256 -0
- package/dist/js/start-light-default.d.ts +123 -0
- package/dist/js/start-light-default.js +4077 -1220
- package/dist/js/start-light-information-dense.d.ts +123 -0
- package/dist/js/start-light-information-dense.js +3379 -562
- package/dist/js/tokens-dark.cjs +4358 -1015
- package/dist/js/tokens-dark.d.cts +123 -0
- package/dist/js/tokens-dark.d.ts +123 -0
- package/dist/js/tokens-dark.js +4077 -1220
- package/dist/js/tokens.cjs +4358 -1015
- package/dist/js/tokens.d.cts +123 -0
- package/dist/js/tokens.d.ts +123 -0
- package/dist/js/tokens.js +4077 -1220
- package/dist/js/wireframe-dark-default-fixed-space.d.ts +1552 -0
- package/dist/js/wireframe-dark-default-fixed-space.js +32805 -0
- package/dist/js/wireframe-dark-default.d.ts +123 -0
- package/dist/js/wireframe-dark-default.js +4076 -1220
- package/dist/js/wireframe-dark-information-dense.d.ts +123 -0
- package/dist/js/wireframe-dark-information-dense.js +3379 -562
- package/dist/js/wireframe-light-default-fixed-space.d.ts +1552 -0
- package/dist/js/wireframe-light-default-fixed-space.js +32805 -0
- package/dist/js/wireframe-light-default.d.ts +123 -0
- package/dist/js/wireframe-light-default.js +4076 -1220
- package/dist/js/wireframe-light-information-dense.d.ts +123 -0
- package/dist/js/wireframe-light-information-dense.js +3379 -562
- package/dist/json/start-dark-default-fixed-space.json +1544 -0
- package/dist/json/start-dark-default.json +446 -323
- package/dist/json/start-dark-information-dense.json +129 -6
- package/dist/json/start-light-default-fixed-space.json +1544 -0
- package/dist/json/start-light-default.json +446 -323
- package/dist/json/start-light-information-dense.json +129 -6
- package/dist/json/tokens-dark.json +446 -323
- package/dist/json/tokens.json +446 -323
- package/dist/json/wireframe-dark-default-fixed-space.json +1540 -0
- package/dist/json/wireframe-dark-default.json +446 -323
- package/dist/json/wireframe-dark-information-dense.json +129 -6
- package/dist/json/wireframe-light-default-fixed-space.json +1540 -0
- package/dist/json/wireframe-light-default.json +446 -323
- package/dist/json/wireframe-light-information-dense.json +129 -6
- package/dist/scss/_start-dark-default-fixed-space.scss +1545 -0
- package/dist/scss/_start-dark-default.scss +461 -338
- package/dist/scss/_start-dark-information-dense.scss +461 -338
- package/dist/scss/_start-light-default-fixed-space.scss +1545 -0
- package/dist/scss/_start-light-default.scss +461 -338
- package/dist/scss/_start-light-information-dense.scss +461 -338
- package/dist/scss/_variables-dark.scss +461 -338
- package/dist/scss/_variables.scss +461 -338
- package/dist/scss/_wireframe-dark-default-fixed-space.scss +1541 -0
- package/dist/scss/_wireframe-dark-default.scss +463 -340
- package/dist/scss/_wireframe-dark-information-dense.scss +461 -338
- package/dist/scss/_wireframe-light-default-fixed-space.scss +1541 -0
- package/dist/scss/_wireframe-light-default.scss +463 -340
- package/dist/scss/_wireframe-light-information-dense.scss +461 -338
- package/package.json +5 -1
package/README.md
CHANGED
|
@@ -6,22 +6,26 @@ Design tokens for the design system: the single source of truth for colors, typo
|
|
|
6
6
|
|
|
7
7
|
Tokens are organized in a **three-axis configuration model**:
|
|
8
8
|
|
|
9
|
-
| Axis | Values
|
|
10
|
-
| ---------------- |
|
|
11
|
-
| **Theme** | `start`, `wireframe`, ...
|
|
12
|
-
| **Mode** | `light`, `dark`
|
|
13
|
-
| **Project Type** | `default`, `information-dense` |
|
|
9
|
+
| Axis | Values | Affects |
|
|
10
|
+
| ---------------- | ----------------------------------------------------- | -------------------------------------------------------- |
|
|
11
|
+
| **Theme** | `start`, `wireframe`, ... | All tokens (typography, spacing, borders, focus, colors) |
|
|
12
|
+
| **Mode** | `light`, `dark` | Only color tokens |
|
|
13
|
+
| **Project Type** | `default`, `default-fixed-space`, `information-dense` | Which scales are fluid: font sizes and spacing |
|
|
14
14
|
|
|
15
15
|
This creates a matrix of configurations: **Theme × Mode × Project Type**.
|
|
16
16
|
|
|
17
17
|
```
|
|
18
18
|
start-light-default
|
|
19
|
+
start-light-default-fixed-space
|
|
19
20
|
start-light-information-dense
|
|
20
21
|
start-dark-default
|
|
22
|
+
start-dark-default-fixed-space
|
|
21
23
|
start-dark-information-dense
|
|
22
24
|
wireframe-light-default
|
|
25
|
+
wireframe-light-default-fixed-space
|
|
23
26
|
wireframe-light-information-dense
|
|
24
27
|
wireframe-dark-default
|
|
28
|
+
wireframe-dark-default-fixed-space
|
|
25
29
|
wireframe-dark-information-dense
|
|
26
30
|
```
|
|
27
31
|
|
|
@@ -29,7 +33,7 @@ wireframe-dark-information-dense
|
|
|
29
33
|
|
|
30
34
|
- **Theme**: Defines the visual identity/branding. Different clients or products can have their own theme while sharing the same component library.
|
|
31
35
|
- **Mode**: Light/dark color schemes. Users can switch modes without changing the theme.
|
|
32
|
-
- **Project Type**:
|
|
36
|
+
- **Project Type**: Density. `default` lets font sizes and spacing grow with the viewport, `default-fixed-space` only the font sizes, and `information-dense` (dashboards, data tables) keeps both fixed.
|
|
33
37
|
|
|
34
38
|
## Folder Structure
|
|
35
39
|
|
|
@@ -37,7 +41,7 @@ wireframe-dark-information-dense
|
|
|
37
41
|
src/tokens/
|
|
38
42
|
├── themes/
|
|
39
43
|
│ ├── start/ # Default theme
|
|
40
|
-
│ │ ├── base.json # Typography
|
|
44
|
+
│ │ ├── base.json # Typography, min/max font sizes and spacing, sizing, borders, focus
|
|
41
45
|
│ │ ├── colors-light.json # Light mode colors
|
|
42
46
|
│ │ └── colors-dark.json # Dark mode colors
|
|
43
47
|
│ └── wireframe/ # Wireframe/prototype theme
|
|
@@ -46,9 +50,11 @@ src/tokens/
|
|
|
46
50
|
│ └── colors-dark.json # Inverted grayscale
|
|
47
51
|
├── project-types/
|
|
48
52
|
│ ├── default/
|
|
49
|
-
│ │
|
|
53
|
+
│ │ ├── typography.json # fluid() font sizes (default-fixed-space uses only this file)
|
|
54
|
+
│ │ └── space.json # fluid() spacing
|
|
50
55
|
│ └── information-dense/
|
|
51
|
-
│
|
|
56
|
+
│ ├── typography.json # Fixed font sizes (the min values)
|
|
57
|
+
│ └── grid.json # Compact grid gutter
|
|
52
58
|
└── components/
|
|
53
59
|
└── form-control.json # Component-level semantic tokens
|
|
54
60
|
```
|
|
@@ -57,8 +63,9 @@ src/tokens/
|
|
|
57
63
|
|
|
58
64
|
### In Theme Base (`themes/*/base.json`)
|
|
59
65
|
|
|
60
|
-
- **
|
|
61
|
-
- **
|
|
66
|
+
- **Viewport**: `dsn.viewport.min-inline-size` (360px) and `max-inline-size` (1440px), the range of the fluid scale
|
|
67
|
+
- **Typography**: Font families, weights, line heights, and per font size a min and max value (`dsn.text.font-size.min.*` / `max.*`)
|
|
68
|
+
- **Spacing**: 5 concepts (block, inline, text, column, row), each size with a min and max value (`dsn.space.*.min.*` / `max.*`). The size itself (`dsn.space.block.md`) refers to the min value, so it is fixed unless a project type makes it fluid
|
|
62
69
|
- **Sizing**: Icon sizes (coupled to typography)
|
|
63
70
|
- **Borders**: Radius and width values
|
|
64
71
|
- **Focus States**: Accessible focus indicators
|
|
@@ -71,11 +78,19 @@ src/tokens/
|
|
|
71
78
|
- Each with: bg, border, color × document, subtle, default, hover, active
|
|
72
79
|
- Plus inverse variants for dark backgrounds
|
|
73
80
|
|
|
74
|
-
### In Project Type (`project-types
|
|
81
|
+
### In Project Type (`project-types/*/`)
|
|
75
82
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
83
|
+
A project type decides per size whether it grows with the viewport. `fluid({min}, {max})` grows from the min value at 360px to the max value at 1440px; the `dsn/fluid` transform in `src/config/config.js` turns it into a `clamp()`. A plain reference to the min value stays fixed.
|
|
84
|
+
|
|
85
|
+
```json
|
|
86
|
+
"md": { "$value": "fluid({dsn.text.font-size.min.md}, {dsn.text.font-size.max.md})" }
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
| Project type | Font sizes | Spacing |
|
|
90
|
+
| --------------------- | ----------- | ----------- |
|
|
91
|
+
| `default` | fluid | fluid |
|
|
92
|
+
| `default-fixed-space` | fluid | fixed (min) |
|
|
93
|
+
| `information-dense` | fixed (min) | fixed (min) |
|
|
79
94
|
|
|
80
95
|
## Installation
|
|
81
96
|
|
|
@@ -98,16 +113,20 @@ pnpm add @dsn-starter-kit/design-tokens
|
|
|
98
113
|
|
|
99
114
|
### Available Configurations
|
|
100
115
|
|
|
101
|
-
| Configuration
|
|
102
|
-
|
|
|
103
|
-
| `start-light-default`
|
|
104
|
-
| `start-light-
|
|
105
|
-
| `start-
|
|
106
|
-
| `start-dark-
|
|
107
|
-
| `
|
|
108
|
-
| `
|
|
109
|
-
| `wireframe-
|
|
110
|
-
| `wireframe-
|
|
116
|
+
| Configuration | Description |
|
|
117
|
+
| ------------------------------------- | ------------------------------------------------------ |
|
|
118
|
+
| `start-light-default` | Start theme, light mode, fluid text and spacing |
|
|
119
|
+
| `start-light-default-fixed-space` | Start theme, light mode, fluid text, fixed spacing |
|
|
120
|
+
| `start-light-information-dense` | Start theme, light mode, fixed text and spacing |
|
|
121
|
+
| `start-dark-default` | Start theme, dark mode, fluid text and spacing |
|
|
122
|
+
| `start-dark-default-fixed-space` | Start theme, dark mode, fluid text, fixed spacing |
|
|
123
|
+
| `start-dark-information-dense` | Start theme, dark mode, fixed text and spacing |
|
|
124
|
+
| `wireframe-light-default` | Wireframe theme, light mode, fluid text and spacing |
|
|
125
|
+
| `wireframe-light-default-fixed-space` | Wireframe theme, light mode, fluid text, fixed spacing |
|
|
126
|
+
| `wireframe-light-information-dense` | Wireframe theme, light mode, fixed text and spacing |
|
|
127
|
+
| `wireframe-dark-default` | Wireframe theme, dark mode, fluid text and spacing |
|
|
128
|
+
| `wireframe-dark-default-fixed-space` | Wireframe theme, dark mode, fluid text, fixed spacing |
|
|
129
|
+
| `wireframe-dark-information-dense` | Wireframe theme, dark mode, fixed text and spacing |
|
|
111
130
|
|
|
112
131
|
### SCSS
|
|
113
132
|
|
|
@@ -214,15 +233,15 @@ For existing consumers, these aliases are maintained:
|
|
|
214
233
|
└── typography.json
|
|
215
234
|
```
|
|
216
235
|
|
|
217
|
-
2. Define font
|
|
236
|
+
2. Define all font sizes (sm, md, lg, xl, 2xl, 3xl, 4xl). Refer to the min and max tokens of the theme: `fluid({min}, {max})` grows with the viewport, a single reference stays fixed:
|
|
218
237
|
|
|
219
238
|
```json
|
|
220
239
|
{
|
|
221
240
|
"dsn": {
|
|
222
241
|
"text": {
|
|
223
242
|
"font-size": {
|
|
224
|
-
"sm": { "value": "
|
|
225
|
-
"md": { "value": "
|
|
243
|
+
"sm": { "$value": "fluid({dsn.text.font-size.min.sm}, {dsn.text.font-size.max.sm})" },
|
|
244
|
+
"md": { "$value": "{dsn.text.font-size.min.md}" },
|
|
226
245
|
...
|
|
227
246
|
}
|
|
228
247
|
}
|
|
@@ -230,10 +249,17 @@ For existing consumers, these aliases are maintained:
|
|
|
230
249
|
}
|
|
231
250
|
```
|
|
232
251
|
|
|
233
|
-
|
|
252
|
+
Spacing works the same way (see `project-types/default/space.json`). Without a spacing file, spacing stays at the fixed min values of the theme.
|
|
253
|
+
|
|
254
|
+
3. Update `src/config/config.js`: add the name to `projectTypes`, its files to `projectTypeSources` and a class to `densitySelectors`:
|
|
234
255
|
|
|
235
256
|
```js
|
|
236
|
-
const projectTypes = [
|
|
257
|
+
const projectTypes = [
|
|
258
|
+
'default',
|
|
259
|
+
'default-fixed-space',
|
|
260
|
+
'information-dense',
|
|
261
|
+
'my-density',
|
|
262
|
+
];
|
|
237
263
|
```
|
|
238
264
|
|
|
239
265
|
4. Build.
|
|
@@ -254,17 +280,19 @@ For existing consumers, these aliases are maintained:
|
|
|
254
280
|
- **Colors**: Grayscale only: all semantic colors alias to neutral/accent-1
|
|
255
281
|
- **Focus**: Blue outline (standard browser style)
|
|
256
282
|
|
|
257
|
-
###
|
|
283
|
+
### Font sizes per project type
|
|
284
|
+
|
|
285
|
+
| Size | Min (360px) | Max (1440px) | `default` and `default-fixed-space` | `information-dense` |
|
|
286
|
+
| ---- | ----------- | ------------ | ----------------------------------- | ------------------- |
|
|
287
|
+
| sm | 14px | 17.5px | fluid, min → max | 14px |
|
|
288
|
+
| md | 16px | 20px | fluid, min → max | 16px |
|
|
289
|
+
| lg | 20px | 25px | fluid, min → max | 20px |
|
|
290
|
+
| xl | 24px | 30px | fluid, min → max | 24px |
|
|
291
|
+
| 2xl | 32px | 40px | fluid, min → max | 32px |
|
|
292
|
+
| 3xl | 40px | 50px | fluid, min → max | 40px |
|
|
293
|
+
| 4xl | 48px | 60px | fluid, min → max | 48px |
|
|
258
294
|
|
|
259
|
-
|
|
260
|
-
| ---- | ------------------------------------------------ | ------------------------- |
|
|
261
|
-
| sm | `clamp(0.875rem, 0.75rem + 0.25vw, 1.0625rem)` | `0.875rem` |
|
|
262
|
-
| md | `clamp(1rem, 0.875rem + 0.375vw, 1.28125rem)` | `1rem` |
|
|
263
|
-
| lg | `clamp(1.25rem, 1.125rem + 0.375vw, 1.53125rem)` | `1.125rem` |
|
|
264
|
-
| xl | `clamp(1.5rem, 1.25rem + 0.625vw, 1.9375rem)` | `1.25rem` |
|
|
265
|
-
| 2xl | `clamp(2rem, 1.75rem + 0.75vw, 2.5625rem)` | `1.5rem` |
|
|
266
|
-
| 3xl | `clamp(2.5rem, 2.125rem + 1.125vw, 3.3125rem)` | `1.875rem` |
|
|
267
|
-
| 4xl | `clamp(3rem, 2.5rem + 1.5vw, 4.125rem)` | `2.25rem` |
|
|
295
|
+
Spacing follows the same pattern with max = min × 1.25 (sizes of 1px and 2px stay fixed). See `docs/02-design-tokens-reference.md` for the full scale.
|
|
268
296
|
|
|
269
297
|
## Building
|
|
270
298
|
|
|
@@ -278,7 +306,7 @@ Storybook is configured with three toolbar controls:
|
|
|
278
306
|
|
|
279
307
|
- **Theme**: Switch between Start and Wireframe
|
|
280
308
|
- **Mode**: Switch between Light and Dark
|
|
281
|
-
- **Density**: Switch between Default (Fluid) and Information Dense (Fixed)
|
|
309
|
+
- **Density**: Switch between Default (Fluid), Default (Fluid text, fixed space) and Information Dense (Fixed)
|
|
282
310
|
|
|
283
311
|
The TokenTable component shows live computed CSS values that update when you change these settings.
|
|
284
312
|
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly
|
|
3
|
+
* Generated on Mon, 12 Oct 2026 15:30:15 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
|
+
}
|
|
@@ -1,14 +1,67 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Mon, 12 Oct 2026 15:30:15 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
:root {
|
|
7
|
-
--dsn-text-font-size-sm: clamp(0.875rem, 0.
|
|
8
|
-
--dsn-text-font-size-md: clamp(1rem, 0.
|
|
9
|
-
--dsn-text-font-size-lg: clamp(1.25rem, 1.
|
|
10
|
-
--dsn-text-font-size-xl: clamp(1.5rem, 1.
|
|
11
|
-
--dsn-text-font-size-2xl: clamp(2rem, 1.
|
|
12
|
-
--dsn-text-font-size-3xl: clamp(2.5rem, 2.
|
|
13
|
-
--dsn-text-font-size-4xl: clamp(3rem, 2.
|
|
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: calc(0.5rem * 0.125);
|
|
15
|
+
--dsn-space-block-xs: calc(0.5rem * 0.25);
|
|
16
|
+
--dsn-space-block-sm: clamp(0.25rem, 0.22917rem + 0.09259vw, 0.3125rem);
|
|
17
|
+
--dsn-space-block-md: clamp(0.5rem, 0.45833rem + 0.18519vw, 0.625rem);
|
|
18
|
+
--dsn-space-block-lg: clamp(0.75rem, 0.6875rem + 0.27778vw, 0.9375rem);
|
|
19
|
+
--dsn-space-block-xl: clamp(1rem, 0.91667rem + 0.37037vw, 1.25rem);
|
|
20
|
+
--dsn-space-block-2xl: clamp(1.25rem, 1.14583rem + 0.46296vw, 1.5625rem);
|
|
21
|
+
--dsn-space-block-3xl: clamp(1.5rem, 1.375rem + 0.55556vw, 1.875rem);
|
|
22
|
+
--dsn-space-block-4xl: clamp(2rem, 1.83333rem + 0.74074vw, 2.5rem);
|
|
23
|
+
--dsn-space-block-5xl: clamp(3rem, 2.75rem + 1.11111vw, 3.75rem);
|
|
24
|
+
--dsn-space-block-6xl: clamp(4rem, 3.66667rem + 1.48148vw, 5rem);
|
|
25
|
+
--dsn-space-inline-2xs: calc(0.5rem * 0.125);
|
|
26
|
+
--dsn-space-inline-xs: calc(0.5rem * 0.25);
|
|
27
|
+
--dsn-space-inline-sm: clamp(0.25rem, 0.22917rem + 0.09259vw, 0.3125rem);
|
|
28
|
+
--dsn-space-inline-md: clamp(0.5rem, 0.45833rem + 0.18519vw, 0.625rem);
|
|
29
|
+
--dsn-space-inline-lg: clamp(0.75rem, 0.6875rem + 0.27778vw, 0.9375rem);
|
|
30
|
+
--dsn-space-inline-xl: clamp(1rem, 0.91667rem + 0.37037vw, 1.25rem);
|
|
31
|
+
--dsn-space-inline-2xl: clamp(1.25rem, 1.14583rem + 0.46296vw, 1.5625rem);
|
|
32
|
+
--dsn-space-inline-3xl: clamp(1.5rem, 1.375rem + 0.55556vw, 1.875rem);
|
|
33
|
+
--dsn-space-inline-4xl: clamp(2rem, 1.83333rem + 0.74074vw, 2.5rem);
|
|
34
|
+
--dsn-space-inline-5xl: clamp(3rem, 2.75rem + 1.11111vw, 3.75rem);
|
|
35
|
+
--dsn-space-inline-6xl: clamp(4rem, 3.66667rem + 1.48148vw, 5rem);
|
|
36
|
+
--dsn-space-text-3xs: calc(0.5rem * 0.125);
|
|
37
|
+
--dsn-space-text-2xs: calc(0.5rem * 0.25);
|
|
38
|
+
--dsn-space-text-xs: calc(0.5rem * 0.25);
|
|
39
|
+
--dsn-space-text-sm: clamp(0.25rem, 0.22917rem + 0.09259vw, 0.3125rem);
|
|
40
|
+
--dsn-space-text-md: clamp(0.5rem, 0.45833rem + 0.18519vw, 0.625rem);
|
|
41
|
+
--dsn-space-text-lg: clamp(0.75rem, 0.6875rem + 0.27778vw, 0.9375rem);
|
|
42
|
+
--dsn-space-text-xl: clamp(1rem, 0.91667rem + 0.37037vw, 1.25rem);
|
|
43
|
+
--dsn-space-text-2xl: clamp(1.25rem, 1.14583rem + 0.46296vw, 1.5625rem);
|
|
44
|
+
--dsn-space-text-3xl: clamp(1.5rem, 1.375rem + 0.55556vw, 1.875rem);
|
|
45
|
+
--dsn-space-column-2xs: calc(0.5rem * 0.125);
|
|
46
|
+
--dsn-space-column-xs: calc(0.5rem * 0.25);
|
|
47
|
+
--dsn-space-column-sm: clamp(0.25rem, 0.22917rem + 0.09259vw, 0.3125rem);
|
|
48
|
+
--dsn-space-column-md: clamp(0.5rem, 0.45833rem + 0.18519vw, 0.625rem);
|
|
49
|
+
--dsn-space-column-lg: clamp(0.75rem, 0.6875rem + 0.27778vw, 0.9375rem);
|
|
50
|
+
--dsn-space-column-xl: clamp(1rem, 0.91667rem + 0.37037vw, 1.25rem);
|
|
51
|
+
--dsn-space-column-2xl: clamp(1.25rem, 1.14583rem + 0.46296vw, 1.5625rem);
|
|
52
|
+
--dsn-space-column-3xl: clamp(1.5rem, 1.375rem + 0.55556vw, 1.875rem);
|
|
53
|
+
--dsn-space-column-4xl: clamp(2rem, 1.83333rem + 0.74074vw, 2.5rem);
|
|
54
|
+
--dsn-space-column-5xl: clamp(4rem, 3.66667rem + 1.48148vw, 5rem);
|
|
55
|
+
--dsn-space-column-6xl: clamp(10rem, 9.16667rem + 3.7037vw, 12.5rem);
|
|
56
|
+
--dsn-space-row-2xs: calc(0.5rem * 0.125);
|
|
57
|
+
--dsn-space-row-xs: calc(0.5rem * 0.25);
|
|
58
|
+
--dsn-space-row-sm: clamp(0.25rem, 0.22917rem + 0.09259vw, 0.3125rem);
|
|
59
|
+
--dsn-space-row-md: clamp(0.5rem, 0.45833rem + 0.18519vw, 0.625rem);
|
|
60
|
+
--dsn-space-row-lg: clamp(0.75rem, 0.6875rem + 0.27778vw, 0.9375rem);
|
|
61
|
+
--dsn-space-row-xl: clamp(1rem, 0.91667rem + 0.37037vw, 1.25rem);
|
|
62
|
+
--dsn-space-row-2xl: clamp(1.25rem, 1.14583rem + 0.46296vw, 1.5625rem);
|
|
63
|
+
--dsn-space-row-3xl: clamp(1.5rem, 1.375rem + 0.55556vw, 1.875rem);
|
|
64
|
+
--dsn-space-row-4xl: clamp(2rem, 1.83333rem + 0.74074vw, 2.5rem);
|
|
65
|
+
--dsn-space-row-5xl: clamp(4rem, 3.66667rem + 1.48148vw, 5rem);
|
|
66
|
+
--dsn-space-row-6xl: clamp(10rem, 9.16667rem + 3.7037vw, 12.5rem);
|
|
14
67
|
}
|
|
@@ -1,16 +1,69 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Mon, 12 Oct 2026 15:30:15 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
.dsn-density-dense {
|
|
7
|
+
--dsn-text-font-size-sm: var(--dsn-text-font-size-min-sm);
|
|
8
|
+
--dsn-text-font-size-md: var(--dsn-text-font-size-min-md);
|
|
9
|
+
--dsn-text-font-size-lg: var(--dsn-text-font-size-min-lg);
|
|
10
|
+
--dsn-text-font-size-xl: var(--dsn-text-font-size-min-xl);
|
|
11
|
+
--dsn-text-font-size-2xl: var(--dsn-text-font-size-min-2xl);
|
|
12
|
+
--dsn-text-font-size-3xl: var(--dsn-text-font-size-min-3xl);
|
|
13
|
+
--dsn-text-font-size-4xl: var(--dsn-text-font-size-min-4xl);
|
|
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);
|
|
7
67
|
--dsn-grid-gutter: calc(0.5rem * 1);
|
|
8
68
|
--dsn-grid-row-gap: calc(0.5rem * 1);
|
|
9
|
-
--dsn-text-font-size-sm: 0.875rem;
|
|
10
|
-
--dsn-text-font-size-md: 1rem;
|
|
11
|
-
--dsn-text-font-size-lg: 1.25rem;
|
|
12
|
-
--dsn-text-font-size-xl: 1.5rem;
|
|
13
|
-
--dsn-text-font-size-2xl: 2rem;
|
|
14
|
-
--dsn-text-font-size-3xl: 2.5rem;
|
|
15
|
-
--dsn-text-font-size-4xl: 3rem;
|
|
16
69
|
}
|