@openkfw/design-tokens 0.5.6 → 0.5.8
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/src/style.css +141 -62
- package/output/css/kfw-design-tokens.light.css +31 -30
- package/output/figma/kfw-design-tokens.light.json +13 -9
- package/output/js/{kfw-design-tokens.light.d.ts → kfw-design-tokens.d.ts} +23 -4
- package/output/js/kfw-design-tokens.light.js +69 -68
- package/output/json/{kfw-design-tokens.light.json → kfw-design-tokens.json} +147 -668
- package/output/penpot/kfw-design-tokens.light.json +13 -9
- package/output/scss/kfw-design-tokens.light.scss +29 -28
- package/output/web_thirdparty_16px/css/kfw-design-tokens.light.css +31 -30
- package/output/web_thirdparty_16px/js/kfw-design-tokens.light.js +69 -68
- package/output/web_thirdparty_16px/scss/kfw-design-tokens.light.scss +29 -28
- package/package.json +9 -8
- package/tokens/gen-tokens.dark.json5 +39 -17
- package/tokens/tokens.json +29 -28
|
@@ -55,12 +55,12 @@
|
|
|
55
55
|
"$type": "color"
|
|
56
56
|
},
|
|
57
57
|
"Default": {
|
|
58
|
-
"$value": "#
|
|
58
|
+
"$value": "#fff",
|
|
59
59
|
"$type": "color"
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
62
|
"Black": {
|
|
63
|
-
"$value": "#
|
|
63
|
+
"$value": "#000",
|
|
64
64
|
"$type": "color"
|
|
65
65
|
},
|
|
66
66
|
"Gray": {
|
|
@@ -109,11 +109,11 @@
|
|
|
109
109
|
},
|
|
110
110
|
"Violet": {
|
|
111
111
|
"400": {
|
|
112
|
-
"$value": "#
|
|
112
|
+
"$value": "#a455c5",
|
|
113
113
|
"$type": "color"
|
|
114
114
|
},
|
|
115
115
|
"500": {
|
|
116
|
-
"$value": "#
|
|
116
|
+
"$value": "#643179",
|
|
117
117
|
"$type": "color"
|
|
118
118
|
}
|
|
119
119
|
},
|
|
@@ -337,11 +337,11 @@
|
|
|
337
337
|
"$type": "color"
|
|
338
338
|
},
|
|
339
339
|
"On-dark-bg": {
|
|
340
|
-
"$value": "#
|
|
340
|
+
"$value": "#fff",
|
|
341
341
|
"$type": "color"
|
|
342
342
|
},
|
|
343
343
|
"On-disabled": {
|
|
344
|
-
"$value": "#
|
|
344
|
+
"$value": "#fff",
|
|
345
345
|
"$type": "color"
|
|
346
346
|
},
|
|
347
347
|
"Headline-on-dark-bg": {
|
|
@@ -351,7 +351,7 @@
|
|
|
351
351
|
},
|
|
352
352
|
"Background": {
|
|
353
353
|
"Default": {
|
|
354
|
-
"$value": "#
|
|
354
|
+
"$value": "#fff",
|
|
355
355
|
"$type": "color"
|
|
356
356
|
},
|
|
357
357
|
"Subtle": {
|
|
@@ -411,7 +411,7 @@
|
|
|
411
411
|
"$type": "color"
|
|
412
412
|
},
|
|
413
413
|
"Warning": {
|
|
414
|
-
"$value": "#
|
|
414
|
+
"$value": "#a455c5",
|
|
415
415
|
"$type": "color"
|
|
416
416
|
}
|
|
417
417
|
},
|
|
@@ -473,7 +473,7 @@
|
|
|
473
473
|
"$type": "color"
|
|
474
474
|
},
|
|
475
475
|
"Cooperation": {
|
|
476
|
-
"$value": "#
|
|
476
|
+
"$value": "#643179",
|
|
477
477
|
"$type": "color"
|
|
478
478
|
},
|
|
479
479
|
"Credit-benefit": {
|
|
@@ -702,6 +702,10 @@
|
|
|
702
702
|
"$type": "borderWidth"
|
|
703
703
|
}
|
|
704
704
|
},
|
|
705
|
+
"Borderstyle": {
|
|
706
|
+
"$value": "solid",
|
|
707
|
+
"$type": "strokeStyle"
|
|
708
|
+
},
|
|
705
709
|
"Fontweight": {
|
|
706
710
|
"Default": {
|
|
707
711
|
"$value": 400,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
// KfW Design Tokens v0.5.
|
|
2
|
+
// KfW Design Tokens v0.5.8 | 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;
|
|
@@ -13,8 +13,8 @@ $kfw-base-color-green-400: #94eb90;
|
|
|
13
13
|
$kfw-base-color-green-700: #398357;
|
|
14
14
|
$kfw-base-color-white-90: #ffffffe6;
|
|
15
15
|
$kfw-base-color-white-95: #fffffff2;
|
|
16
|
-
$kfw-base-color-white: #
|
|
17
|
-
$kfw-base-color-black: #
|
|
16
|
+
$kfw-base-color-white: #fff;
|
|
17
|
+
$kfw-base-color-black: #000;
|
|
18
18
|
$kfw-base-color-gray-50: #f6f7f8;
|
|
19
19
|
$kfw-base-color-gray-100: #eef0f2;
|
|
20
20
|
$kfw-base-color-gray-200: #d8dfe3;
|
|
@@ -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: 3.6rem;
|
|
|
151
151
|
$kfw-base-layout-gridgap-fluid-min: 1.2rem;
|
|
152
152
|
$kfw-base-layout-gridgap-fluid-max: 3.6rem;
|
|
153
153
|
$kfw-base-layout-gridgap-fluid-val: 3.529vi - 0.9176rem;
|
|
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: #
|
|
161
|
-
$kfw-color-text-on-disabled: #
|
|
162
|
-
$kfw-color-text-headline-on-dark-bg: #b7f9aa;
|
|
163
|
-
$kfw-color-background: #
|
|
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: #fff; // Main text color on dark background (White)
|
|
161
|
+
$kfw-color-text-on-disabled: #fff; // 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: #fff; // 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: 999.9rem;
|
|
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;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* KfW Design Tokens v0.5.
|
|
2
|
+
* KfW Design Tokens v0.5.8 | MPL-2.0 | https://github.com/openkfw/design-tokens
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
:root, :host
|
|
5
|
+
[data-theme=light], :root:not([data-theme=dark]), :host(:not([data-theme=dark])) { color-scheme: light; }
|
|
6
6
|
|
|
7
|
-
:root, :host
|
|
7
|
+
[data-theme=light], :root:not([data-theme=dark]), :host(:not([data-theme=dark])) {
|
|
8
8
|
--kfw-base-color-blue-100: #e9f5fb;
|
|
9
9
|
--kfw-base-color-blue-400: #54b3e2;
|
|
10
10
|
--kfw-base-color-blue-500: #007abc;
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
--kfw-base-color-green-700: #398357;
|
|
18
18
|
--kfw-base-color-white-90: #ffffffe6;
|
|
19
19
|
--kfw-base-color-white-95: #fffffff2;
|
|
20
|
-
--kfw-base-color-white: #
|
|
21
|
-
--kfw-base-color-black: #
|
|
20
|
+
--kfw-base-color-white: #fff;
|
|
21
|
+
--kfw-base-color-black: #000;
|
|
22
22
|
--kfw-base-color-gray-50: #f6f7f8;
|
|
23
23
|
--kfw-base-color-gray-100: #eef0f2;
|
|
24
24
|
--kfw-base-color-gray-200: #d8dfe3;
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
--kfw-base-color-gray-500-90: #41484ce6;
|
|
30
30
|
--kfw-base-color-gray-500: #41484c;
|
|
31
31
|
--kfw-base-color-gray-600: #2d3134;
|
|
32
|
-
--kfw-base-color-violet-400: #
|
|
33
|
-
--kfw-base-color-violet-500: #
|
|
32
|
+
--kfw-base-color-violet-400: #a455c5;
|
|
33
|
+
--kfw-base-color-violet-500: #643179;
|
|
34
34
|
--kfw-base-color-red-400: #c80538;
|
|
35
35
|
--kfw-base-color-yellow-500: #eac80b;
|
|
36
36
|
--kfw-base-fontfamily-sans: "KfW Centro Sans", Arial, "Helvetica Neue", Helvetica, sans-serif;
|
|
@@ -155,30 +155,30 @@
|
|
|
155
155
|
--kfw-base-layout-gridgap-fluid-min: 0.75rem;
|
|
156
156
|
--kfw-base-layout-gridgap-fluid-max: 2.25rem;
|
|
157
157
|
--kfw-base-layout-gridgap-fluid-val: 3.529vi - 0.5735rem;
|
|
158
|
-
--kfw-color-fn: #005a8c; /** Main interaction color for buttons and links */
|
|
159
|
-
--kfw-color-fn-active: #00446e;
|
|
160
|
-
--kfw-color-fn-inactive: #a1adb5;
|
|
161
|
-
--kfw-color-fn-border: #2d3134;
|
|
162
|
-
--kfw-color-fn-label: #2d3134;
|
|
163
|
-
--kfw-color-text: #2d3134; /** Main text color for body */
|
|
164
|
-
--kfw-color-text-on-dark-bg: #
|
|
165
|
-
--kfw-color-text-on-disabled: #
|
|
166
|
-
--kfw-color-text-headline-on-dark-bg: #b7f9aa;
|
|
167
|
-
--kfw-color-background: #
|
|
168
|
-
--kfw-color-background-subtle: #f6f7f8;
|
|
169
|
-
--kfw-color-background-disabled: #a1adb5;
|
|
170
|
-
--kfw-color-background-light-blue: #e9f5fb;
|
|
171
|
-
--kfw-color-background-light-green: #ecfded;
|
|
172
|
-
--kfw-color-background-dark-blue: #00375b;
|
|
173
|
-
--kfw-color-background-dark-green: #398357;
|
|
174
|
-
--kfw-color-opaque-white-90: #ffffffe6;
|
|
175
|
-
--kfw-color-opaque-white-95: #fffffff2;
|
|
176
|
-
--kfw-color-opaque-gray-500-10: #41484c1a;
|
|
177
|
-
--kfw-color-opaque-gray-500-30: #41484c4d;
|
|
178
|
-
--kfw-color-opaque-gray-500-90: #41484ce6;
|
|
158
|
+
--kfw-color-fn: #005a8c; /** Main interaction color for buttons and links (Blue 600) */
|
|
159
|
+
--kfw-color-fn-active: #00446e; /** Interaction color when active (e.g., hover, Blue 700) */
|
|
160
|
+
--kfw-color-fn-inactive: #a1adb5; /** Interaction color when inactive (Gray 300) */
|
|
161
|
+
--kfw-color-fn-border: #2d3134; /** Interaction border color (Gray 600) */
|
|
162
|
+
--kfw-color-fn-label: #2d3134; /** Interaction label color (Gray 600) */
|
|
163
|
+
--kfw-color-text: #2d3134; /** Main text color for body (Gray 600) */
|
|
164
|
+
--kfw-color-text-on-dark-bg: #fff; /** Main text color on dark background (White) */
|
|
165
|
+
--kfw-color-text-on-disabled: #fff; /** Main text color on disabled (White) */
|
|
166
|
+
--kfw-color-text-headline-on-dark-bg: #b7f9aa; /** Headline text color on dark background (Green 300) */
|
|
167
|
+
--kfw-color-background: #fff; /** Main background color for body (White) */
|
|
168
|
+
--kfw-color-background-subtle: #f6f7f8; /** Neutral (Gray 50) */
|
|
169
|
+
--kfw-color-background-disabled: #a1adb5; /** Disabled (Gray 300) */
|
|
170
|
+
--kfw-color-background-light-blue: #e9f5fb; /** Light blue (Blue 100) */
|
|
171
|
+
--kfw-color-background-light-green: #ecfded; /** Light green (Green 100) */
|
|
172
|
+
--kfw-color-background-dark-blue: #00375b; /** Dark blue (Blue 800) */
|
|
173
|
+
--kfw-color-background-dark-green: #398357; /** Dark green (Green 700) */
|
|
174
|
+
--kfw-color-opaque-white-90: #ffffffe6; /** White 90% */
|
|
175
|
+
--kfw-color-opaque-white-95: #fffffff2; /** White 95% */
|
|
176
|
+
--kfw-color-opaque-gray-500-10: #41484c1a; /** Gray 500 10% */
|
|
177
|
+
--kfw-color-opaque-gray-500-30: #41484c4d; /** Gray 500 30% */
|
|
178
|
+
--kfw-color-opaque-gray-500-90: #41484ce6; /** Gray 500 90% */
|
|
179
179
|
--kfw-color-state-danger: #c80538;
|
|
180
180
|
--kfw-color-state-success: #398357;
|
|
181
|
-
--kfw-color-state-warning: #
|
|
181
|
+
--kfw-color-state-warning: #a455c5;
|
|
182
182
|
--kfw-color-status-red: #c80538;
|
|
183
183
|
--kfw-color-status-yellow: #eac80b;
|
|
184
184
|
--kfw-color-status-green: #398357;
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
--kfw-color-product-container: #f6f7f8;
|
|
193
193
|
--kfw-color-product-benefit: #007abc;
|
|
194
194
|
--kfw-color-product-credit: #398357;
|
|
195
|
-
--kfw-color-product-cooperation: #
|
|
195
|
+
--kfw-color-product-cooperation: #643179;
|
|
196
196
|
--kfw-color-product-credit-benefit: #41484c;
|
|
197
197
|
--kfw-color-icon: #005a8c;
|
|
198
198
|
--kfw-color-icon-secondary: #54b3e2;
|
|
@@ -248,6 +248,7 @@
|
|
|
248
248
|
--kfw-borderradius-circle: 624.9375rem;
|
|
249
249
|
--kfw-borderwidth: 1px;
|
|
250
250
|
--kfw-borderwidth-large: 2px;
|
|
251
|
+
--kfw-borderstyle: solid;
|
|
251
252
|
--kfw-focusring-outline-width: 2px;
|
|
252
253
|
--kfw-focusring-outline-offset: 2px;
|
|
253
254
|
--kfw-focusring-outline-style: dashed;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* KfW Design Tokens v0.5.
|
|
2
|
+
* KfW Design Tokens v0.5.8 | MPL-2.0 | https://github.com/openkfw/design-tokens
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
export const KfwBaseColorBlue100 = {
|
|
@@ -101,25 +101,25 @@ export const KfwBaseColorGray400 = {
|
|
|
101
101
|
};
|
|
102
102
|
export const KfwBaseColorGray50010 = {
|
|
103
103
|
colorSpace: "srgb",
|
|
104
|
-
components: [0.2549, 0.
|
|
104
|
+
components: [0.2549, 0.2824, 0.298],
|
|
105
105
|
hex: "#41484c",
|
|
106
106
|
alpha: 0.1,
|
|
107
107
|
};
|
|
108
108
|
export const KfwBaseColorGray50030 = {
|
|
109
109
|
colorSpace: "srgb",
|
|
110
|
-
components: [0.2549, 0.
|
|
110
|
+
components: [0.2549, 0.2824, 0.298],
|
|
111
111
|
hex: "#41484c",
|
|
112
112
|
alpha: 0.3,
|
|
113
113
|
};
|
|
114
114
|
export const KfwBaseColorGray50090 = {
|
|
115
115
|
colorSpace: "srgb",
|
|
116
|
-
components: [0.2549, 0.
|
|
116
|
+
components: [0.2549, 0.2824, 0.298],
|
|
117
117
|
hex: "#41484c",
|
|
118
118
|
alpha: 0.9,
|
|
119
119
|
};
|
|
120
120
|
export const KfwBaseColorGray500 = {
|
|
121
121
|
colorSpace: "srgb",
|
|
122
|
-
components: [0.2549, 0.
|
|
122
|
+
components: [0.2549, 0.2824, 0.298],
|
|
123
123
|
hex: "#41484c",
|
|
124
124
|
};
|
|
125
125
|
export const KfwBaseColorGray600 = {
|
|
@@ -129,17 +129,17 @@ 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",
|
|
142
|
-
components: [0.7843, 0.0196, 0.
|
|
142
|
+
components: [0.7843, 0.0196, 0.2196],
|
|
143
143
|
hex: "#c80538",
|
|
144
144
|
};
|
|
145
145
|
export const KfwBaseColorYellow500 = {
|
|
@@ -163,31 +163,31 @@ export const KfwBaseSpaceStatic50 = "3.125rem";
|
|
|
163
163
|
export const KfwBaseSpaceStatic60 = "3.75rem";
|
|
164
164
|
export const KfwBaseSpaceFluid5Min = "0.3125rem";
|
|
165
165
|
export const KfwBaseSpaceFluid5Max = "0.625rem";
|
|
166
|
-
export const KfwBaseSpaceFluid5Val = "0.588px";
|
|
166
|
+
export const KfwBaseSpaceFluid5Val = "0.735vi + 0.588px";
|
|
167
167
|
export const KfwBaseSpaceFluid10Min = "0.625rem";
|
|
168
168
|
export const KfwBaseSpaceFluid10Max = "0.9375rem";
|
|
169
|
-
export const KfwBaseSpaceFluid10Val = "0.34925rem";
|
|
169
|
+
export const KfwBaseSpaceFluid10Val = "0.735vi + 0.34925rem";
|
|
170
170
|
export const KfwBaseSpaceFluid15Min = "0.9375rem";
|
|
171
171
|
export const KfwBaseSpaceFluid15Max = "1.25rem";
|
|
172
|
-
export const KfwBaseSpaceFluid15Val = "0.66175rem";
|
|
172
|
+
export const KfwBaseSpaceFluid15Val = "0.735vi + 0.66175rem";
|
|
173
173
|
export const KfwBaseSpaceFluid20Min = "1.25rem";
|
|
174
174
|
export const KfwBaseSpaceFluid20Max = "1.5625rem";
|
|
175
|
-
export const KfwBaseSpaceFluid20Val = "0.97425rem";
|
|
175
|
+
export const KfwBaseSpaceFluid20Val = "0.735vi + 0.97425rem";
|
|
176
176
|
export const KfwBaseSpaceFluid25Min = "1.5625rem";
|
|
177
177
|
export const KfwBaseSpaceFluid25Max = "1.875rem";
|
|
178
|
-
export const KfwBaseSpaceFluid25Val = "1.28675rem";
|
|
178
|
+
export const KfwBaseSpaceFluid25Val = "0.735vi + 1.28675rem";
|
|
179
179
|
export const KfwBaseSpaceFluid30Min = "1.875rem";
|
|
180
180
|
export const KfwBaseSpaceFluid30Max = "2.1875rem";
|
|
181
|
-
export const KfwBaseSpaceFluid30Val = "1.59925rem";
|
|
181
|
+
export const KfwBaseSpaceFluid30Val = "0.735vi + 1.59925rem";
|
|
182
182
|
export const KfwBaseSpaceFluid35Min = "2.1875rem";
|
|
183
183
|
export const KfwBaseSpaceFluid35Max = "2.5rem";
|
|
184
|
-
export const KfwBaseSpaceFluid35Val = "1.91175rem";
|
|
184
|
+
export const KfwBaseSpaceFluid35Val = "0.735vi + 1.91175rem";
|
|
185
185
|
export const KfwBaseSpaceFluid40Min = "2.5rem";
|
|
186
186
|
export const KfwBaseSpaceFluid40Max = "3.125rem";
|
|
187
|
-
export const KfwBaseSpaceFluid40Val = "1.9485rem";
|
|
187
|
+
export const KfwBaseSpaceFluid40Val = "1.471vi + 1.9485rem";
|
|
188
188
|
export const KfwBaseSpaceFluid50Min = "3.125rem";
|
|
189
189
|
export const KfwBaseSpaceFluid50Max = "3.75rem";
|
|
190
|
-
export const KfwBaseSpaceFluid50Val = "2.5735rem";
|
|
190
|
+
export const KfwBaseSpaceFluid50Val = "1.471vi + 2.5735rem";
|
|
191
191
|
export const KfwBaseFontsizeStaticSm = "0.875rem";
|
|
192
192
|
export const KfwBaseFontsizeStaticMd = "1rem";
|
|
193
193
|
export const KfwBaseFontsizeStaticLg = "1.125rem";
|
|
@@ -201,31 +201,31 @@ export const KfwBaseFontsizeStatic7xl = "2rem";
|
|
|
201
201
|
export const KfwBaseFontsizeStatic8xl = "2.25rem";
|
|
202
202
|
export const KfwBaseFontsizeFluidSmMin = "0.875rem";
|
|
203
203
|
export const KfwBaseFontsizeFluidSmMax = "1rem";
|
|
204
|
-
export const KfwBaseFontsizeFluidSmVal = "0.7646875rem";
|
|
204
|
+
export const KfwBaseFontsizeFluidSmVal = "0.294vi + 0.7646875rem";
|
|
205
205
|
export const KfwBaseFontsizeFluidMdMin = "1rem";
|
|
206
206
|
export const KfwBaseFontsizeFluidMdMax = "1.125rem";
|
|
207
|
-
export const KfwBaseFontsizeFluidMdVal = "0.8896875rem";
|
|
207
|
+
export const KfwBaseFontsizeFluidMdVal = "0.294vi + 0.8896875rem";
|
|
208
208
|
export const KfwBaseFontsizeFluidLgMin = "1.125rem";
|
|
209
209
|
export const KfwBaseFontsizeFluidLgMax = "1.25rem";
|
|
210
|
-
export const KfwBaseFontsizeFluidLgVal = "1.0146875rem";
|
|
210
|
+
export const KfwBaseFontsizeFluidLgVal = "0.294vi + 1.0146875rem";
|
|
211
211
|
export const KfwBaseFontsizeFluidXlMin = "1.25rem";
|
|
212
212
|
export const KfwBaseFontsizeFluidXlMax = "1.375rem";
|
|
213
|
-
export const KfwBaseFontsizeFluidXlVal = "1.1396875rem";
|
|
213
|
+
export const KfwBaseFontsizeFluidXlVal = "0.294vi + 1.1396875rem";
|
|
214
214
|
export const KfwBaseFontsizeFluid2xlMin = "1.375rem";
|
|
215
215
|
export const KfwBaseFontsizeFluid2xlMax = "1.5rem";
|
|
216
|
-
export const KfwBaseFontsizeFluid2xlVal = "1.2646875rem";
|
|
216
|
+
export const KfwBaseFontsizeFluid2xlVal = "0.294vi + 1.2646875rem";
|
|
217
217
|
export const KfwBaseFontsizeFluid3xlMin = "1.5rem";
|
|
218
218
|
export const KfwBaseFontsizeFluid3xlMax = "1.625rem";
|
|
219
|
-
export const KfwBaseFontsizeFluid3xlVal = "1.3896875rem";
|
|
219
|
+
export const KfwBaseFontsizeFluid3xlVal = "0.294vi + 1.3896875rem";
|
|
220
220
|
export const KfwBaseFontsizeFluid4xlMin = "1.625rem";
|
|
221
221
|
export const KfwBaseFontsizeFluid4xlMax = "1.75rem";
|
|
222
|
-
export const KfwBaseFontsizeFluid4xlVal = "1.5146875rem";
|
|
222
|
+
export const KfwBaseFontsizeFluid4xlVal = "0.294vi + 1.5146875rem";
|
|
223
223
|
export const KfwBaseFontsizeFluid5xlMin = "1.75rem";
|
|
224
224
|
export const KfwBaseFontsizeFluid5xlMax = "2rem";
|
|
225
|
-
export const KfwBaseFontsizeFluid5xlVal = "1.5294375rem";
|
|
225
|
+
export const KfwBaseFontsizeFluid5xlVal = "0.588vi + 1.5294375rem";
|
|
226
226
|
export const KfwBaseFontsizeFluid6xlMin = "1.875rem";
|
|
227
227
|
export const KfwBaseFontsizeFluid6xlMax = "2.25rem";
|
|
228
|
-
export const KfwBaseFontsizeFluid6xlVal = "1.544125rem";
|
|
228
|
+
export const KfwBaseFontsizeFluid6xlVal = "0.882vi + 1.544125rem";
|
|
229
229
|
export const KfwBaseLineheight2xs = 1.2;
|
|
230
230
|
export const KfwBaseLineheightXs = 1.3;
|
|
231
231
|
export const KfwBaseLineheightSm = 1.333;
|
|
@@ -255,7 +255,7 @@ export const KfwBaseLayoutSafezoneStaticMd = "1.25rem";
|
|
|
255
255
|
export const KfwBaseLayoutSafezoneStaticLg = "2.5rem";
|
|
256
256
|
export const KfwBaseLayoutSafezoneFluidMin = "1.25rem";
|
|
257
257
|
export const KfwBaseLayoutSafezoneFluidMax = "2.5rem";
|
|
258
|
-
export const KfwBaseLayoutSafezoneFluidVal = "0.1470625rem";
|
|
258
|
+
export const KfwBaseLayoutSafezoneFluidVal = "2.941vi + 0.1470625rem";
|
|
259
259
|
export const KfwBaseLayoutGridcolumn1 = 1;
|
|
260
260
|
export const KfwBaseLayoutGridcolumn2 = 2;
|
|
261
261
|
export const KfwBaseLayoutGridcolumn3 = 3;
|
|
@@ -270,120 +270,120 @@ export const KfwBaseLayoutGridgapStaticLg = "1.625rem";
|
|
|
270
270
|
export const KfwBaseLayoutGridgapStaticXl = "2.25rem";
|
|
271
271
|
export const KfwBaseLayoutGridgapFluidMin = "0.75rem";
|
|
272
272
|
export const KfwBaseLayoutGridgapFluidMax = "2.25rem";
|
|
273
|
-
export const KfwBaseLayoutGridgapFluidVal = "-0.5735rem";
|
|
273
|
+
export const KfwBaseLayoutGridgapFluidVal = "3.529vi - 0.5735rem";
|
|
274
274
|
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
|
-
components: [0.2549, 0.
|
|
368
|
+
components: [0.2549, 0.2824, 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
|
-
components: [0.2549, 0.
|
|
374
|
+
components: [0.2549, 0.2824, 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
|
-
components: [0.2549, 0.
|
|
380
|
+
components: [0.2549, 0.2824, 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
|
-
components: [0.7843, 0.0196, 0.
|
|
386
|
+
components: [0.7843, 0.0196, 0.2196],
|
|
387
387
|
hex: "#c80538",
|
|
388
388
|
};
|
|
389
389
|
export const KfwColorStateSuccess = {
|
|
@@ -393,12 +393,12 @@ 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",
|
|
401
|
-
components: [0.7843, 0.0196, 0.
|
|
401
|
+
components: [0.7843, 0.0196, 0.2196],
|
|
402
402
|
hex: "#c80538",
|
|
403
403
|
};
|
|
404
404
|
export const KfwColorStatusYellow = {
|
|
@@ -463,12 +463,12 @@ 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",
|
|
471
|
-
components: [0.2549, 0.
|
|
471
|
+
components: [0.2549, 0.2824, 0.298],
|
|
472
472
|
hex: "#41484c",
|
|
473
473
|
};
|
|
474
474
|
export const KfwColorIcon = {
|
|
@@ -500,10 +500,10 @@ export const KfwSpaceSmall = "1.25rem";
|
|
|
500
500
|
export const KfwSpaceMedium = "1.875rem";
|
|
501
501
|
export const KfwSpaceLargeMin = "2.1875rem";
|
|
502
502
|
export const KfwSpaceLargeMax = "2.5rem";
|
|
503
|
-
export const KfwSpaceLargeVal = "1.91175rem";
|
|
503
|
+
export const KfwSpaceLargeVal = "0.735vi + 1.91175rem";
|
|
504
504
|
export const KfwSpaceBigMin = "3.125rem";
|
|
505
505
|
export const KfwSpaceBigMax = "3.75rem";
|
|
506
|
-
export const KfwSpaceBigVal = "2.5735rem";
|
|
506
|
+
export const KfwSpaceBigVal = "1.471vi + 2.5735rem";
|
|
507
507
|
export const KfwFontspace = "1.25rem";
|
|
508
508
|
export const KfwFontspace2xsmall = "0.3125rem";
|
|
509
509
|
export const KfwFontspaceXsmall = "0.625rem";
|
|
@@ -521,16 +521,16 @@ export const KfwFontsizeLarge = "1.125rem";
|
|
|
521
521
|
export const KfwFontsizeSmall = "0.875rem";
|
|
522
522
|
export const KfwFontsizeHeading1Min = "1.875rem";
|
|
523
523
|
export const KfwFontsizeHeading1Max = "2.25rem";
|
|
524
|
-
export const KfwFontsizeHeading1Val = "1.544125rem";
|
|
524
|
+
export const KfwFontsizeHeading1Val = "0.882vi + 1.544125rem";
|
|
525
525
|
export const KfwFontsizeHeading2Min = "1.75rem";
|
|
526
526
|
export const KfwFontsizeHeading2Max = "2rem";
|
|
527
|
-
export const KfwFontsizeHeading2Val = "1.5294375rem";
|
|
527
|
+
export const KfwFontsizeHeading2Val = "0.588vi + 1.5294375rem";
|
|
528
528
|
export const KfwFontsizeHeading3Min = "1.5rem";
|
|
529
529
|
export const KfwFontsizeHeading3Max = "1.625rem";
|
|
530
|
-
export const KfwFontsizeHeading3Val = "1.3896875rem";
|
|
530
|
+
export const KfwFontsizeHeading3Val = "0.294vi + 1.3896875rem";
|
|
531
531
|
export const KfwFontsizeHeading4Min = "1.25rem";
|
|
532
532
|
export const KfwFontsizeHeading4Max = "1.375rem";
|
|
533
|
-
export const KfwFontsizeHeading4Val = "1.1396875rem";
|
|
533
|
+
export const KfwFontsizeHeading4Val = "0.294vi + 1.1396875rem";
|
|
534
534
|
export const KfwFontsizeHeading5 = "1.125rem";
|
|
535
535
|
export const KfwFontsizeHeading6 = "1rem";
|
|
536
536
|
export const KfwLineheight = 1.4;
|
|
@@ -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";
|
|
@@ -557,4 +558,4 @@ export const KfwContentwrapperBasic = "67.5rem";
|
|
|
557
558
|
export const KfwContentwrapperExtended = "80rem";
|
|
558
559
|
export const KfwSafezoneMin = "1.25rem";
|
|
559
560
|
export const KfwSafezoneMax = "2.5rem";
|
|
560
|
-
export const KfwSafezoneVal = "0.1470625rem";
|
|
561
|
+
export const KfwSafezoneVal = "2.941vi + 0.1470625rem";
|