@massimo-cassandro/minimo 0.8.3 → 0.8.5
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/design-tokens-utilities/build-tokens-src/formats/css.mjs +7 -1
- package/design-tokens-utilities/build-tokens.mjs +12 -3
- package/package.json +1 -1
- package/src/custom-properties-default.css +6 -6
- package/design-tokens/btn-primary.minimo.tokens.jsonc +0 -182
- package/design-tokens/components/recaptcha.minimo.tokens.jsonc +0 -28
- package/design-tokens/components/toast.minimo.tokens.jsonc +0 -32
- package/design-tokens/recaptcha.minimo.tokens.jsonc +0 -28
- package/design-tokens/sf-macro.minimo.tokens.jsonc +0 -66
- package/design-tokens/simple-datatable.minimo.tokens.jsonc +0 -51
- package/design-tokens/spinner.minimo.tokens.jsonc +0 -24
- package/design-tokens/toast.minimo.tokens.jsonc +0 -32
|
@@ -208,7 +208,13 @@ StyleDictionary.registerFormat({
|
|
|
208
208
|
// e.g. color-mix(in srgb, {btn.secondary.background.color} 60%, #000)
|
|
209
209
|
// {references} are replaced with var(--name); arithmetic gets calc().
|
|
210
210
|
const resolved = resolveRefs(orig);
|
|
211
|
-
|
|
211
|
+
// Strip var(...) and CSS function calls (word chars + hyphens followed by '(')
|
|
212
|
+
// before checking for arithmetic operators, so that hyphens in names like
|
|
213
|
+
// "color-mix" or "linear-gradient" don't trigger a spurious calc() wrap.
|
|
214
|
+
const stripped = resolved
|
|
215
|
+
.replace(/var\([^)]+\)/g, '0')
|
|
216
|
+
.replace(/[\w-]+\(/g, '(');
|
|
217
|
+
const isCalcNeeded = /[+\-*/]/.test(stripped);
|
|
212
218
|
value = isCalcNeeded ? `calc(${resolved})` : resolved;
|
|
213
219
|
|
|
214
220
|
} else {
|
|
@@ -61,7 +61,16 @@ if (penpotBuildPath && !penpotDestFile) {
|
|
|
61
61
|
concreteFilePaths = await collectConcreteFilePaths(sdInit);
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
// ── 7.
|
|
64
|
+
// ── 7. Clean penpot output directory ─────────────────────────────────────────
|
|
65
|
+
// Wipe the destination folder before writing new files so that tokens removed
|
|
66
|
+
// from the source are not left behind as stale artefacts.
|
|
67
|
+
if (penpotBuildPath) {
|
|
68
|
+
const { rm, mkdir } = await import('fs/promises');
|
|
69
|
+
await rm(penpotBuildPath, { recursive: true, force: true });
|
|
70
|
+
await mkdir(penpotBuildPath, { recursive: true });
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
// ── 8. Build ──────────────────────────────────────────────────────────────────
|
|
65
74
|
const sd = new StyleDictionary({
|
|
66
75
|
source,
|
|
67
76
|
log: { verbosity: 'verbose' },
|
|
@@ -78,7 +87,7 @@ const sd = new StyleDictionary({
|
|
|
78
87
|
|
|
79
88
|
await sd.buildAllPlatforms();
|
|
80
89
|
|
|
81
|
-
// ──
|
|
90
|
+
// ── 9. CSS lint ───────────────────────────────────────────────────────────────
|
|
82
91
|
const stylelintConfig = await import(pathToFileURL(stylelintConfigPath)).then(m => m.default);
|
|
83
92
|
|
|
84
93
|
await stylelint.lint({
|
|
@@ -87,7 +96,7 @@ await stylelint.lint({
|
|
|
87
96
|
fix: true,
|
|
88
97
|
});
|
|
89
98
|
|
|
90
|
-
// ──
|
|
99
|
+
// ── 10. Log ────────────────────────────────────────────────────────────────────
|
|
91
100
|
const short = (p) => p.replace(homedir(), '~');
|
|
92
101
|
|
|
93
102
|
console.log(styleText(['yellow'], `[build-tokens] config file : ${short(configAbsPath)}`));
|
package/package.json
CHANGED
|
@@ -45,13 +45,13 @@
|
|
|
45
45
|
--btn-md-padding-inline: var(--size-sm);
|
|
46
46
|
--btn-padding-block: var(--size-xs);
|
|
47
47
|
--btn-padding-inline: var(--size-base);
|
|
48
|
-
--btn-primary-active-background-color:
|
|
48
|
+
--btn-primary-active-background-color: color-mix(in srgb, var(--btn-primary-background-color) 60%, #000);
|
|
49
49
|
--btn-primary-active-border-color: var(--btn-primary-active-background-color);
|
|
50
50
|
--btn-primary-active-color: var(--btn-primary-color);
|
|
51
51
|
--btn-primary-background-color: var(--primary-100);
|
|
52
52
|
--btn-primary-border-color: var(--btn-primary-background-color);
|
|
53
53
|
--btn-primary-color: var(--primary-100-fg);
|
|
54
|
-
--btn-primary-focus-outline-color:
|
|
54
|
+
--btn-primary-focus-outline-color: color-mix(in srgb, var(--btn-primary-background-color) 60%, transparent);
|
|
55
55
|
--btn-primary-hollow-background-color: var(--btn-primary-color);
|
|
56
56
|
--btn-primary-hollow-color: var(--btn-primary-background-color);
|
|
57
57
|
--btn-primary-hollow-hover-background-color: var(--btn-primary-background-color);
|
|
@@ -59,13 +59,13 @@
|
|
|
59
59
|
--btn-primary-hover-background-color: var(--btn-primary-color);
|
|
60
60
|
--btn-primary-hover-border-color: var(--btn-primary-hover-color);
|
|
61
61
|
--btn-primary-hover-color: var(--btn-primary-background-color);
|
|
62
|
-
--btn-secondary-active-background-color:
|
|
62
|
+
--btn-secondary-active-background-color: color-mix(in srgb, var(--btn-secondary-background-color) 60%, #000);
|
|
63
63
|
--btn-secondary-active-border-color: var(--btn-secondary-active-background-color);
|
|
64
64
|
--btn-secondary-active-color: var(--btn-secondary-color);
|
|
65
65
|
--btn-secondary-background-color: var(--secondary-100);
|
|
66
66
|
--btn-secondary-border-color: var(--btn-secondary-background-color);
|
|
67
67
|
--btn-secondary-color: var(--secondary-100-fg);
|
|
68
|
-
--btn-secondary-focus-outline-color:
|
|
68
|
+
--btn-secondary-focus-outline-color: color-mix(in srgb, var(--btn-secondary-background-color) 60%, transparent);
|
|
69
69
|
--btn-secondary-hollow-background-color: var(--btn-secondary-color);
|
|
70
70
|
--btn-secondary-hollow-color: var(--btn-secondary-background-color);
|
|
71
71
|
--btn-secondary-hollow-hover-background-color: var(--btn-secondary-background-color);
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
--sdt-pagination-border: var(--btn-border-width) var(--neutral-100);
|
|
203
203
|
--sdt-pagination-padding-block: var(--size-xxs);
|
|
204
204
|
--sdt-pagination-padding-inline: var(--size-xs);
|
|
205
|
-
--sdt-thead-hover-background-color:
|
|
205
|
+
--sdt-thead-hover-background-color: color-mix(in srgb, var(--table-thead-background-color) 90%, var(--accent-100));
|
|
206
206
|
--secondary-100: #650853;
|
|
207
207
|
--secondary-100-fg: #fff;
|
|
208
208
|
--sf-macro-btn-close-background-color: var(--btn-close-background-color);
|
|
@@ -214,7 +214,7 @@
|
|
|
214
214
|
--sf-macro-rows-border: 1px solid var(--neutral-100);
|
|
215
215
|
--sf-macro-rows-border-radius: var(--radius-xs);
|
|
216
216
|
--sf-macro-rows-even-background-color: var(--body-background-color);
|
|
217
|
-
--sf-macro-rows-hover-background-color:
|
|
217
|
+
--sf-macro-rows-hover-background-color: color-mix(in srgb, var(--body-background-color) 95%, #000);
|
|
218
218
|
--sf-macro-rows-margin-block-end: var(--size-base);
|
|
219
219
|
--sf-macro-rows-padding: var(--size-xs);
|
|
220
220
|
--size-2xl: 3rem;
|
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
// -----------------------------------------------------------------------
|
|
2
|
-
// Generated file — do not edit manually.
|
|
3
|
-
// This file is produced by the design-token build pipeline.
|
|
4
|
-
// Source of truth: the token files in the project source directory.
|
|
5
|
-
// Re-generate with: node build-tokens.mjs --config <path/to/config>
|
|
6
|
-
// -----------------------------------------------------------------------
|
|
7
|
-
{
|
|
8
|
-
"btn": {
|
|
9
|
-
"primary": {
|
|
10
|
-
"background": {
|
|
11
|
-
"color": {
|
|
12
|
-
"$type": "color",
|
|
13
|
-
"$value": "{primary.100}"
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
"color": {
|
|
17
|
-
"$type": "color",
|
|
18
|
-
"$value": "{primary.100-fg}"
|
|
19
|
-
},
|
|
20
|
-
"border": {
|
|
21
|
-
"color": {
|
|
22
|
-
"$type": "color",
|
|
23
|
-
"$value": "{btn.primary.background.color}"
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
"focus": {
|
|
27
|
-
"outline": {
|
|
28
|
-
"color": {
|
|
29
|
-
"$type": "color",
|
|
30
|
-
"$value": "color-mix(in srgb, #083865 60%, transparent);"
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
"hover": {
|
|
35
|
-
"background": {
|
|
36
|
-
"color": {
|
|
37
|
-
"$type": "color",
|
|
38
|
-
"$value": "{btn.primary.color}"
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
"color": {
|
|
42
|
-
"$type": "color",
|
|
43
|
-
"$value": "{btn.primary.background.color}"
|
|
44
|
-
},
|
|
45
|
-
"border": {
|
|
46
|
-
"color": {
|
|
47
|
-
"$type": "color",
|
|
48
|
-
"$value": "{btn.primary.hover.color}"
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
"active": {
|
|
53
|
-
"background": {
|
|
54
|
-
"color": {
|
|
55
|
-
"$type": "color",
|
|
56
|
-
"$value": "color-mix(in srgb, #083865 60%, #000);"
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
"color": {
|
|
60
|
-
"$type": "color",
|
|
61
|
-
"$value": "{btn.primary.color}"
|
|
62
|
-
},
|
|
63
|
-
"border": {
|
|
64
|
-
"color": {
|
|
65
|
-
"$type": "color",
|
|
66
|
-
"$value": "{btn.primary.active.background.color}"
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
"hollow": {
|
|
71
|
-
"background": {
|
|
72
|
-
"color": {
|
|
73
|
-
"$type": "color",
|
|
74
|
-
"$value": "{btn.primary.color}"
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
"color": {
|
|
78
|
-
"$type": "color",
|
|
79
|
-
"$value": "{btn.primary.background.color}"
|
|
80
|
-
},
|
|
81
|
-
"hover": {
|
|
82
|
-
"background": {
|
|
83
|
-
"color": {
|
|
84
|
-
"$type": "color",
|
|
85
|
-
"$value": "color-mix(in srgb, #083865 20%, transparent);"
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
"color": {
|
|
89
|
-
"$type": "color",
|
|
90
|
-
"$value": "{btn.primary.hollow.color}"
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
"secondary": {
|
|
96
|
-
"background": {
|
|
97
|
-
"color": {
|
|
98
|
-
"$type": "color",
|
|
99
|
-
"$value": "{secondary.100}"
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
"color": {
|
|
103
|
-
"$type": "color",
|
|
104
|
-
"$value": "{secondary.100-fg}"
|
|
105
|
-
},
|
|
106
|
-
"border": {
|
|
107
|
-
"color": {
|
|
108
|
-
"$type": "color",
|
|
109
|
-
"$value": "{btn.secondary.background.color}"
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
"focus": {
|
|
113
|
-
"outline": {
|
|
114
|
-
"color": {
|
|
115
|
-
"$type": "color",
|
|
116
|
-
"$value": "color-mix(in srgb, #650853 60%, transparent);"
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
|
-
"hover": {
|
|
121
|
-
"background": {
|
|
122
|
-
"color": {
|
|
123
|
-
"$type": "color",
|
|
124
|
-
"$value": "{btn.secondary.color}"
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
"color": {
|
|
128
|
-
"$type": "color",
|
|
129
|
-
"$value": "{btn.secondary.background.color}"
|
|
130
|
-
},
|
|
131
|
-
"border": {
|
|
132
|
-
"color": {
|
|
133
|
-
"$type": "color",
|
|
134
|
-
"$value": "{btn.secondary.hover.color}"
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
},
|
|
138
|
-
"active": {
|
|
139
|
-
"background": {
|
|
140
|
-
"color": {
|
|
141
|
-
"$type": "color",
|
|
142
|
-
"$value": "color-mix(in srgb, #650853 60%, #000);"
|
|
143
|
-
}
|
|
144
|
-
},
|
|
145
|
-
"color": {
|
|
146
|
-
"$type": "color",
|
|
147
|
-
"$value": "{btn.secondary.color}"
|
|
148
|
-
},
|
|
149
|
-
"border": {
|
|
150
|
-
"color": {
|
|
151
|
-
"$type": "color",
|
|
152
|
-
"$value": "{btn.secondary.active.background.color}"
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
|
-
"hollow": {
|
|
157
|
-
"background": {
|
|
158
|
-
"color": {
|
|
159
|
-
"$type": "color",
|
|
160
|
-
"$value": "{btn.secondary.color}"
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
|
-
"color": {
|
|
164
|
-
"$type": "color",
|
|
165
|
-
"$value": "{btn.secondary.background.color}"
|
|
166
|
-
},
|
|
167
|
-
"hover": {
|
|
168
|
-
"background": {
|
|
169
|
-
"color": {
|
|
170
|
-
"$type": "color",
|
|
171
|
-
"$value": "color-mix(in srgb, #650853 20%, transparent);"
|
|
172
|
-
}
|
|
173
|
-
},
|
|
174
|
-
"color": {
|
|
175
|
-
"$type": "color",
|
|
176
|
-
"$value": "{btn.secondary.hollow.color}"
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
// -----------------------------------------------------------------------
|
|
2
|
-
// Generated file — do not edit manually.
|
|
3
|
-
// This file is produced by the design-token build pipeline.
|
|
4
|
-
// Source of truth: the token files in the project source directory.
|
|
5
|
-
// Re-generate with: node build-tokens.mjs --config <path/to/config>
|
|
6
|
-
// -----------------------------------------------------------------------
|
|
7
|
-
{
|
|
8
|
-
"recaptcha": {
|
|
9
|
-
"alert": {
|
|
10
|
-
"overlay": {
|
|
11
|
-
"color": {
|
|
12
|
-
"$type": "color",
|
|
13
|
-
"$value": "rgb(0 0 0 / .5)"
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
"background": {
|
|
17
|
-
"color": {
|
|
18
|
-
"$type": "color",
|
|
19
|
-
"$value": "#000"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"fg": {
|
|
23
|
-
"$type": "color",
|
|
24
|
-
"$value": "#fff"
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
// -----------------------------------------------------------------------
|
|
2
|
-
// Generated file — do not edit manually.
|
|
3
|
-
// This file is produced by the design-token build pipeline.
|
|
4
|
-
// Source of truth: the token files in the project source directory.
|
|
5
|
-
// Re-generate with: node build-tokens.mjs --config <path/to/config>
|
|
6
|
-
// -----------------------------------------------------------------------
|
|
7
|
-
{
|
|
8
|
-
"toast": {
|
|
9
|
-
"font": {
|
|
10
|
-
"size": {
|
|
11
|
-
"$type": "dimension",
|
|
12
|
-
"$value": "{font.size.sm}"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"border": {
|
|
16
|
-
"radius": {
|
|
17
|
-
"$type": "color",
|
|
18
|
-
"$value": "{radius.sm}"
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
"text": {
|
|
22
|
-
"color": {
|
|
23
|
-
"$type": "color",
|
|
24
|
-
"$value": "{text.color}"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"duration": {
|
|
28
|
-
"$type": "duration",
|
|
29
|
-
"$value": "5s"
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
// -----------------------------------------------------------------------
|
|
2
|
-
// Generated file — do not edit manually.
|
|
3
|
-
// This file is produced by the design-token build pipeline.
|
|
4
|
-
// Source of truth: the token files in the project source directory.
|
|
5
|
-
// Re-generate with: node build-tokens.mjs --config <path/to/config>
|
|
6
|
-
// -----------------------------------------------------------------------
|
|
7
|
-
{
|
|
8
|
-
"recaptcha": {
|
|
9
|
-
"alert": {
|
|
10
|
-
"overlay": {
|
|
11
|
-
"color": {
|
|
12
|
-
"$type": "color",
|
|
13
|
-
"$value": "rgb(0 0 0 / .5)"
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
"background": {
|
|
17
|
-
"color": {
|
|
18
|
-
"$type": "color",
|
|
19
|
-
"$value": "#000"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"fg": {
|
|
23
|
-
"$type": "color",
|
|
24
|
-
"$value": "#fff"
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
// -----------------------------------------------------------------------
|
|
2
|
-
// Generated file — do not edit manually.
|
|
3
|
-
// This file is produced by the design-token build pipeline.
|
|
4
|
-
// Source of truth: the token files in the project source directory.
|
|
5
|
-
// Re-generate with: node build-tokens.mjs --config <path/to/config>
|
|
6
|
-
// -----------------------------------------------------------------------
|
|
7
|
-
{
|
|
8
|
-
"sf-macro": {
|
|
9
|
-
"rows": {
|
|
10
|
-
"padding": {
|
|
11
|
-
"$type": "dimension",
|
|
12
|
-
"$value": "{size.xs}"
|
|
13
|
-
},
|
|
14
|
-
"margin": {
|
|
15
|
-
"block": {
|
|
16
|
-
"end": {
|
|
17
|
-
"$type": "dimension",
|
|
18
|
-
"$value": "{size.base}"
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"hover": {
|
|
23
|
-
"background": {
|
|
24
|
-
"color": {
|
|
25
|
-
"$type": "color",
|
|
26
|
-
"$value": "color-mix(in srgb, #fff 95%, #000)"
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
"even": {
|
|
31
|
-
"background": {
|
|
32
|
-
"color": {
|
|
33
|
-
"$type": "color",
|
|
34
|
-
"$value": "{body.background.color}"
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"border": {
|
|
39
|
-
"$type": "border",
|
|
40
|
-
"$value": {
|
|
41
|
-
"color": "#666",
|
|
42
|
-
"width": "1px",
|
|
43
|
-
"style": "solid"
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
"border-radius": {
|
|
47
|
-
"$type": "dimension",
|
|
48
|
-
"$value": "{radius.xs}"
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
"btn": {
|
|
52
|
-
"close": {
|
|
53
|
-
"size": {
|
|
54
|
-
"$type": "dimension",
|
|
55
|
-
"$value": "2rem"
|
|
56
|
-
},
|
|
57
|
-
"background": {
|
|
58
|
-
"color": {
|
|
59
|
-
"$type": "color",
|
|
60
|
-
"$value": "{body.background.color}"
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
// -----------------------------------------------------------------------
|
|
2
|
-
// Generated file — do not edit manually.
|
|
3
|
-
// This file is produced by the design-token build pipeline.
|
|
4
|
-
// Source of truth: the token files in the project source directory.
|
|
5
|
-
// Re-generate with: node build-tokens.mjs --config <path/to/config>
|
|
6
|
-
// -----------------------------------------------------------------------
|
|
7
|
-
{
|
|
8
|
-
"sdt": {
|
|
9
|
-
"thead": {
|
|
10
|
-
"hover": {
|
|
11
|
-
"background": {
|
|
12
|
-
"color": {
|
|
13
|
-
"$type": "color",
|
|
14
|
-
"$value": "color-mix(in srgb, #ddd 90%, #567d0d)"
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"pagination": {
|
|
20
|
-
"border": {
|
|
21
|
-
"$type": "border",
|
|
22
|
-
"$value": {
|
|
23
|
-
"color": "#666",
|
|
24
|
-
"width": "1px"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"padding": {
|
|
28
|
-
"block": {
|
|
29
|
-
"$type": "dimension",
|
|
30
|
-
"$value": "{size.xxs}"
|
|
31
|
-
},
|
|
32
|
-
"inline": {
|
|
33
|
-
"$type": "dimension",
|
|
34
|
-
"$value": "{size.xs}"
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"hover": {
|
|
39
|
-
"background": {
|
|
40
|
-
"color": {
|
|
41
|
-
"$type": "color",
|
|
42
|
-
"$value": "{btn.primary.background.color}"
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
"color": {
|
|
46
|
-
"$type": "color",
|
|
47
|
-
"$value": "{btn.primary.color}"
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
// -----------------------------------------------------------------------
|
|
2
|
-
// Generated file — do not edit manually.
|
|
3
|
-
// This file is produced by the design-token build pipeline.
|
|
4
|
-
// Source of truth: the token files in the project source directory.
|
|
5
|
-
// Re-generate with: node build-tokens.mjs --config <path/to/config>
|
|
6
|
-
// -----------------------------------------------------------------------
|
|
7
|
-
{
|
|
8
|
-
"spinner": {
|
|
9
|
-
"size": {
|
|
10
|
-
"$type": "dimension",
|
|
11
|
-
"$value": "{size.lg}"
|
|
12
|
-
},
|
|
13
|
-
"color": {
|
|
14
|
-
"$type": "color",
|
|
15
|
-
"$value": "{primary.100}"
|
|
16
|
-
},
|
|
17
|
-
"stroke": {
|
|
18
|
-
"width": {
|
|
19
|
-
"$type": "dimension",
|
|
20
|
-
"$value": "2px"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
// -----------------------------------------------------------------------
|
|
2
|
-
// Generated file — do not edit manually.
|
|
3
|
-
// This file is produced by the design-token build pipeline.
|
|
4
|
-
// Source of truth: the token files in the project source directory.
|
|
5
|
-
// Re-generate with: node build-tokens.mjs --config <path/to/config>
|
|
6
|
-
// -----------------------------------------------------------------------
|
|
7
|
-
{
|
|
8
|
-
"toast": {
|
|
9
|
-
"font": {
|
|
10
|
-
"size": {
|
|
11
|
-
"$type": "dimension",
|
|
12
|
-
"$value": "{font.size.sm}"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"border": {
|
|
16
|
-
"radius": {
|
|
17
|
-
"$type": "color",
|
|
18
|
-
"$value": "{radius.sm}"
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
"text": {
|
|
22
|
-
"color": {
|
|
23
|
-
"$type": "color",
|
|
24
|
-
"$value": "{text.color}"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"duration": {
|
|
28
|
-
"$type": "duration",
|
|
29
|
-
"$value": "5s"
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|