@openkfw/design-tokens 0.1.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/LICENSE +373 -0
- package/README.md +39 -0
- package/output/README.md +32 -0
- package/output/figma/kfw-design-tokens.light.json +890 -0
- package/output/json/kfw-design-tokens.light.json +7330 -0
- package/output/penpot/kfw-design-tokens.light.json +890 -0
- package/output/web_next_16px/css/kfw-design-tokens.light.css +262 -0
- package/output/web_next_16px/js/kfw-design-tokens.light.d.ts +560 -0
- package/output/web_next_16px/js/kfw-design-tokens.light.js +568 -0
- package/output/web_next_16px/scss/kfw-design-tokens.light.scss +257 -0
- package/output/web_stable_10px/css/kfw-design-tokens.light.css +262 -0
- package/output/web_stable_10px/js/kfw-design-tokens.light.d.ts +560 -0
- package/output/web_stable_10px/js/kfw-design-tokens.light.js +568 -0
- package/output/web_stable_10px/scss/kfw-design-tokens.light.scss +257 -0
- package/package.json +58 -0
- package/sd.config.ts +162 -0
- package/tokens/extended/README.md +15 -0
- package/tokens/extended/build.ts +79 -0
- package/tokens/extended/tokens/tokens.dark.json +21 -0
- package/tokens/gen-tokens.dark.json5 +1463 -0
- package/tokens/tokens.json +450 -0
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* KfW Design Tokens v0.1.0
|
|
3
|
+
* Copyright 2025
|
|
4
|
+
* Licensed under MPL-2.0 (https://github.com/openkfw/design-tokens/blob/main/LICENSE)
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
:root, :host, .kfw-theme--light { color-scheme: light; }
|
|
8
|
+
|
|
9
|
+
:root, :host, .kfw-theme--light {
|
|
10
|
+
--kfw-base-color-blue-100: #e9f5fb;
|
|
11
|
+
--kfw-base-color-blue-400: #54b3e2;
|
|
12
|
+
--kfw-base-color-blue-500: #007abc;
|
|
13
|
+
--kfw-base-color-blue-600: #005a8c;
|
|
14
|
+
--kfw-base-color-blue-700: #00446e;
|
|
15
|
+
--kfw-base-color-blue-800: #00375b;
|
|
16
|
+
--kfw-base-color-green-100: #ecfded;
|
|
17
|
+
--kfw-base-color-green-300: #b7f9aa;
|
|
18
|
+
--kfw-base-color-green-400: #94eb90;
|
|
19
|
+
--kfw-base-color-green-700: #398357;
|
|
20
|
+
--kfw-base-color-white-90: #ffffffe6;
|
|
21
|
+
--kfw-base-color-white-95: #fffffff2;
|
|
22
|
+
--kfw-base-color-white: #ffffff;
|
|
23
|
+
--kfw-base-color-black: #000000;
|
|
24
|
+
--kfw-base-color-gray-50: #f6f7f8;
|
|
25
|
+
--kfw-base-color-gray-100: #eef0f2;
|
|
26
|
+
--kfw-base-color-gray-200: #d8dfe3;
|
|
27
|
+
--kfw-base-color-gray-300: #a1adb5;
|
|
28
|
+
--kfw-base-color-gray-400: #6d767d;
|
|
29
|
+
--kfw-base-color-gray-500-10: #41484c1a;
|
|
30
|
+
--kfw-base-color-gray-500-30: #41484c4d;
|
|
31
|
+
--kfw-base-color-gray-500-90: #41484ce6;
|
|
32
|
+
--kfw-base-color-gray-500: #41484c;
|
|
33
|
+
--kfw-base-color-gray-600: #2d3134;
|
|
34
|
+
--kfw-base-color-violet-400: #9598e0;
|
|
35
|
+
--kfw-base-color-violet-500: #686fc8;
|
|
36
|
+
--kfw-base-color-red-400: #c80538;
|
|
37
|
+
--kfw-base-color-yellow-500: #eac80b;
|
|
38
|
+
--kfw-base-fontfamily-sans: 'KfW Centro Sans', Arial, 'Helvetica Neue', Helvetica, sans-serif;
|
|
39
|
+
--kfw-base-fontfamily-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, '"Liberation Mono"', '"Courier New"', monospace;
|
|
40
|
+
--kfw-base-space-static-5: 0.3125rem;
|
|
41
|
+
--kfw-base-space-static-10: 0.625rem;
|
|
42
|
+
--kfw-base-space-static-15: 0.9375rem;
|
|
43
|
+
--kfw-base-space-static-20: 1.25rem;
|
|
44
|
+
--kfw-base-space-static-25: 1.5625rem;
|
|
45
|
+
--kfw-base-space-static-30: 1.875rem;
|
|
46
|
+
--kfw-base-space-static-35: 2.1875rem;
|
|
47
|
+
--kfw-base-space-static-40: 2.5rem;
|
|
48
|
+
--kfw-base-space-static-50: 3.125rem;
|
|
49
|
+
--kfw-base-space-static-60: 3.75rem;
|
|
50
|
+
--kfw-base-space-fluid-5-min: 0.3125rem;
|
|
51
|
+
--kfw-base-space-fluid-5-max: 0.625rem;
|
|
52
|
+
--kfw-base-space-fluid-5-val: 0.521vi + 0.2083125rem;
|
|
53
|
+
--kfw-base-space-fluid-10-min: 0.625rem;
|
|
54
|
+
--kfw-base-space-fluid-10-max: 0.9375rem;
|
|
55
|
+
--kfw-base-space-fluid-10-val: 0.521vi + 0.5208125rem;
|
|
56
|
+
--kfw-base-space-fluid-15-min: 0.9375rem;
|
|
57
|
+
--kfw-base-space-fluid-15-max: 1.25rem;
|
|
58
|
+
--kfw-base-space-fluid-15-val: 0.521vi + 0.8333125rem;
|
|
59
|
+
--kfw-base-space-fluid-20-min: 1.25rem;
|
|
60
|
+
--kfw-base-space-fluid-20-max: 1.5625rem;
|
|
61
|
+
--kfw-base-space-fluid-20-val: 0.521vi + 1.1458125rem;
|
|
62
|
+
--kfw-base-space-fluid-25-min: 1.5625rem;
|
|
63
|
+
--kfw-base-space-fluid-25-max: 1.875rem;
|
|
64
|
+
--kfw-base-space-fluid-25-val: 0.521vi + 1.4583125rem;
|
|
65
|
+
--kfw-base-space-fluid-30-min: 1.875rem;
|
|
66
|
+
--kfw-base-space-fluid-30-max: 2.1875rem;
|
|
67
|
+
--kfw-base-space-fluid-30-val: 0.521vi + 1.7708125rem;
|
|
68
|
+
--kfw-base-space-fluid-35-min: 2.1875rem;
|
|
69
|
+
--kfw-base-space-fluid-35-max: 2.5rem;
|
|
70
|
+
--kfw-base-space-fluid-35-val: 0.521vi + 2.0833125rem;
|
|
71
|
+
--kfw-base-space-fluid-40-min: 2.5rem;
|
|
72
|
+
--kfw-base-space-fluid-40-max: 3.125rem;
|
|
73
|
+
--kfw-base-space-fluid-40-val: 1.042vi + 2.2916875rem;
|
|
74
|
+
--kfw-base-space-fluid-50-min: 3.125rem;
|
|
75
|
+
--kfw-base-space-fluid-50-max: 3.75rem;
|
|
76
|
+
--kfw-base-space-fluid-50-val: 1.042vi + 2.916625rem;
|
|
77
|
+
--kfw-base-fontsize-static-sm: 0.875rem;
|
|
78
|
+
--kfw-base-fontsize-static-md: 1rem;
|
|
79
|
+
--kfw-base-fontsize-static-lg: 1.125rem;
|
|
80
|
+
--kfw-base-fontsize-static-xl: 1.25rem;
|
|
81
|
+
--kfw-base-fontsize-static-2xl: 1.375rem;
|
|
82
|
+
--kfw-base-fontsize-static-3xl: 1.5rem;
|
|
83
|
+
--kfw-base-fontsize-static-4xl: 1.625rem;
|
|
84
|
+
--kfw-base-fontsize-static-5xl: 1.75rem;
|
|
85
|
+
--kfw-base-fontsize-static-6xl: 1.875rem;
|
|
86
|
+
--kfw-base-fontsize-static-7xl: 2rem;
|
|
87
|
+
--kfw-base-fontsize-static-8xl: 2.25rem;
|
|
88
|
+
--kfw-base-fontsize-fluid-sm-min: 0.875rem;
|
|
89
|
+
--kfw-base-fontsize-fluid-sm-max: 1rem;
|
|
90
|
+
--kfw-base-fontsize-fluid-sm-val: 0.208vi + 0.8333125rem;
|
|
91
|
+
--kfw-base-fontsize-fluid-md-min: 1rem;
|
|
92
|
+
--kfw-base-fontsize-fluid-md-max: 1.125rem;
|
|
93
|
+
--kfw-base-fontsize-fluid-md-val: 0.208vi + 0.9583125rem;
|
|
94
|
+
--kfw-base-fontsize-fluid-lg-min: 1.125rem;
|
|
95
|
+
--kfw-base-fontsize-fluid-lg-max: 1.25rem;
|
|
96
|
+
--kfw-base-fontsize-fluid-lg-val: 0.208vi + 1.0833125rem;
|
|
97
|
+
--kfw-base-fontsize-fluid-xl-min: 1.25rem;
|
|
98
|
+
--kfw-base-fontsize-fluid-xl-max: 1.375rem;
|
|
99
|
+
--kfw-base-fontsize-fluid-xl-val: 0.208vi + 1.2083125rem;
|
|
100
|
+
--kfw-base-fontsize-fluid-2xl-min: 1.375rem;
|
|
101
|
+
--kfw-base-fontsize-fluid-2xl-max: 1.5rem;
|
|
102
|
+
--kfw-base-fontsize-fluid-2xl-val: 0.208vi + 1.3333125rem;
|
|
103
|
+
--kfw-base-fontsize-fluid-3xl-min: 1.5rem;
|
|
104
|
+
--kfw-base-fontsize-fluid-3xl-max: 1.625rem;
|
|
105
|
+
--kfw-base-fontsize-fluid-3xl-val: 0.208vi + 1.4583125rem;
|
|
106
|
+
--kfw-base-fontsize-fluid-4xl-min: 1.625rem;
|
|
107
|
+
--kfw-base-fontsize-fluid-4xl-max: 1.75rem;
|
|
108
|
+
--kfw-base-fontsize-fluid-4xl-val: 0.208vi + 1.5833125rem;
|
|
109
|
+
--kfw-base-fontsize-fluid-5xl-min: 1.75rem;
|
|
110
|
+
--kfw-base-fontsize-fluid-5xl-max: 2rem;
|
|
111
|
+
--kfw-base-fontsize-fluid-5xl-val: 0.417vi + 1.666625rem;
|
|
112
|
+
--kfw-base-fontsize-fluid-6xl-min: 1.875rem;
|
|
113
|
+
--kfw-base-fontsize-fluid-6xl-max: 2.25rem;
|
|
114
|
+
--kfw-base-fontsize-fluid-6xl-val: 0.625vi + 1.75rem;
|
|
115
|
+
--kfw-base-lineheight-2xs: 1.2;
|
|
116
|
+
--kfw-base-lineheight-xs: 1.3;
|
|
117
|
+
--kfw-base-lineheight-sm: 1.333;
|
|
118
|
+
--kfw-base-lineheight-md: 1.4;
|
|
119
|
+
--kfw-base-lineheight-lg: 1.5;
|
|
120
|
+
--kfw-base-borderradius-sm: 0.125rem;
|
|
121
|
+
--kfw-base-borderradius-md: 0.25rem;
|
|
122
|
+
--kfw-base-borderradius-lg: 1.25rem;
|
|
123
|
+
--kfw-base-borderradius-full: 624.9375rem;
|
|
124
|
+
--kfw-base-borderwidth-none: 0;
|
|
125
|
+
--kfw-base-borderwidth-md: 1px;
|
|
126
|
+
--kfw-base-borderwidth-lg: 0.125rem;
|
|
127
|
+
--kfw-base-fontweight-regular: 400;
|
|
128
|
+
--kfw-base-fontweight-medium: 500;
|
|
129
|
+
--kfw-base-letterspacing-tight: -0.03125rem;
|
|
130
|
+
--kfw-base-letterspacing-normal: 0;
|
|
131
|
+
--kfw-base-letterspacing-wide: 0.03125rem;
|
|
132
|
+
--kfw-base-letterspacing-wider: 1px;
|
|
133
|
+
--kfw-base-layout-breakpoint-xs: 20rem;
|
|
134
|
+
--kfw-base-layout-breakpoint-sm: 37.5rem;
|
|
135
|
+
--kfw-base-layout-breakpoint-md: 52.5rem;
|
|
136
|
+
--kfw-base-layout-breakpoint-lg: 60rem;
|
|
137
|
+
--kfw-base-layout-breakpoint-xl: 80rem;
|
|
138
|
+
--kfw-base-layout-container-sm: 56rem;
|
|
139
|
+
--kfw-base-layout-container-md: 67.5rem;
|
|
140
|
+
--kfw-base-layout-container-lg: 80rem;
|
|
141
|
+
--kfw-base-layout-safezone-static-md: 1.25rem;
|
|
142
|
+
--kfw-base-layout-safezone-static-lg: 2.5rem;
|
|
143
|
+
--kfw-base-layout-safezone-fluid-min: 1.25rem;
|
|
144
|
+
--kfw-base-layout-safezone-fluid-max: 2.5rem;
|
|
145
|
+
--kfw-base-layout-safezone-fluid-val: 5.556vi - 0.8333125rem;
|
|
146
|
+
--kfw-base-layout-gridcolumn-1: 1;
|
|
147
|
+
--kfw-base-layout-gridcolumn-2: 2;
|
|
148
|
+
--kfw-base-layout-gridcolumn-3: 3;
|
|
149
|
+
--kfw-base-layout-gridcolumn-4: 4;
|
|
150
|
+
--kfw-base-layout-gridcolumn-6: 6;
|
|
151
|
+
--kfw-base-layout-gridcolumn-8: 8;
|
|
152
|
+
--kfw-base-layout-gridcolumn-12: 12;
|
|
153
|
+
--kfw-base-layout-gridgap-static-xs: 0.75rem;
|
|
154
|
+
--kfw-base-layout-gridgap-static-sm: 1.125rem;
|
|
155
|
+
--kfw-base-layout-gridgap-static-md: 1.375rem;
|
|
156
|
+
--kfw-base-layout-gridgap-static-lg: 1.625rem;
|
|
157
|
+
--kfw-base-layout-gridgap-static-xl: 2.25rem;
|
|
158
|
+
--kfw-base-layout-gridgap-fluid-min: 0.75rem;
|
|
159
|
+
--kfw-base-layout-gridgap-fluid-max: 2.25rem;
|
|
160
|
+
--kfw-base-layout-gridgap-fluid-val: 2.5vi + 0.25rem;
|
|
161
|
+
--kfw-color-fn: #005a8c;
|
|
162
|
+
--kfw-color-fn-active: #00446e;
|
|
163
|
+
--kfw-color-fn-inactive: #a1adb5;
|
|
164
|
+
--kfw-color-fn-border: #2d3134;
|
|
165
|
+
--kfw-color-fn-label: #2d3134;
|
|
166
|
+
--kfw-color-text: #2d3134;
|
|
167
|
+
--kfw-color-text-on-dark-bg: #ffffff;
|
|
168
|
+
--kfw-color-text-on-disabled: #ffffff;
|
|
169
|
+
--kfw-color-text-headline-on-dark-bg: #b7f9aa;
|
|
170
|
+
--kfw-color-background: #ffffff;
|
|
171
|
+
--kfw-color-background-subtle: #f6f7f8;
|
|
172
|
+
--kfw-color-background-disabled: #a1adb5;
|
|
173
|
+
--kfw-color-background-light-blue: #e9f5fb;
|
|
174
|
+
--kfw-color-background-light-green: #ecfded;
|
|
175
|
+
--kfw-color-background-dark-blue: #00375b;
|
|
176
|
+
--kfw-color-background-dark-green: #398357;
|
|
177
|
+
--kfw-color-accent: #b7f9aa;
|
|
178
|
+
--kfw-color-opaque-white-90: #ffffffe6;
|
|
179
|
+
--kfw-color-opaque-white-95: #fffffff2;
|
|
180
|
+
--kfw-color-opaque-gray-500-10: #41484c1a;
|
|
181
|
+
--kfw-color-opaque-gray-500-30: #41484c4d;
|
|
182
|
+
--kfw-color-opaque-gray-500-90: #41484ce6;
|
|
183
|
+
--kfw-color-state-danger: #c80538;
|
|
184
|
+
--kfw-color-state-success: #398357;
|
|
185
|
+
--kfw-color-state-warning: #9598e0;
|
|
186
|
+
--kfw-color-status-red: #c80538;
|
|
187
|
+
--kfw-color-status-yellow: #eac80b;
|
|
188
|
+
--kfw-color-status-green: #398357;
|
|
189
|
+
--kfw-color-line-6: #00446e;
|
|
190
|
+
--kfw-color-line-7: #2d3134;
|
|
191
|
+
--kfw-color-line-8: #a1adb5;
|
|
192
|
+
--kfw-color-line-9: #005a8c;
|
|
193
|
+
--kfw-color-line-10: #2d3134;
|
|
194
|
+
--kfw-color-line-11: #b7f9aa;
|
|
195
|
+
--kfw-color-line-12: #a1adb5;
|
|
196
|
+
--kfw-color-product-container: #f6f7f8;
|
|
197
|
+
--kfw-color-product-benefit: #007abc;
|
|
198
|
+
--kfw-color-product-credit: #398357;
|
|
199
|
+
--kfw-color-product-cooperation: #686fc8;
|
|
200
|
+
--kfw-color-product-credit-benefit: #41484c;
|
|
201
|
+
--kfw-color-icon: #005a8c;
|
|
202
|
+
--kfw-color-icon-secondary: #54b3e2;
|
|
203
|
+
--kfw-color-icon-disabled: #398357;
|
|
204
|
+
--kfw-color-icon-disabled-secondary: #94eb90;
|
|
205
|
+
--kfw-fontfamily: 'KfW Centro Sans', Arial, 'Helvetica Neue', Helvetica, sans-serif;
|
|
206
|
+
--kfw-fontfamily-code: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, '"Liberation Mono"', '"Courier New"', monospace;
|
|
207
|
+
--kfw-space-xsmall: 0.625rem;
|
|
208
|
+
--kfw-space-small: 1.25rem;
|
|
209
|
+
--kfw-space-medium: 1.875rem;
|
|
210
|
+
--kfw-space-large-min: 2.1875rem;
|
|
211
|
+
--kfw-space-large-max: 2.5rem;
|
|
212
|
+
--kfw-space-large-val: 0.521vi + 2.0833125rem;
|
|
213
|
+
--kfw-space-big-min: 3.125rem;
|
|
214
|
+
--kfw-space-big-max: 3.75rem;
|
|
215
|
+
--kfw-space-big-val: 1.042vi + 2.916625rem;
|
|
216
|
+
--kfw-fontspace: 1.25rem;
|
|
217
|
+
--kfw-fontspace-introduction: 1.25rem;
|
|
218
|
+
--kfw-fontspace-small: 0.3125rem;
|
|
219
|
+
--kfw-fontspace-large: 0.9375rem;
|
|
220
|
+
--kfw-fontspace-heading-1: 1.25rem;
|
|
221
|
+
--kfw-fontspace-heading-2: 1.25rem;
|
|
222
|
+
--kfw-fontspace-heading-3: 0.625rem;
|
|
223
|
+
--kfw-fontspace-heading-4: 0.625rem;
|
|
224
|
+
--kfw-fontspace-heading-5: 0.625rem;
|
|
225
|
+
--kfw-fontspace-heading-6: 1.25rem;
|
|
226
|
+
--kfw-fontsize: 1rem;
|
|
227
|
+
--kfw-fontsize-introduction: 1.25rem;
|
|
228
|
+
--kfw-fontsize-small: 0.875rem;
|
|
229
|
+
--kfw-fontsize-large: 1.125rem;
|
|
230
|
+
--kfw-fontsize-heading-1-min: 1.875rem;
|
|
231
|
+
--kfw-fontsize-heading-1-max: 2.25rem;
|
|
232
|
+
--kfw-fontsize-heading-1-val: 0.625vi + 1.75rem;
|
|
233
|
+
--kfw-fontsize-heading-2-min: 1.75rem;
|
|
234
|
+
--kfw-fontsize-heading-2-max: 2rem;
|
|
235
|
+
--kfw-fontsize-heading-2-val: 0.417vi + 1.666625rem;
|
|
236
|
+
--kfw-fontsize-heading-3-min: 1.5rem;
|
|
237
|
+
--kfw-fontsize-heading-3-max: 1.625rem;
|
|
238
|
+
--kfw-fontsize-heading-3-val: 0.208vi + 1.4583125rem;
|
|
239
|
+
--kfw-fontsize-heading-4-min: 1.25rem;
|
|
240
|
+
--kfw-fontsize-heading-4-max: 1.375rem;
|
|
241
|
+
--kfw-fontsize-heading-4-val: 0.208vi + 1.2083125rem;
|
|
242
|
+
--kfw-fontsize-heading-5: 1.125rem;
|
|
243
|
+
--kfw-fontsize-heading-6: 1rem;
|
|
244
|
+
--kfw-lineheight: 1.4;
|
|
245
|
+
--kfw-lineheight-list: 1.5;
|
|
246
|
+
--kfw-lineheight-heading: 1.3;
|
|
247
|
+
--kfw-lineheight-heading-5: 1.333;
|
|
248
|
+
--kfw-borderradius: 0.25rem;
|
|
249
|
+
--kfw-focusring-outline: 0.125rem dashed #00446e;
|
|
250
|
+
--kfw-focusring-outline-offset: 0.125rem;
|
|
251
|
+
--kfw-fontweight: 400;
|
|
252
|
+
--kfw-fontweight-heading: 500;
|
|
253
|
+
--kfw-breakpoint-mobile: 37.5rem;
|
|
254
|
+
--kfw-breakpoint-tablet: 52.5rem;
|
|
255
|
+
--kfw-breakpoint-desktop: 60rem;
|
|
256
|
+
--kfw-contentwrapper-narrow: 56rem;
|
|
257
|
+
--kfw-contentwrapper-basic: 67.5rem;
|
|
258
|
+
--kfw-contentwrapper-extended: 80rem;
|
|
259
|
+
--kfw-safezone-min: 1.25rem;
|
|
260
|
+
--kfw-safezone-max: 2.5rem;
|
|
261
|
+
--kfw-safezone-val: 5.556vi - 0.8333125rem;
|
|
262
|
+
}
|