@openkfw/design-tokens 0.5.5 → 0.5.7
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/demo/dist/css/style.min.css +1 -1
- package/demo/scripts/build-custom-media.js +38 -0
- package/demo/scripts/postcss.color-to-filter.js +66 -0
- package/demo/scripts/postcss.svg-load-plugin.js +96 -0
- package/demo/src/style.css +126 -84
- package/output/css/kfw-design-tokens.light.css +27 -26
- package/output/figma/kfw-design-tokens.light.json +8 -4
- package/output/js/{kfw-design-tokens.light.d.ts → kfw-design-tokens.d.ts} +23 -4
- package/output/js/kfw-design-tokens.light.js +31 -30
- package/output/json/{kfw-design-tokens.light.json → kfw-design-tokens.json} +87 -30
- package/output/penpot/kfw-design-tokens.light.json +8 -4
- package/output/scss/kfw-design-tokens.light.scss +27 -26
- package/output/web_thirdparty_16px/css/kfw-design-tokens.light.css +27 -26
- package/output/web_thirdparty_16px/js/kfw-design-tokens.light.d.ts +1 -1
- package/output/web_thirdparty_16px/js/kfw-design-tokens.light.js +31 -30
- package/output/web_thirdparty_16px/scss/kfw-design-tokens.light.scss +27 -26
- package/package.json +6 -6
- package/tokens/gen-tokens.dark.json5 +34 -12
- package/tokens/tokens.json +24 -23
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* KfW Design Tokens v0.5.
|
|
2
|
+
* KfW Design Tokens v0.5.7 | MPL-2.0 | https://github.com/openkfw/design-tokens
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
export const KfwBaseColorBlue100 = {
|
|
@@ -129,13 +129,13 @@ export const KfwBaseColorGray600 = {
|
|
|
129
129
|
};
|
|
130
130
|
export const KfwBaseColorViolet400 = {
|
|
131
131
|
colorSpace: "srgb",
|
|
132
|
-
components: [0.
|
|
133
|
-
hex: "#
|
|
132
|
+
components: [0.6431, 0.3333, 0.7725],
|
|
133
|
+
hex: "#a455c5",
|
|
134
134
|
};
|
|
135
135
|
export const KfwBaseColorViolet500 = {
|
|
136
136
|
colorSpace: "srgb",
|
|
137
|
-
components: [0.
|
|
138
|
-
hex: "#
|
|
137
|
+
components: [0.3921, 0.1921, 0.4745],
|
|
138
|
+
hex: "#643179",
|
|
139
139
|
};
|
|
140
140
|
export const KfwBaseColorRed400 = {
|
|
141
141
|
colorSpace: "srgb",
|
|
@@ -275,112 +275,112 @@ export const KfwColorFn = {
|
|
|
275
275
|
colorSpace: "srgb",
|
|
276
276
|
components: [0, 0.3529, 0.549],
|
|
277
277
|
hex: "#005a8c",
|
|
278
|
-
}; // Main interaction color for buttons and links
|
|
278
|
+
}; // Main interaction color for buttons and links (Blue 600)
|
|
279
279
|
export const KfwColorFnActive = {
|
|
280
280
|
colorSpace: "srgb",
|
|
281
281
|
components: [0, 0.2667, 0.4314],
|
|
282
282
|
hex: "#00446e",
|
|
283
|
-
};
|
|
283
|
+
}; // Interaction color when active (e.g., hover, Blue 700)
|
|
284
284
|
export const KfwColorFnInactive = {
|
|
285
285
|
colorSpace: "srgb",
|
|
286
286
|
components: [0.6314, 0.6784, 0.7098],
|
|
287
287
|
hex: "#a1adb5",
|
|
288
|
-
};
|
|
288
|
+
}; // Interaction color when inactive (Gray 300)
|
|
289
289
|
export const KfwColorFnBorder = {
|
|
290
290
|
colorSpace: "srgb",
|
|
291
291
|
components: [0.1765, 0.1922, 0.2039],
|
|
292
292
|
hex: "#2d3134",
|
|
293
|
-
};
|
|
293
|
+
}; // Interaction border color (Gray 600)
|
|
294
294
|
export const KfwColorFnLabel = {
|
|
295
295
|
colorSpace: "srgb",
|
|
296
296
|
components: [0.1765, 0.1922, 0.2039],
|
|
297
297
|
hex: "#2d3134",
|
|
298
|
-
};
|
|
298
|
+
}; // Interaction label color (Gray 600)
|
|
299
299
|
export const KfwColorText = {
|
|
300
300
|
colorSpace: "srgb",
|
|
301
301
|
components: [0.1765, 0.1922, 0.2039],
|
|
302
302
|
hex: "#2d3134",
|
|
303
|
-
}; // Main text color for body
|
|
303
|
+
}; // Main text color for body (Gray 600)
|
|
304
304
|
export const KfwColorTextOnDarkBg = {
|
|
305
305
|
colorSpace: "srgb",
|
|
306
306
|
components: [1, 1, 1],
|
|
307
307
|
hex: "#ffffff",
|
|
308
|
-
};
|
|
308
|
+
}; // Main text color on dark background (White)
|
|
309
309
|
export const KfwColorTextOnDisabled = {
|
|
310
310
|
colorSpace: "srgb",
|
|
311
311
|
components: [1, 1, 1],
|
|
312
312
|
hex: "#ffffff",
|
|
313
|
-
};
|
|
313
|
+
}; // Main text color on disabled (White)
|
|
314
314
|
export const KfwColorTextHeadlineOnDarkBg = {
|
|
315
315
|
colorSpace: "srgb",
|
|
316
316
|
components: [0.7176, 0.9765, 0.6667],
|
|
317
317
|
hex: "#b7f9aa",
|
|
318
|
-
};
|
|
318
|
+
}; // Headline text color on dark background (Green 300)
|
|
319
319
|
export const KfwColorBackground = {
|
|
320
320
|
colorSpace: "srgb",
|
|
321
321
|
components: [1, 1, 1],
|
|
322
322
|
hex: "#ffffff",
|
|
323
|
-
}; // Main background color for body
|
|
323
|
+
}; // Main background color for body (White)
|
|
324
324
|
export const KfwColorBackgroundSubtle = {
|
|
325
325
|
colorSpace: "srgb",
|
|
326
326
|
components: [0.9647, 0.9686, 0.9725],
|
|
327
327
|
hex: "#f6f7f8",
|
|
328
|
-
};
|
|
328
|
+
}; // Neutral (Gray 50)
|
|
329
329
|
export const KfwColorBackgroundDisabled = {
|
|
330
330
|
colorSpace: "srgb",
|
|
331
331
|
components: [0.6314, 0.6784, 0.7098],
|
|
332
332
|
hex: "#a1adb5",
|
|
333
|
-
};
|
|
333
|
+
}; // Disabled (Gray 300)
|
|
334
334
|
export const KfwColorBackgroundLightBlue = {
|
|
335
335
|
colorSpace: "srgb",
|
|
336
336
|
components: [0.9137, 0.9608, 0.9843],
|
|
337
337
|
hex: "#e9f5fb",
|
|
338
|
-
};
|
|
338
|
+
}; // Light blue (Blue 100)
|
|
339
339
|
export const KfwColorBackgroundLightGreen = {
|
|
340
340
|
colorSpace: "srgb",
|
|
341
341
|
components: [0.9255, 0.9922, 0.9294],
|
|
342
342
|
hex: "#ecfded",
|
|
343
|
-
};
|
|
343
|
+
}; // Light green (Green 100)
|
|
344
344
|
export const KfwColorBackgroundDarkBlue = {
|
|
345
345
|
colorSpace: "srgb",
|
|
346
346
|
components: [0, 0.2157, 0.3588],
|
|
347
347
|
hex: "#00375b",
|
|
348
|
-
};
|
|
348
|
+
}; // Dark blue (Blue 800)
|
|
349
349
|
export const KfwColorBackgroundDarkGreen = {
|
|
350
350
|
colorSpace: "srgb",
|
|
351
351
|
components: [0.2235, 0.5137, 0.3412],
|
|
352
352
|
hex: "#398357",
|
|
353
|
-
};
|
|
353
|
+
}; // Dark green (Green 700)
|
|
354
354
|
export const KfwColorOpaqueWhite90 = {
|
|
355
355
|
colorSpace: "srgb",
|
|
356
356
|
components: [1, 1, 1],
|
|
357
357
|
hex: "#ffffff",
|
|
358
358
|
alpha: 0.9,
|
|
359
|
-
};
|
|
359
|
+
}; // White 90%
|
|
360
360
|
export const KfwColorOpaqueWhite95 = {
|
|
361
361
|
colorSpace: "srgb",
|
|
362
362
|
components: [1, 1, 1],
|
|
363
363
|
hex: "#ffffff",
|
|
364
364
|
alpha: 0.95,
|
|
365
|
-
};
|
|
365
|
+
}; // White 95%
|
|
366
366
|
export const KfwColorOpaqueGray50010 = {
|
|
367
367
|
colorSpace: "srgb",
|
|
368
368
|
components: [0.2549, 0.2784, 0.298],
|
|
369
369
|
hex: "#41484c",
|
|
370
370
|
alpha: 0.1,
|
|
371
|
-
};
|
|
371
|
+
}; // Gray 500 10%
|
|
372
372
|
export const KfwColorOpaqueGray50030 = {
|
|
373
373
|
colorSpace: "srgb",
|
|
374
374
|
components: [0.2549, 0.2784, 0.298],
|
|
375
375
|
hex: "#41484c",
|
|
376
376
|
alpha: 0.3,
|
|
377
|
-
};
|
|
377
|
+
}; // Gray 500 30%
|
|
378
378
|
export const KfwColorOpaqueGray50090 = {
|
|
379
379
|
colorSpace: "srgb",
|
|
380
380
|
components: [0.2549, 0.2784, 0.298],
|
|
381
381
|
hex: "#41484c",
|
|
382
382
|
alpha: 0.9,
|
|
383
|
-
};
|
|
383
|
+
}; // Gray 500 90%
|
|
384
384
|
export const KfwColorStateDanger = {
|
|
385
385
|
colorSpace: "srgb",
|
|
386
386
|
components: [0.7843, 0.0196, 0.2157],
|
|
@@ -393,8 +393,8 @@ export const KfwColorStateSuccess = {
|
|
|
393
393
|
};
|
|
394
394
|
export const KfwColorStateWarning = {
|
|
395
395
|
colorSpace: "srgb",
|
|
396
|
-
components: [0.
|
|
397
|
-
hex: "#
|
|
396
|
+
components: [0.6431, 0.3333, 0.7725],
|
|
397
|
+
hex: "#a455c5",
|
|
398
398
|
};
|
|
399
399
|
export const KfwColorStatusRed = {
|
|
400
400
|
colorSpace: "srgb",
|
|
@@ -463,8 +463,8 @@ export const KfwColorProductCredit = {
|
|
|
463
463
|
};
|
|
464
464
|
export const KfwColorProductCooperation = {
|
|
465
465
|
colorSpace: "srgb",
|
|
466
|
-
components: [0.
|
|
467
|
-
hex: "#
|
|
466
|
+
components: [0.3921, 0.1921, 0.4745],
|
|
467
|
+
hex: "#643179",
|
|
468
468
|
};
|
|
469
469
|
export const KfwColorProductCreditBenefit = {
|
|
470
470
|
colorSpace: "srgb",
|
|
@@ -543,6 +543,7 @@ export const KfwBorderradiusSmall = "2px";
|
|
|
543
543
|
export const KfwBorderradiusCircle = "624.9375rem";
|
|
544
544
|
export const KfwBorderwidth = "1px";
|
|
545
545
|
export const KfwBorderwidthLarge = "2px";
|
|
546
|
+
export const KfwBorderstyle = "solid";
|
|
546
547
|
export const KfwFocusringOutlineWidth = "2px";
|
|
547
548
|
export const KfwFocusringOutlineOffset = "2px";
|
|
548
549
|
export const KfwFocusringOutlineStyle = "dashed";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
// KfW Design Tokens v0.5.
|
|
2
|
+
// KfW Design Tokens v0.5.7 | MPL-2.0 | https://github.com/openkfw/design-tokens
|
|
3
3
|
|
|
4
4
|
$kfw-base-color-blue-100: #e9f5fb;
|
|
5
5
|
$kfw-base-color-blue-400: #54b3e2;
|
|
@@ -25,8 +25,8 @@ $kfw-base-color-gray-500-30: #41484c4d;
|
|
|
25
25
|
$kfw-base-color-gray-500-90: #41484ce6;
|
|
26
26
|
$kfw-base-color-gray-500: #41484c;
|
|
27
27
|
$kfw-base-color-gray-600: #2d3134;
|
|
28
|
-
$kfw-base-color-violet-400: #
|
|
29
|
-
$kfw-base-color-violet-500: #
|
|
28
|
+
$kfw-base-color-violet-400: #a455c5;
|
|
29
|
+
$kfw-base-color-violet-500: #643179;
|
|
30
30
|
$kfw-base-color-red-400: #c80538;
|
|
31
31
|
$kfw-base-color-yellow-500: #eac80b;
|
|
32
32
|
$kfw-base-fontfamily-sans: "KfW Centro Sans", Arial, "Helvetica Neue", Helvetica, sans-serif;
|
|
@@ -151,30 +151,30 @@ $kfw-base-layout-gridgap-static-xl: 2.25rem;
|
|
|
151
151
|
$kfw-base-layout-gridgap-fluid-min: 0.75rem;
|
|
152
152
|
$kfw-base-layout-gridgap-fluid-max: 2.25rem;
|
|
153
153
|
$kfw-base-layout-gridgap-fluid-val: 3.529vi - 0.5735rem;
|
|
154
|
-
$kfw-color-fn: #005a8c; // Main interaction color for buttons and links
|
|
155
|
-
$kfw-color-fn-active: #00446e;
|
|
156
|
-
$kfw-color-fn-inactive: #a1adb5;
|
|
157
|
-
$kfw-color-fn-border: #2d3134;
|
|
158
|
-
$kfw-color-fn-label: #2d3134;
|
|
159
|
-
$kfw-color-text: #2d3134; // Main text color for body
|
|
160
|
-
$kfw-color-text-on-dark-bg: #ffffff;
|
|
161
|
-
$kfw-color-text-on-disabled: #ffffff;
|
|
162
|
-
$kfw-color-text-headline-on-dark-bg: #b7f9aa;
|
|
163
|
-
$kfw-color-background: #ffffff; // Main background color for body
|
|
164
|
-
$kfw-color-background-subtle: #f6f7f8;
|
|
165
|
-
$kfw-color-background-disabled: #a1adb5;
|
|
166
|
-
$kfw-color-background-light-blue: #e9f5fb;
|
|
167
|
-
$kfw-color-background-light-green: #ecfded;
|
|
168
|
-
$kfw-color-background-dark-blue: #00375b;
|
|
169
|
-
$kfw-color-background-dark-green: #398357;
|
|
170
|
-
$kfw-color-opaque-white-90: #ffffffe6;
|
|
171
|
-
$kfw-color-opaque-white-95: #fffffff2;
|
|
172
|
-
$kfw-color-opaque-gray-500-10: #41484c1a;
|
|
173
|
-
$kfw-color-opaque-gray-500-30: #41484c4d;
|
|
174
|
-
$kfw-color-opaque-gray-500-90: #41484ce6;
|
|
154
|
+
$kfw-color-fn: #005a8c; // Main interaction color for buttons and links (Blue 600)
|
|
155
|
+
$kfw-color-fn-active: #00446e; // Interaction color when active (e.g., hover, Blue 700)
|
|
156
|
+
$kfw-color-fn-inactive: #a1adb5; // Interaction color when inactive (Gray 300)
|
|
157
|
+
$kfw-color-fn-border: #2d3134; // Interaction border color (Gray 600)
|
|
158
|
+
$kfw-color-fn-label: #2d3134; // Interaction label color (Gray 600)
|
|
159
|
+
$kfw-color-text: #2d3134; // Main text color for body (Gray 600)
|
|
160
|
+
$kfw-color-text-on-dark-bg: #ffffff; // Main text color on dark background (White)
|
|
161
|
+
$kfw-color-text-on-disabled: #ffffff; // Main text color on disabled (White)
|
|
162
|
+
$kfw-color-text-headline-on-dark-bg: #b7f9aa; // Headline text color on dark background (Green 300)
|
|
163
|
+
$kfw-color-background: #ffffff; // Main background color for body (White)
|
|
164
|
+
$kfw-color-background-subtle: #f6f7f8; // Neutral (Gray 50)
|
|
165
|
+
$kfw-color-background-disabled: #a1adb5; // Disabled (Gray 300)
|
|
166
|
+
$kfw-color-background-light-blue: #e9f5fb; // Light blue (Blue 100)
|
|
167
|
+
$kfw-color-background-light-green: #ecfded; // Light green (Green 100)
|
|
168
|
+
$kfw-color-background-dark-blue: #00375b; // Dark blue (Blue 800)
|
|
169
|
+
$kfw-color-background-dark-green: #398357; // Dark green (Green 700)
|
|
170
|
+
$kfw-color-opaque-white-90: #ffffffe6; // White 90%
|
|
171
|
+
$kfw-color-opaque-white-95: #fffffff2; // White 95%
|
|
172
|
+
$kfw-color-opaque-gray-500-10: #41484c1a; // Gray 500 10%
|
|
173
|
+
$kfw-color-opaque-gray-500-30: #41484c4d; // Gray 500 30%
|
|
174
|
+
$kfw-color-opaque-gray-500-90: #41484ce6; // Gray 500 90%
|
|
175
175
|
$kfw-color-state-danger: #c80538;
|
|
176
176
|
$kfw-color-state-success: #398357;
|
|
177
|
-
$kfw-color-state-warning: #
|
|
177
|
+
$kfw-color-state-warning: #a455c5;
|
|
178
178
|
$kfw-color-status-red: #c80538;
|
|
179
179
|
$kfw-color-status-yellow: #eac80b;
|
|
180
180
|
$kfw-color-status-green: #398357;
|
|
@@ -188,7 +188,7 @@ $kfw-color-line-12: #a1adb5;
|
|
|
188
188
|
$kfw-color-product-container: #f6f7f8;
|
|
189
189
|
$kfw-color-product-benefit: #007abc;
|
|
190
190
|
$kfw-color-product-credit: #398357;
|
|
191
|
-
$kfw-color-product-cooperation: #
|
|
191
|
+
$kfw-color-product-cooperation: #643179;
|
|
192
192
|
$kfw-color-product-credit-benefit: #41484c;
|
|
193
193
|
$kfw-color-icon: #005a8c;
|
|
194
194
|
$kfw-color-icon-secondary: #54b3e2;
|
|
@@ -244,6 +244,7 @@ $kfw-borderradius-small: 2px;
|
|
|
244
244
|
$kfw-borderradius-circle: 624.9375rem;
|
|
245
245
|
$kfw-borderwidth: 1px;
|
|
246
246
|
$kfw-borderwidth-large: 2px;
|
|
247
|
+
$kfw-borderstyle: solid;
|
|
247
248
|
$kfw-focusring-outline-width: 2px;
|
|
248
249
|
$kfw-focusring-outline-offset: 2px;
|
|
249
250
|
$kfw-focusring-outline-style: dashed;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openkfw/design-tokens",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.7",
|
|
4
4
|
"description": "The source of truth for KfW-branded digital products.",
|
|
5
5
|
"files": [
|
|
6
6
|
"README.md",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"demo/dist/css/style.min.css",
|
|
12
12
|
"demo/src/style.css",
|
|
13
13
|
"demo/src/vendor/**.css",
|
|
14
|
-
"demo/
|
|
14
|
+
"demo/scripts/**.js"
|
|
15
15
|
],
|
|
16
16
|
"scripts": {
|
|
17
17
|
"start": "concurrently \"npm run watch:extended\" \"npm run watch\"",
|
|
@@ -44,18 +44,18 @@
|
|
|
44
44
|
"@eslint/js": "^9.39.1",
|
|
45
45
|
"@tsconfig/node24": "^24.0.3",
|
|
46
46
|
"@types/lodash": "^4.17.21",
|
|
47
|
-
"@types/node": "^
|
|
47
|
+
"@types/node": "^25.0.1",
|
|
48
48
|
"concurrently": "^9.2.1",
|
|
49
49
|
"deep-get-set-ts": "^1.1.2",
|
|
50
50
|
"eslint": "^9.39.1",
|
|
51
51
|
"json5": "^2.2.3",
|
|
52
52
|
"jsoneditor-cli": "^1.1.0",
|
|
53
53
|
"lodash": "4.17.21",
|
|
54
|
-
"prettier": "^3.7.
|
|
54
|
+
"prettier": "^3.7.4",
|
|
55
55
|
"style-dictionary": "^5.1.1",
|
|
56
56
|
"tsx": "^4.21.0",
|
|
57
57
|
"typescript": "^5.9.3",
|
|
58
|
-
"typescript-eslint": "^8.
|
|
59
|
-
"npm-check-updates": "^19.
|
|
58
|
+
"typescript-eslint": "^8.49.0",
|
|
59
|
+
"npm-check-updates": "^19.2.0"
|
|
60
60
|
}
|
|
61
61
|
}
|
|
@@ -291,22 +291,22 @@
|
|
|
291
291
|
$value: {
|
|
292
292
|
colorSpace: "srgb",
|
|
293
293
|
components: [
|
|
294
|
-
0.
|
|
295
|
-
0.
|
|
296
|
-
0.
|
|
294
|
+
0.6431,
|
|
295
|
+
0.3333,
|
|
296
|
+
0.7725,
|
|
297
297
|
],
|
|
298
|
-
hex: "#
|
|
298
|
+
hex: "#a455c5",
|
|
299
299
|
},
|
|
300
300
|
},
|
|
301
301
|
"500": {
|
|
302
302
|
$value: {
|
|
303
303
|
colorSpace: "srgb",
|
|
304
304
|
components: [
|
|
305
|
-
0.
|
|
306
|
-
0.
|
|
307
|
-
0.
|
|
305
|
+
0.3921,
|
|
306
|
+
0.1921,
|
|
307
|
+
0.4745,
|
|
308
308
|
],
|
|
309
|
-
hex: "#
|
|
309
|
+
hex: "#643179",
|
|
310
310
|
},
|
|
311
311
|
},
|
|
312
312
|
},
|
|
@@ -1085,75 +1085,93 @@
|
|
|
1085
1085
|
fn: {
|
|
1086
1086
|
default: {
|
|
1087
1087
|
$value: "{base.color.white.default}",
|
|
1088
|
-
$description: "Main interaction color for buttons and links",
|
|
1088
|
+
$description: "Main interaction color for buttons and links (Blue 600)",
|
|
1089
1089
|
},
|
|
1090
1090
|
active: {
|
|
1091
1091
|
$value: "{base.color.white.default}",
|
|
1092
|
+
$description: "Interaction color when active (e.g., hover, Blue 700)",
|
|
1092
1093
|
},
|
|
1093
1094
|
inactive: {
|
|
1094
1095
|
$value: "{base.color.gray.300}",
|
|
1096
|
+
$description: "Interaction color when inactive (Gray 300)",
|
|
1095
1097
|
},
|
|
1096
1098
|
border: {
|
|
1097
1099
|
$value: "{base.color.gray.100}",
|
|
1100
|
+
$description: "Interaction border color (Gray 600)",
|
|
1098
1101
|
},
|
|
1099
1102
|
label: {
|
|
1100
1103
|
$value: "{base.color.gray.100}",
|
|
1104
|
+
$description: "Interaction label color (Gray 600)",
|
|
1101
1105
|
},
|
|
1102
1106
|
},
|
|
1103
1107
|
text: {
|
|
1104
1108
|
default: {
|
|
1105
1109
|
$value: "{base.color.gray.100}",
|
|
1106
|
-
$description: "Main text color for body",
|
|
1110
|
+
$description: "Main text color for body (Gray 600)",
|
|
1107
1111
|
},
|
|
1108
1112
|
"on-dark-bg": {
|
|
1109
|
-
$value: "{base.color.
|
|
1113
|
+
$value: "{base.color.white.default}",
|
|
1114
|
+
$description: "Main text color on dark background (White)",
|
|
1110
1115
|
},
|
|
1111
1116
|
"on-disabled": {
|
|
1112
1117
|
$value: "{base.color.white.default}",
|
|
1118
|
+
$description: "Main text color on disabled (White)",
|
|
1113
1119
|
},
|
|
1114
1120
|
"headline-on-dark-bg": {
|
|
1115
1121
|
$value: "{base.color.green.300}",
|
|
1122
|
+
$description: "Headline text color on dark background (Green 300)",
|
|
1116
1123
|
},
|
|
1117
1124
|
},
|
|
1118
1125
|
background: {
|
|
1119
1126
|
default: {
|
|
1120
1127
|
$value: "{base.color.black}",
|
|
1121
|
-
$description: "Main background color for body",
|
|
1128
|
+
$description: "Main background color for body (White)",
|
|
1122
1129
|
},
|
|
1123
1130
|
subtle: {
|
|
1124
1131
|
$value: "{base.color.gray.600}",
|
|
1132
|
+
$description: "Neutral (Gray 50)",
|
|
1125
1133
|
},
|
|
1126
1134
|
disabled: {
|
|
1127
1135
|
$value: "{base.color.gray.300}",
|
|
1136
|
+
$description: "Disabled (Gray 300)",
|
|
1128
1137
|
},
|
|
1129
1138
|
"light-blue": {
|
|
1130
1139
|
$value: "{base.color.blue.100}",
|
|
1140
|
+
$description: "Light blue (Blue 100)",
|
|
1131
1141
|
},
|
|
1132
1142
|
"light-green": {
|
|
1133
1143
|
$value: "{base.color.green.100}",
|
|
1144
|
+
$description: "Light green (Green 100)",
|
|
1134
1145
|
},
|
|
1135
1146
|
"dark-blue": {
|
|
1136
1147
|
$value: "{base.color.blue.800}",
|
|
1148
|
+
$description: "Dark blue (Blue 800)",
|
|
1137
1149
|
},
|
|
1138
1150
|
"dark-green": {
|
|
1139
1151
|
$value: "{base.color.green.700}",
|
|
1152
|
+
$description: "Dark green (Green 700)",
|
|
1140
1153
|
},
|
|
1141
1154
|
},
|
|
1142
1155
|
opaque: {
|
|
1143
1156
|
"white-90": {
|
|
1144
1157
|
$value: "{base.color.white.90}",
|
|
1158
|
+
$description: "White 90%",
|
|
1145
1159
|
},
|
|
1146
1160
|
"white-95": {
|
|
1147
1161
|
$value: "{base.color.white.95}",
|
|
1162
|
+
$description: "White 95%",
|
|
1148
1163
|
},
|
|
1149
1164
|
"gray-500-10": {
|
|
1150
1165
|
$value: "{base.color.gray.500.10}",
|
|
1166
|
+
$description: "Gray 500 10%",
|
|
1151
1167
|
},
|
|
1152
1168
|
"gray-500-30": {
|
|
1153
1169
|
$value: "{base.color.gray.500.30}",
|
|
1170
|
+
$description: "Gray 500 30%",
|
|
1154
1171
|
},
|
|
1155
1172
|
"gray-500-90": {
|
|
1156
1173
|
$value: "{base.color.gray.500.90}",
|
|
1174
|
+
$description: "Gray 500 90%",
|
|
1157
1175
|
},
|
|
1158
1176
|
},
|
|
1159
1177
|
state: {
|
|
@@ -1417,6 +1435,10 @@
|
|
|
1417
1435
|
$value: "{base.borderwidth.lg}",
|
|
1418
1436
|
},
|
|
1419
1437
|
},
|
|
1438
|
+
borderstyle: {
|
|
1439
|
+
$type: "strokeStyle",
|
|
1440
|
+
$value: "solid",
|
|
1441
|
+
},
|
|
1420
1442
|
focusring: {
|
|
1421
1443
|
"outline-width": {
|
|
1422
1444
|
$type: "dimension",
|
package/tokens/tokens.json
CHANGED
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"600": { "$value": { "colorSpace": "srgb", "components": [0.1765, 0.1922, 0.2039], "hex": "#2d3134" } }
|
|
38
38
|
},
|
|
39
39
|
"violet": {
|
|
40
|
-
"400": { "$value": { "colorSpace": "srgb", "components": [0.
|
|
41
|
-
"500": { "$value": { "colorSpace": "srgb", "components": [0.
|
|
40
|
+
"400": { "$value": { "colorSpace": "srgb", "components": [0.6431, 0.3333, 0.7725], "hex": "#a455c5" } },
|
|
41
|
+
"500": { "$value": { "colorSpace": "srgb", "components": [0.3921, 0.1921, 0.4745], "hex": "#643179" } }
|
|
42
42
|
},
|
|
43
43
|
"red": {
|
|
44
44
|
"400": { "$value": { "colorSpace": "srgb", "components": [0.7843, 0.0196, 0.2157], "hex": "#c80538" } }
|
|
@@ -270,33 +270,33 @@
|
|
|
270
270
|
"color": {
|
|
271
271
|
"$type": "color",
|
|
272
272
|
"fn": {
|
|
273
|
-
"default": { "$value": "{base.color.blue.600}", "$description": "Main interaction color for buttons and links" },
|
|
274
|
-
"active": { "$value": "{base.color.blue.700}" },
|
|
275
|
-
"inactive": { "$value": "{base.color.gray.300}" },
|
|
276
|
-
"border": { "$value": "{base.color.gray.600}" },
|
|
277
|
-
"label": { "$value": "{base.color.gray.600}" }
|
|
273
|
+
"default": { "$value": "{base.color.blue.600}", "$description": "Main interaction color for buttons and links (Blue 600)" },
|
|
274
|
+
"active": { "$value": "{base.color.blue.700}", "$description": "Interaction color when active (e.g., hover, Blue 700)" },
|
|
275
|
+
"inactive": { "$value": "{base.color.gray.300}", "$description": "Interaction color when inactive (Gray 300)" },
|
|
276
|
+
"border": { "$value": "{base.color.gray.600}", "$description": "Interaction border color (Gray 600)" },
|
|
277
|
+
"label": { "$value": "{base.color.gray.600}", "$description": "Interaction label color (Gray 600)" }
|
|
278
278
|
},
|
|
279
279
|
"text": {
|
|
280
|
-
"default": { "$value": "{base.color.gray.600}", "$description": "Main text color for body" },
|
|
281
|
-
"on-dark-bg": { "$value": "{base.color.white.default}" },
|
|
282
|
-
"on-disabled": { "$value": "{base.color.white.default}" },
|
|
283
|
-
"headline-on-dark-bg": { "$value": "{base.color.green.300}" }
|
|
280
|
+
"default": { "$value": "{base.color.gray.600}", "$description": "Main text color for body (Gray 600)" },
|
|
281
|
+
"on-dark-bg": { "$value": "{base.color.white.default}", "$description": "Main text color on dark background (White)" },
|
|
282
|
+
"on-disabled": { "$value": "{base.color.white.default}", "$description": "Main text color on disabled (White)" },
|
|
283
|
+
"headline-on-dark-bg": { "$value": "{base.color.green.300}", "$description": "Headline text color on dark background (Green 300)" }
|
|
284
284
|
},
|
|
285
285
|
"background": {
|
|
286
|
-
"default": { "$value": "{base.color.white.default}", "$description": "Main background color for body" },
|
|
287
|
-
"subtle": { "$value": "{base.color.gray.50}" },
|
|
288
|
-
"disabled": { "$value": "{base.color.gray.300}" },
|
|
289
|
-
"light-blue": { "$value": "{base.color.blue.100}" },
|
|
290
|
-
"light-green": { "$value": "{base.color.green.100}" },
|
|
291
|
-
"dark-blue": { "$value": "{base.color.blue.800}" },
|
|
292
|
-
"dark-green": { "$value": "{base.color.green.700}" }
|
|
286
|
+
"default": { "$value": "{base.color.white.default}", "$description": "Main background color for body (White)" },
|
|
287
|
+
"subtle": { "$value": "{base.color.gray.50}", "$description": "Neutral (Gray 50)" },
|
|
288
|
+
"disabled": { "$value": "{base.color.gray.300}", "$description": "Disabled (Gray 300)" },
|
|
289
|
+
"light-blue": { "$value": "{base.color.blue.100}", "$description": "Light blue (Blue 100)" },
|
|
290
|
+
"light-green": { "$value": "{base.color.green.100}", "$description": "Light green (Green 100)" },
|
|
291
|
+
"dark-blue": { "$value": "{base.color.blue.800}", "$description": "Dark blue (Blue 800)" },
|
|
292
|
+
"dark-green": { "$value": "{base.color.green.700}", "$description": "Dark green (Green 700)" }
|
|
293
293
|
},
|
|
294
294
|
"opaque": {
|
|
295
|
-
"white-90": { "$value": "{base.color.white.90}" },
|
|
296
|
-
"white-95": { "$value": "{base.color.white.95}" },
|
|
297
|
-
"gray-500-10": { "$value": "{base.color.gray.500.10}" },
|
|
298
|
-
"gray-500-30": { "$value": "{base.color.gray.500.30}" },
|
|
299
|
-
"gray-500-90": { "$value": "{base.color.gray.500.90}" }
|
|
295
|
+
"white-90": { "$value": "{base.color.white.90}", "$description": "White 90%" },
|
|
296
|
+
"white-95": { "$value": "{base.color.white.95}", "$description": "White 95%" },
|
|
297
|
+
"gray-500-10": { "$value": "{base.color.gray.500.10}", "$description": "Gray 500 10%" },
|
|
298
|
+
"gray-500-30": { "$value": "{base.color.gray.500.30}", "$description": "Gray 500 30%" },
|
|
299
|
+
"gray-500-90": { "$value": "{base.color.gray.500.90}", "$description": "Gray 500 90%" }
|
|
300
300
|
},
|
|
301
301
|
"state": {
|
|
302
302
|
"danger": { "$value": "{base.color.red.400}" },
|
|
@@ -419,6 +419,7 @@
|
|
|
419
419
|
"default": { "$value": "{base.borderwidth.md}" },
|
|
420
420
|
"large": { "$value": "{base.borderwidth.lg}" }
|
|
421
421
|
},
|
|
422
|
+
"borderstyle": { "$type": "strokeStyle", "$value": "solid" },
|
|
422
423
|
"focusring": {
|
|
423
424
|
"outline-width": { "$type": "dimension", "$value": "{base.borderwidth.lg}" },
|
|
424
425
|
"outline-offset": { "$type": "dimension", "$value": "{base.borderwidth.lg}" },
|