@knime/kds-styles 2.2.0 → 2.4.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/CHANGELOG.md +32 -0
- package/README.md +21 -0
- package/dist/tokens/css/_properties-legacy.css +220 -220
- package/dist/tokens/css/_properties.css +370 -370
- package/dist/tokens/css/_variables-legacy.css +220 -220
- package/dist/tokens/css/_variables.css +370 -370
- package/dist/tokens/ts/border-radius.d.ts +50 -0
- package/dist/tokens/ts/border-radius.js +88 -0
- package/dist/tokens/ts/border-width.d.ts +22 -0
- package/dist/tokens/ts/border-width.js +32 -0
- package/dist/tokens/ts/border.d.ts +118 -0
- package/dist/tokens/ts/border.js +316 -0
- package/dist/tokens/ts/box-shadow.d.ts +12 -0
- package/dist/tokens/ts/box-shadow.js +24 -0
- package/dist/tokens/ts/color.d.ts +880 -0
- package/dist/tokens/ts/color.js +1658 -0
- package/dist/tokens/ts/dimension.d.ts +196 -0
- package/dist/tokens/ts/dimension.js +362 -0
- package/dist/tokens/ts/elevation.d.ts +37 -0
- package/dist/tokens/ts/elevation.js +102 -0
- package/dist/tokens/ts/fake-border.d.ts +12 -0
- package/dist/tokens/ts/fake-border.js +24 -0
- package/dist/tokens/ts/font.d.ts +278 -0
- package/dist/tokens/ts/font.js +644 -0
- package/dist/tokens/ts/index.d.ts +17 -0
- package/dist/tokens/ts/index.js +16 -0
- package/dist/tokens/ts/sizing.d.ts +34 -0
- package/dist/tokens/ts/sizing.js +56 -0
- package/dist/tokens/ts/spacing.d.ts +90 -0
- package/dist/tokens/ts/spacing.js +115 -0
- package/dist/tokens/ts/types.d.ts +87 -0
- package/dist/tokens/ts/types.js +5 -0
- package/dist/tokens/ts/width.d.ts +14 -0
- package/dist/tokens/ts/width.js +16 -0
- package/package.json +5 -2
- package/dist/tokens/ts/_tokens.ts +0 -125
|
@@ -0,0 +1,880 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated
|
|
3
|
+
* from the design token sources in src/tokens.
|
|
4
|
+
*/
|
|
5
|
+
import type { KdsColor } from "./types.js";
|
|
6
|
+
export type KdsColorTokens = {
|
|
7
|
+
readonly surface: {
|
|
8
|
+
/**
|
|
9
|
+
* Main surface background, one layer above page. Serves as the primary container surface color.
|
|
10
|
+
*/
|
|
11
|
+
readonly default: KdsColor;
|
|
12
|
+
/**
|
|
13
|
+
* Muted background, one layer above surface-default. Used for secondary sections or nested containers on main surface.
|
|
14
|
+
*/
|
|
15
|
+
readonly muted: KdsColor;
|
|
16
|
+
/**
|
|
17
|
+
* Topmost background, one layer above surface-muted.
|
|
18
|
+
*/
|
|
19
|
+
readonly subtle: KdsColor;
|
|
20
|
+
};
|
|
21
|
+
readonly page: {
|
|
22
|
+
/**
|
|
23
|
+
* The base background for the entire app, on which all other surfaces sit. The darkest background color in the light theme.
|
|
24
|
+
*/
|
|
25
|
+
readonly default: KdsColor;
|
|
26
|
+
};
|
|
27
|
+
readonly background: {
|
|
28
|
+
readonly neutral: {
|
|
29
|
+
/**
|
|
30
|
+
* Transparent background for clickable or neutral elements.
|
|
31
|
+
*/
|
|
32
|
+
readonly initial: KdsColor;
|
|
33
|
+
/**
|
|
34
|
+
* Subtle neutral overlay on hover for clickable elements.
|
|
35
|
+
*/
|
|
36
|
+
readonly hover: KdsColor;
|
|
37
|
+
/**
|
|
38
|
+
* Stronger neutral overlay for active (pressed) state feedback.
|
|
39
|
+
*/
|
|
40
|
+
readonly active: KdsColor;
|
|
41
|
+
};
|
|
42
|
+
readonly "neutral-bold": {
|
|
43
|
+
/**
|
|
44
|
+
* More prominent background for clickable or neutral elements.
|
|
45
|
+
*/
|
|
46
|
+
readonly initial: KdsColor;
|
|
47
|
+
/**
|
|
48
|
+
* Darker background on hover for more prominent clickable or neutral elements.
|
|
49
|
+
*/
|
|
50
|
+
readonly hover: KdsColor;
|
|
51
|
+
/**
|
|
52
|
+
* Darkest background on pressed for more prominent clickable or neutral elements.
|
|
53
|
+
*/
|
|
54
|
+
readonly active: KdsColor;
|
|
55
|
+
};
|
|
56
|
+
readonly primary: {
|
|
57
|
+
/**
|
|
58
|
+
* Light-teal background for primary actions or highlights.
|
|
59
|
+
*/
|
|
60
|
+
readonly initial: KdsColor;
|
|
61
|
+
/**
|
|
62
|
+
* Darker teal background on hover for primary actions.
|
|
63
|
+
*/
|
|
64
|
+
readonly hover: KdsColor;
|
|
65
|
+
/**
|
|
66
|
+
* Darkest teal background on pressed for primary actions.
|
|
67
|
+
*/
|
|
68
|
+
readonly active: KdsColor;
|
|
69
|
+
};
|
|
70
|
+
readonly "primary-bold": {
|
|
71
|
+
/**
|
|
72
|
+
* Deep Teal background for most prominent, primary actions or highlights.
|
|
73
|
+
*/
|
|
74
|
+
readonly initial: KdsColor;
|
|
75
|
+
/**
|
|
76
|
+
* Darker teal background on hover for most prominent, primary actions or highlights.
|
|
77
|
+
*/
|
|
78
|
+
readonly hover: KdsColor;
|
|
79
|
+
/**
|
|
80
|
+
* Darkest teal background on pressed for most prominent, primary actions or highlights.
|
|
81
|
+
*/
|
|
82
|
+
readonly active: KdsColor;
|
|
83
|
+
};
|
|
84
|
+
readonly selected: {
|
|
85
|
+
/**
|
|
86
|
+
* Light-teal highlight for selectable elements.
|
|
87
|
+
*/
|
|
88
|
+
readonly initial: KdsColor;
|
|
89
|
+
/**
|
|
90
|
+
* Darker teal on hover for backgrounds in selectable elements.
|
|
91
|
+
*/
|
|
92
|
+
readonly hover: KdsColor;
|
|
93
|
+
/**
|
|
94
|
+
* Darkest teal on pressed for backgrounds in selectable elements.
|
|
95
|
+
*/
|
|
96
|
+
readonly active: KdsColor;
|
|
97
|
+
};
|
|
98
|
+
readonly "selected-bold": {
|
|
99
|
+
/**
|
|
100
|
+
* Mid-teal background for most prominent, selectable elements.
|
|
101
|
+
*/
|
|
102
|
+
readonly initial: KdsColor;
|
|
103
|
+
/**
|
|
104
|
+
* Darker mid-teal background on hover for most prominent, selectable elements.
|
|
105
|
+
*/
|
|
106
|
+
readonly hover: KdsColor;
|
|
107
|
+
/**
|
|
108
|
+
* Darkest mid-teal background on pressed for most prominent, selectable elements.
|
|
109
|
+
*/
|
|
110
|
+
readonly active: KdsColor;
|
|
111
|
+
};
|
|
112
|
+
readonly danger: {
|
|
113
|
+
/**
|
|
114
|
+
* Very light red background for error or destructive states.
|
|
115
|
+
*/
|
|
116
|
+
readonly initial: KdsColor;
|
|
117
|
+
/**
|
|
118
|
+
* Darker red background on hover for error or destructive states.
|
|
119
|
+
*/
|
|
120
|
+
readonly hover: KdsColor;
|
|
121
|
+
/**
|
|
122
|
+
* Darkest red background on pressed for error or destructive states.
|
|
123
|
+
*/
|
|
124
|
+
readonly active: KdsColor;
|
|
125
|
+
};
|
|
126
|
+
readonly "danger-bold": {
|
|
127
|
+
/**
|
|
128
|
+
* More prominent red background for most prominent, error or destructive states.
|
|
129
|
+
*/
|
|
130
|
+
readonly initial: KdsColor;
|
|
131
|
+
/**
|
|
132
|
+
* Darker red background on hover for most prominent, error callouts or destructive buttons.
|
|
133
|
+
*/
|
|
134
|
+
readonly hover: KdsColor;
|
|
135
|
+
/**
|
|
136
|
+
* Darker red background on pressed for most prominent, error callouts or destructive buttons.
|
|
137
|
+
*/
|
|
138
|
+
readonly active: KdsColor;
|
|
139
|
+
};
|
|
140
|
+
readonly input: {
|
|
141
|
+
/**
|
|
142
|
+
* Neutral background for input elements.
|
|
143
|
+
*/
|
|
144
|
+
readonly initial: KdsColor;
|
|
145
|
+
/**
|
|
146
|
+
* Darker neutral background on hover for input elements.
|
|
147
|
+
*/
|
|
148
|
+
readonly hover: KdsColor;
|
|
149
|
+
/**
|
|
150
|
+
* Darkest neutral background on pressed for input elements.
|
|
151
|
+
*/
|
|
152
|
+
readonly active: KdsColor;
|
|
153
|
+
};
|
|
154
|
+
readonly disabled: {
|
|
155
|
+
/**
|
|
156
|
+
* Neutral overlay for component backgrounds in the disabled state.
|
|
157
|
+
*/
|
|
158
|
+
readonly default: KdsColor;
|
|
159
|
+
/**
|
|
160
|
+
* Disabled background for primary backgrounds.
|
|
161
|
+
*/
|
|
162
|
+
readonly primary: KdsColor;
|
|
163
|
+
/**
|
|
164
|
+
* Disabled background for bold danger backgrounds.
|
|
165
|
+
*/
|
|
166
|
+
readonly danger: KdsColor;
|
|
167
|
+
};
|
|
168
|
+
readonly "success-bold": {
|
|
169
|
+
/**
|
|
170
|
+
* More prominent green background for most prominent, success states.
|
|
171
|
+
*/
|
|
172
|
+
readonly initial: KdsColor;
|
|
173
|
+
};
|
|
174
|
+
readonly "info-bold": {
|
|
175
|
+
/**
|
|
176
|
+
* More prominent blue background for most prominent info actions in the table or workflow canvas.
|
|
177
|
+
*/
|
|
178
|
+
readonly initial: KdsColor;
|
|
179
|
+
/**
|
|
180
|
+
* Darker blue background on hover for most prominent info actions in the table or workflow canvas.
|
|
181
|
+
*/
|
|
182
|
+
readonly hover: KdsColor;
|
|
183
|
+
/**
|
|
184
|
+
* Darker blue background on pressed for most prominent info actions in the table or workflow canvas.
|
|
185
|
+
*/
|
|
186
|
+
readonly active: KdsColor;
|
|
187
|
+
};
|
|
188
|
+
};
|
|
189
|
+
readonly "background-static": {
|
|
190
|
+
/**
|
|
191
|
+
* Blue background for informational messages.
|
|
192
|
+
*/
|
|
193
|
+
readonly info: KdsColor;
|
|
194
|
+
/**
|
|
195
|
+
* Lighter blue background for muted informational messages.
|
|
196
|
+
*/
|
|
197
|
+
readonly "info-muted": KdsColor;
|
|
198
|
+
/**
|
|
199
|
+
* Light orange background for warning states.
|
|
200
|
+
*/
|
|
201
|
+
readonly warning: KdsColor;
|
|
202
|
+
/**
|
|
203
|
+
* Lighter orange background for muted warning states.
|
|
204
|
+
*/
|
|
205
|
+
readonly "warning-muted": KdsColor;
|
|
206
|
+
/**
|
|
207
|
+
* Light red background for error or destructive states.
|
|
208
|
+
*/
|
|
209
|
+
readonly danger: KdsColor;
|
|
210
|
+
/**
|
|
211
|
+
* Lighter red background for muted error or destructive states.
|
|
212
|
+
*/
|
|
213
|
+
readonly "danger-muted": KdsColor;
|
|
214
|
+
/**
|
|
215
|
+
* Light green background for success states.
|
|
216
|
+
*/
|
|
217
|
+
readonly success: KdsColor;
|
|
218
|
+
/**
|
|
219
|
+
* Lighter green background for muted success states.
|
|
220
|
+
*/
|
|
221
|
+
readonly "success-muted": KdsColor;
|
|
222
|
+
/**
|
|
223
|
+
* Vibrant brand yellow background for branding elements.
|
|
224
|
+
*/
|
|
225
|
+
readonly brand: KdsColor;
|
|
226
|
+
/**
|
|
227
|
+
* Background color for content overlay, like tooltip.
|
|
228
|
+
*/
|
|
229
|
+
readonly overlay: KdsColor;
|
|
230
|
+
/**
|
|
231
|
+
* Color used for charts (Track color, Empty Value).
|
|
232
|
+
*/
|
|
233
|
+
readonly "chart-0": KdsColor;
|
|
234
|
+
/**
|
|
235
|
+
* Color used for donut charts (Current Value).
|
|
236
|
+
*/
|
|
237
|
+
readonly "chart-1": KdsColor;
|
|
238
|
+
/**
|
|
239
|
+
* Color used for donut charts (Added Value).
|
|
240
|
+
*/
|
|
241
|
+
readonly "chart-2": KdsColor;
|
|
242
|
+
};
|
|
243
|
+
readonly "text-and-icon": {
|
|
244
|
+
/**
|
|
245
|
+
* Text and icon color for primary content on light surfaces.
|
|
246
|
+
*/
|
|
247
|
+
readonly neutral: KdsColor;
|
|
248
|
+
/**
|
|
249
|
+
* Muted text and icon color for secondary content on light surfaces.
|
|
250
|
+
*/
|
|
251
|
+
readonly muted: KdsColor;
|
|
252
|
+
/**
|
|
253
|
+
* Subtle text and icon color for e.g. helper text inside input fields.
|
|
254
|
+
*/
|
|
255
|
+
readonly subtle: KdsColor;
|
|
256
|
+
/**
|
|
257
|
+
* Text and icon color for primary content on dark surfaces.
|
|
258
|
+
*/
|
|
259
|
+
readonly "neutral-inverted": KdsColor;
|
|
260
|
+
/**
|
|
261
|
+
* Teal accent color for text and icons on light surfaces.
|
|
262
|
+
*/
|
|
263
|
+
readonly primary: KdsColor;
|
|
264
|
+
/**
|
|
265
|
+
* Light teal color for text and icons on dark surfaces.
|
|
266
|
+
*/
|
|
267
|
+
readonly "primary-inverted": KdsColor;
|
|
268
|
+
/**
|
|
269
|
+
* Teal color for selected text and icons on light surfaces.
|
|
270
|
+
*/
|
|
271
|
+
readonly selected: KdsColor;
|
|
272
|
+
/**
|
|
273
|
+
* Very light teal color for selected text and icons on dark surfaces.
|
|
274
|
+
*/
|
|
275
|
+
readonly "selected-inverted": KdsColor;
|
|
276
|
+
/**
|
|
277
|
+
* Orange color for warning text and icons on light surfaces.
|
|
278
|
+
*/
|
|
279
|
+
readonly warning: KdsColor;
|
|
280
|
+
/**
|
|
281
|
+
* Light orange color for warning text and icons on dark surfaces.
|
|
282
|
+
*/
|
|
283
|
+
readonly "warning-inverted": KdsColor;
|
|
284
|
+
/**
|
|
285
|
+
* Red color for danger text and icons on light surfaces.
|
|
286
|
+
*/
|
|
287
|
+
readonly danger: KdsColor;
|
|
288
|
+
/**
|
|
289
|
+
* Light red color for danger text and icons on dark surfaces.
|
|
290
|
+
*/
|
|
291
|
+
readonly "danger-inverted": KdsColor;
|
|
292
|
+
/**
|
|
293
|
+
* Green color for success text and icons on light surfaces.
|
|
294
|
+
*/
|
|
295
|
+
readonly success: KdsColor;
|
|
296
|
+
/**
|
|
297
|
+
* Light green color for success text and icons on dark surfaces.
|
|
298
|
+
*/
|
|
299
|
+
readonly "success-inverted": KdsColor;
|
|
300
|
+
/**
|
|
301
|
+
* Dimmed neutral color for text and icons in the disabled state.
|
|
302
|
+
*/
|
|
303
|
+
readonly disabled: KdsColor;
|
|
304
|
+
/**
|
|
305
|
+
* Color for text and icons in the disabled state on primary-disabled backgrounds.
|
|
306
|
+
*/
|
|
307
|
+
readonly "disabled-inverted": KdsColor;
|
|
308
|
+
/**
|
|
309
|
+
* Blue color for informational text and icons on light surfaces.
|
|
310
|
+
*/
|
|
311
|
+
readonly info: KdsColor;
|
|
312
|
+
/**
|
|
313
|
+
* Text and icon color for editor content.
|
|
314
|
+
*/
|
|
315
|
+
readonly editor: KdsColor;
|
|
316
|
+
};
|
|
317
|
+
readonly border: {
|
|
318
|
+
/**
|
|
319
|
+
* Neutral border for components. [Used as reference token only for the Border composite tokens]
|
|
320
|
+
*/
|
|
321
|
+
readonly neutral: KdsColor;
|
|
322
|
+
/**
|
|
323
|
+
* Muted neutral border for less emphasis. [Used as reference token only for the Border composite tokens]
|
|
324
|
+
*/
|
|
325
|
+
readonly muted: KdsColor;
|
|
326
|
+
/**
|
|
327
|
+
* Subtle neutral border for faint components. [Used as reference token only for the Border composite tokens]
|
|
328
|
+
*/
|
|
329
|
+
readonly subtle: KdsColor;
|
|
330
|
+
/**
|
|
331
|
+
* Dark teal border accent for most prominent emphasis. [Used as reference token only for the Border composite tokens]
|
|
332
|
+
*/
|
|
333
|
+
readonly "primary-bold": KdsColor;
|
|
334
|
+
/**
|
|
335
|
+
* Light teal border accent for emphasis. [Used as reference token only for the Border composite tokens]
|
|
336
|
+
*/
|
|
337
|
+
readonly primary: KdsColor;
|
|
338
|
+
/**
|
|
339
|
+
* Teal border indicating the selected state (most prominent). [Used as reference token only for the Border composite tokens]
|
|
340
|
+
*/
|
|
341
|
+
readonly "selected-bold": KdsColor;
|
|
342
|
+
/**
|
|
343
|
+
* Faint teal border indicating the selected state. [Used as reference token only for the Border composite tokens]
|
|
344
|
+
*/
|
|
345
|
+
readonly selected: KdsColor;
|
|
346
|
+
/**
|
|
347
|
+
* Accent border indicating the accented selected state. [Used as reference token only for the Border composite tokens]
|
|
348
|
+
*/
|
|
349
|
+
readonly "selected-accent": KdsColor;
|
|
350
|
+
/**
|
|
351
|
+
* Orange border for most prominent warnings. [Used as reference token only for the Border composite tokens]
|
|
352
|
+
*/
|
|
353
|
+
readonly "warning-bold": KdsColor;
|
|
354
|
+
/**
|
|
355
|
+
* Orange border for warnings. [Used as reference token only for the Border composite tokens]
|
|
356
|
+
*/
|
|
357
|
+
readonly warning: KdsColor;
|
|
358
|
+
/**
|
|
359
|
+
* Red border for most prominent error elements. [Used as reference token only for the Border composite tokens]
|
|
360
|
+
*/
|
|
361
|
+
readonly "danger-bold": KdsColor;
|
|
362
|
+
/**
|
|
363
|
+
* Red border for error elements. [Used as reference token only for the Border composite tokens]
|
|
364
|
+
*/
|
|
365
|
+
readonly danger: KdsColor;
|
|
366
|
+
/**
|
|
367
|
+
* Green border for most prominent success elements. [Used as reference token only for the Border composite tokens]
|
|
368
|
+
*/
|
|
369
|
+
readonly "success-bold": KdsColor;
|
|
370
|
+
/**
|
|
371
|
+
* Green border for success elements. [Used as reference token only for the Border composite tokens]
|
|
372
|
+
*/
|
|
373
|
+
readonly success: KdsColor;
|
|
374
|
+
/**
|
|
375
|
+
* Blue border for most prominent info elements. [Used as reference token only for the Border composite tokens]
|
|
376
|
+
*/
|
|
377
|
+
readonly "info-bold": KdsColor;
|
|
378
|
+
/**
|
|
379
|
+
* Blue border for info elements. [Used as reference token only for the Border composite tokens]
|
|
380
|
+
*/
|
|
381
|
+
readonly info: KdsColor;
|
|
382
|
+
/**
|
|
383
|
+
* Fully transparent border for components with invisible borders. [Used as reference token only for the Border composite tokens]
|
|
384
|
+
*/
|
|
385
|
+
readonly transparent: KdsColor;
|
|
386
|
+
/**
|
|
387
|
+
* Neutral border for components in the disabled state. [Used as reference token only for the Border composite tokens]
|
|
388
|
+
*/
|
|
389
|
+
readonly disabled: KdsColor;
|
|
390
|
+
/**
|
|
391
|
+
* Yellow border accent for brand highlights. [Used as reference token only for the Border composite tokens]
|
|
392
|
+
*/
|
|
393
|
+
readonly brand: KdsColor;
|
|
394
|
+
/**
|
|
395
|
+
* Neutral border for ResizeHandler. [Used as reference token only for the ResizeHandler composite tokens]
|
|
396
|
+
*/
|
|
397
|
+
readonly "neutral-bold-initial": KdsColor;
|
|
398
|
+
/**
|
|
399
|
+
* Neutral border for ResizeHandler on hover. [Used as reference token only for the ResizeHandler composite tokens]
|
|
400
|
+
*/
|
|
401
|
+
readonly "neutral-bold-hover": KdsColor;
|
|
402
|
+
/**
|
|
403
|
+
* Neutral border for ResizeHandler on active. [Used as reference token only for the ResizeHandler composite tokens]
|
|
404
|
+
*/
|
|
405
|
+
readonly "neutral-bold-active": KdsColor;
|
|
406
|
+
};
|
|
407
|
+
readonly focus: {
|
|
408
|
+
/**
|
|
409
|
+
* Blue outline highlight for focused elements. [Used as reference token only for the Border composite tokens]
|
|
410
|
+
*/
|
|
411
|
+
readonly outline: KdsColor;
|
|
412
|
+
/**
|
|
413
|
+
* Blue background highlight for focused elements. [Used with elements that are using 1px Border focus color through Border composite tokens]
|
|
414
|
+
*/
|
|
415
|
+
readonly background: KdsColor;
|
|
416
|
+
};
|
|
417
|
+
readonly blanket: {
|
|
418
|
+
/**
|
|
419
|
+
* Dimmed overlay background for modals and dialogs.
|
|
420
|
+
*/
|
|
421
|
+
readonly default: KdsColor;
|
|
422
|
+
};
|
|
423
|
+
readonly "nodes-and-variables": {
|
|
424
|
+
/**
|
|
425
|
+
* Specific color for Nodes and Variables.
|
|
426
|
+
*/
|
|
427
|
+
readonly "flow-variable": KdsColor;
|
|
428
|
+
/**
|
|
429
|
+
* Specific color for Nodes and Variables.
|
|
430
|
+
*/
|
|
431
|
+
readonly loop: KdsColor;
|
|
432
|
+
/**
|
|
433
|
+
* Specific color for Nodes and Variables.
|
|
434
|
+
*/
|
|
435
|
+
readonly manipulator: KdsColor;
|
|
436
|
+
/**
|
|
437
|
+
* Specific color for Nodes and Variables.
|
|
438
|
+
*/
|
|
439
|
+
readonly predictor: KdsColor;
|
|
440
|
+
/**
|
|
441
|
+
* Specific color for Nodes and Variables.
|
|
442
|
+
*/
|
|
443
|
+
readonly source: KdsColor;
|
|
444
|
+
/**
|
|
445
|
+
* Specific color for Nodes and Variables.
|
|
446
|
+
*/
|
|
447
|
+
readonly visualizer: KdsColor;
|
|
448
|
+
/**
|
|
449
|
+
* Specific color for Nodes and Variables.
|
|
450
|
+
*/
|
|
451
|
+
readonly scope: KdsColor;
|
|
452
|
+
/**
|
|
453
|
+
* Specific color for Nodes and Variables.
|
|
454
|
+
*/
|
|
455
|
+
readonly learner: KdsColor;
|
|
456
|
+
/**
|
|
457
|
+
* Specific color for Nodes and Variables.
|
|
458
|
+
*/
|
|
459
|
+
readonly sink: KdsColor;
|
|
460
|
+
/**
|
|
461
|
+
* Specific color for Nodes and Variables.
|
|
462
|
+
*/
|
|
463
|
+
readonly container: KdsColor;
|
|
464
|
+
/**
|
|
465
|
+
* Specific color for Nodes and Variables.
|
|
466
|
+
*/
|
|
467
|
+
readonly unknown: KdsColor;
|
|
468
|
+
/**
|
|
469
|
+
* Specific color for Nodes and Variables.
|
|
470
|
+
*/
|
|
471
|
+
readonly other: KdsColor;
|
|
472
|
+
/**
|
|
473
|
+
* Specific color for Nodes and Variables.
|
|
474
|
+
*/
|
|
475
|
+
readonly metanode: KdsColor;
|
|
476
|
+
/**
|
|
477
|
+
* Specific color for Nodes and Variables.
|
|
478
|
+
*/
|
|
479
|
+
readonly metanodeBorder: KdsColor;
|
|
480
|
+
/**
|
|
481
|
+
* Specific color for Nodes and Variables.
|
|
482
|
+
*/
|
|
483
|
+
readonly component: KdsColor;
|
|
484
|
+
/**
|
|
485
|
+
* Specific color for Nodes and Variables.
|
|
486
|
+
*/
|
|
487
|
+
readonly specialState: KdsColor;
|
|
488
|
+
/**
|
|
489
|
+
* Specific color for Nodes and Variables.
|
|
490
|
+
*/
|
|
491
|
+
readonly forbiddenBorder: KdsColor;
|
|
492
|
+
/**
|
|
493
|
+
* Specific color for Nodes and Variables.
|
|
494
|
+
*/
|
|
495
|
+
readonly forbidden: KdsColor;
|
|
496
|
+
/**
|
|
497
|
+
* Specific color for Nodes and Variables.
|
|
498
|
+
*/
|
|
499
|
+
readonly warningBorder: KdsColor;
|
|
500
|
+
/**
|
|
501
|
+
* Specific color for Nodes and Variables.
|
|
502
|
+
*/
|
|
503
|
+
readonly warning: KdsColor;
|
|
504
|
+
/**
|
|
505
|
+
* Specific color for Nodes and Variables.
|
|
506
|
+
*/
|
|
507
|
+
readonly errorBorder: KdsColor;
|
|
508
|
+
/**
|
|
509
|
+
* Specific color for Nodes and Variables.
|
|
510
|
+
*/
|
|
511
|
+
readonly error: KdsColor;
|
|
512
|
+
/**
|
|
513
|
+
* Specific color for Nodes and Variables.
|
|
514
|
+
*/
|
|
515
|
+
readonly loadingBorder: KdsColor;
|
|
516
|
+
/**
|
|
517
|
+
* Specific color for Nodes and Variables.
|
|
518
|
+
*/
|
|
519
|
+
readonly loading: KdsColor;
|
|
520
|
+
/**
|
|
521
|
+
* Specific color for Nodes and Variables.
|
|
522
|
+
*/
|
|
523
|
+
readonly configuration: KdsColor;
|
|
524
|
+
/**
|
|
525
|
+
* Specific color for Nodes and Variables.
|
|
526
|
+
*/
|
|
527
|
+
readonly quickform: KdsColor;
|
|
528
|
+
};
|
|
529
|
+
readonly port: {
|
|
530
|
+
/**
|
|
531
|
+
* Specific color for Ports.
|
|
532
|
+
*/
|
|
533
|
+
readonly data: KdsColor;
|
|
534
|
+
/**
|
|
535
|
+
* Specific color for Ports.
|
|
536
|
+
*/
|
|
537
|
+
readonly "flow-variable": KdsColor;
|
|
538
|
+
/**
|
|
539
|
+
* Specific color for Ports.
|
|
540
|
+
*/
|
|
541
|
+
readonly "neutral-inverted": KdsColor;
|
|
542
|
+
};
|
|
543
|
+
readonly annotations: {
|
|
544
|
+
/**
|
|
545
|
+
* Specific color for Annotations.
|
|
546
|
+
*/
|
|
547
|
+
readonly specialNodes: KdsColor;
|
|
548
|
+
/**
|
|
549
|
+
* Specific color for Annotations.
|
|
550
|
+
*/
|
|
551
|
+
readonly specialNodesBold: KdsColor;
|
|
552
|
+
/**
|
|
553
|
+
* Specific color for Annotations.
|
|
554
|
+
*/
|
|
555
|
+
readonly visualizer: KdsColor;
|
|
556
|
+
/**
|
|
557
|
+
* Specific color for Annotations.
|
|
558
|
+
*/
|
|
559
|
+
readonly loadingBold: KdsColor;
|
|
560
|
+
/**
|
|
561
|
+
* Specific color for Annotations.
|
|
562
|
+
*/
|
|
563
|
+
readonly manipulator: KdsColor;
|
|
564
|
+
/**
|
|
565
|
+
* Specific color for Annotations.
|
|
566
|
+
*/
|
|
567
|
+
readonly source: KdsColor;
|
|
568
|
+
/**
|
|
569
|
+
* Specific color for Annotations.
|
|
570
|
+
*/
|
|
571
|
+
readonly sink: KdsColor;
|
|
572
|
+
/**
|
|
573
|
+
* Specific color for Annotations.
|
|
574
|
+
*/
|
|
575
|
+
readonly learner: KdsColor;
|
|
576
|
+
/**
|
|
577
|
+
* Specific color for Annotations.
|
|
578
|
+
*/
|
|
579
|
+
readonly predictor: KdsColor;
|
|
580
|
+
/**
|
|
581
|
+
* Specific color for Annotations.
|
|
582
|
+
*/
|
|
583
|
+
readonly container: KdsColor;
|
|
584
|
+
/**
|
|
585
|
+
* Specific color for Annotations.
|
|
586
|
+
*/
|
|
587
|
+
readonly "flow-variable": KdsColor;
|
|
588
|
+
/**
|
|
589
|
+
* Specific color for Annotations.
|
|
590
|
+
*/
|
|
591
|
+
readonly tealDark: KdsColor;
|
|
592
|
+
/**
|
|
593
|
+
* Specific color for Annotations.
|
|
594
|
+
*/
|
|
595
|
+
readonly other: KdsColor;
|
|
596
|
+
/**
|
|
597
|
+
* Specific color for Annotations.
|
|
598
|
+
*/
|
|
599
|
+
readonly loop: KdsColor;
|
|
600
|
+
};
|
|
601
|
+
readonly state: {
|
|
602
|
+
/**
|
|
603
|
+
* State-based color for Nodes.
|
|
604
|
+
*/
|
|
605
|
+
readonly error: KdsColor;
|
|
606
|
+
/**
|
|
607
|
+
* State-based color for Nodes.
|
|
608
|
+
*/
|
|
609
|
+
readonly "error-border": KdsColor;
|
|
610
|
+
/**
|
|
611
|
+
* State-based color for Nodes.
|
|
612
|
+
*/
|
|
613
|
+
readonly warning: KdsColor;
|
|
614
|
+
/**
|
|
615
|
+
* State-based color for Nodes.
|
|
616
|
+
*/
|
|
617
|
+
readonly "warning-border": KdsColor;
|
|
618
|
+
/**
|
|
619
|
+
* State-based color for Nodes.
|
|
620
|
+
*/
|
|
621
|
+
readonly success: KdsColor;
|
|
622
|
+
/**
|
|
623
|
+
* State-based color for Nodes.
|
|
624
|
+
*/
|
|
625
|
+
readonly "success-border": KdsColor;
|
|
626
|
+
/**
|
|
627
|
+
* State-based color for Nodes.
|
|
628
|
+
*/
|
|
629
|
+
readonly loading: KdsColor;
|
|
630
|
+
/**
|
|
631
|
+
* State-based color for Nodes.
|
|
632
|
+
*/
|
|
633
|
+
readonly inactive: KdsColor;
|
|
634
|
+
/**
|
|
635
|
+
* State-based color for Nodes.
|
|
636
|
+
*/
|
|
637
|
+
readonly "inactive-border": KdsColor;
|
|
638
|
+
/**
|
|
639
|
+
* State-based color for Nodes.
|
|
640
|
+
*/
|
|
641
|
+
readonly disabled: KdsColor;
|
|
642
|
+
/**
|
|
643
|
+
* State-based color for Nodes.
|
|
644
|
+
*/
|
|
645
|
+
readonly "disabled-border": KdsColor;
|
|
646
|
+
/**
|
|
647
|
+
* State-based color for Nodes.
|
|
648
|
+
*/
|
|
649
|
+
readonly background: KdsColor;
|
|
650
|
+
};
|
|
651
|
+
readonly connector: {
|
|
652
|
+
/**
|
|
653
|
+
* Specific color for Connectors.
|
|
654
|
+
*/
|
|
655
|
+
readonly data: KdsColor;
|
|
656
|
+
/**
|
|
657
|
+
* Specific color for Connectors.
|
|
658
|
+
*/
|
|
659
|
+
readonly "flow-variable": KdsColor;
|
|
660
|
+
};
|
|
661
|
+
readonly elevation: {
|
|
662
|
+
/**
|
|
663
|
+
* Light shadow layer color for the top elevation.
|
|
664
|
+
*/
|
|
665
|
+
readonly top: KdsColor;
|
|
666
|
+
/**
|
|
667
|
+
* Medium shadow layer color for mid-level elevation.
|
|
668
|
+
*/
|
|
669
|
+
readonly middle: KdsColor;
|
|
670
|
+
/**
|
|
671
|
+
* Dark shadow layer color for bottom elevation.
|
|
672
|
+
*/
|
|
673
|
+
readonly bottom: KdsColor;
|
|
674
|
+
/**
|
|
675
|
+
* Dark shadow layer color for knob elevation. Used in ToggleSwitch.
|
|
676
|
+
*/
|
|
677
|
+
readonly knob: KdsColor;
|
|
678
|
+
};
|
|
679
|
+
readonly DesktopHeader: {
|
|
680
|
+
readonly background: {
|
|
681
|
+
/**
|
|
682
|
+
* Default background color for the DesktopHeader component.
|
|
683
|
+
*/
|
|
684
|
+
readonly default: KdsColor;
|
|
685
|
+
/**
|
|
686
|
+
* Muted background color for the DesktopHeader component.
|
|
687
|
+
*/
|
|
688
|
+
readonly muted: KdsColor;
|
|
689
|
+
/**
|
|
690
|
+
* Accent background color for the DesktopHeader component.
|
|
691
|
+
*/
|
|
692
|
+
readonly accent: KdsColor;
|
|
693
|
+
};
|
|
694
|
+
readonly "text-and-icon": {
|
|
695
|
+
/**
|
|
696
|
+
* Neutral text and icon color for the DesktopHeader component.
|
|
697
|
+
*/
|
|
698
|
+
readonly neutral: KdsColor;
|
|
699
|
+
/**
|
|
700
|
+
* Muted text and icon color for the DesktopHeader component.
|
|
701
|
+
*/
|
|
702
|
+
readonly muted: KdsColor;
|
|
703
|
+
};
|
|
704
|
+
readonly border: {
|
|
705
|
+
/**
|
|
706
|
+
* Default border color for the DesktopHeader component.
|
|
707
|
+
*/
|
|
708
|
+
readonly default: KdsColor;
|
|
709
|
+
};
|
|
710
|
+
};
|
|
711
|
+
readonly TableHeader: {
|
|
712
|
+
readonly background: {
|
|
713
|
+
/**
|
|
714
|
+
* Default background color for the TableHeader component.
|
|
715
|
+
*/
|
|
716
|
+
readonly default: KdsColor;
|
|
717
|
+
};
|
|
718
|
+
};
|
|
719
|
+
readonly ToggleSwitch: {
|
|
720
|
+
readonly knob: {
|
|
721
|
+
/**
|
|
722
|
+
* Initial knob color for the ToggleSwitch component.
|
|
723
|
+
*/
|
|
724
|
+
readonly initial: KdsColor;
|
|
725
|
+
/**
|
|
726
|
+
* Disabled knob color for the ToggleSwitch component.
|
|
727
|
+
*/
|
|
728
|
+
readonly disabled: KdsColor;
|
|
729
|
+
};
|
|
730
|
+
readonly icon: {
|
|
731
|
+
/**
|
|
732
|
+
* Icon color when the ToggleSwitch is on.
|
|
733
|
+
*/
|
|
734
|
+
readonly on: KdsColor;
|
|
735
|
+
/**
|
|
736
|
+
* Icon color when the ToggleSwitch is off.
|
|
737
|
+
*/
|
|
738
|
+
readonly off: KdsColor;
|
|
739
|
+
/**
|
|
740
|
+
* Icon color when the ToggleSwitch is disabled.
|
|
741
|
+
*/
|
|
742
|
+
readonly disabled: KdsColor;
|
|
743
|
+
};
|
|
744
|
+
};
|
|
745
|
+
readonly LoadingSpinner: {
|
|
746
|
+
readonly progress: {
|
|
747
|
+
/**
|
|
748
|
+
* Progress indicator color for LoadingSpinner on primary backgrounds.
|
|
749
|
+
*/
|
|
750
|
+
readonly onPrimary: KdsColor;
|
|
751
|
+
/**
|
|
752
|
+
* Progress indicator color for LoadingSpinner on surface backgrounds.
|
|
753
|
+
*/
|
|
754
|
+
readonly onSurface: KdsColor;
|
|
755
|
+
};
|
|
756
|
+
readonly track: {
|
|
757
|
+
/**
|
|
758
|
+
* Track color for LoadingSpinner on primary backgrounds.
|
|
759
|
+
*/
|
|
760
|
+
readonly onPrimary: KdsColor;
|
|
761
|
+
/**
|
|
762
|
+
* Track color for LoadingSpinner on surface backgrounds.
|
|
763
|
+
*/
|
|
764
|
+
readonly onSurface: KdsColor;
|
|
765
|
+
};
|
|
766
|
+
};
|
|
767
|
+
readonly Tooltip: {
|
|
768
|
+
readonly background: {
|
|
769
|
+
/**
|
|
770
|
+
* Default background color for the Tooltip component.
|
|
771
|
+
*/
|
|
772
|
+
readonly default: KdsColor;
|
|
773
|
+
};
|
|
774
|
+
readonly "text-and-icon": {
|
|
775
|
+
/**
|
|
776
|
+
* Neutral text and icon color for the Tooltip component.
|
|
777
|
+
*/
|
|
778
|
+
readonly neutral: KdsColor;
|
|
779
|
+
};
|
|
780
|
+
};
|
|
781
|
+
readonly TextHighlight: {
|
|
782
|
+
readonly background: {
|
|
783
|
+
/**
|
|
784
|
+
* Text background color for mark text or highlighting searchterms
|
|
785
|
+
*/
|
|
786
|
+
readonly default: KdsColor;
|
|
787
|
+
};
|
|
788
|
+
};
|
|
789
|
+
readonly Avatar: {
|
|
790
|
+
readonly background: {
|
|
791
|
+
/**
|
|
792
|
+
* Themed background color for the Avatar component.
|
|
793
|
+
*/
|
|
794
|
+
readonly red: KdsColor;
|
|
795
|
+
/**
|
|
796
|
+
* Themed background color for the Avatar component.
|
|
797
|
+
*/
|
|
798
|
+
readonly orange: KdsColor;
|
|
799
|
+
/**
|
|
800
|
+
* Themed background color for the Avatar component.
|
|
801
|
+
*/
|
|
802
|
+
readonly yellow: KdsColor;
|
|
803
|
+
/**
|
|
804
|
+
* Themed background color for the Avatar component.
|
|
805
|
+
*/
|
|
806
|
+
readonly green: KdsColor;
|
|
807
|
+
/**
|
|
808
|
+
* Themed background color for the Avatar component.
|
|
809
|
+
*/
|
|
810
|
+
readonly teal: KdsColor;
|
|
811
|
+
/**
|
|
812
|
+
* Themed background color for the Avatar component.
|
|
813
|
+
*/
|
|
814
|
+
readonly blue: KdsColor;
|
|
815
|
+
/**
|
|
816
|
+
* Themed background color for the Avatar component.
|
|
817
|
+
*/
|
|
818
|
+
readonly purple: KdsColor;
|
|
819
|
+
/**
|
|
820
|
+
* Themed background color for the Avatar component.
|
|
821
|
+
*/
|
|
822
|
+
readonly aquamarine: KdsColor;
|
|
823
|
+
/**
|
|
824
|
+
* Themed background color for the Avatar component.
|
|
825
|
+
*/
|
|
826
|
+
readonly grassgreen: KdsColor;
|
|
827
|
+
/**
|
|
828
|
+
* Themed background color for the Avatar component.
|
|
829
|
+
*/
|
|
830
|
+
readonly brown: KdsColor;
|
|
831
|
+
/**
|
|
832
|
+
* Empty background color for the Avatar component.
|
|
833
|
+
*/
|
|
834
|
+
readonly empty: KdsColor;
|
|
835
|
+
};
|
|
836
|
+
readonly "text-and-icon": {
|
|
837
|
+
/**
|
|
838
|
+
* Themed text and icon color for the Avatar component.
|
|
839
|
+
*/
|
|
840
|
+
readonly red: KdsColor;
|
|
841
|
+
/**
|
|
842
|
+
* Themed text and icon color for the Avatar component.
|
|
843
|
+
*/
|
|
844
|
+
readonly orange: KdsColor;
|
|
845
|
+
/**
|
|
846
|
+
* Themed text and icon color for the Avatar component.
|
|
847
|
+
*/
|
|
848
|
+
readonly yellow: KdsColor;
|
|
849
|
+
/**
|
|
850
|
+
* Themed text and icon color for the Avatar component.
|
|
851
|
+
*/
|
|
852
|
+
readonly green: KdsColor;
|
|
853
|
+
/**
|
|
854
|
+
* Themed text and icon color for the Avatar component.
|
|
855
|
+
*/
|
|
856
|
+
readonly teal: KdsColor;
|
|
857
|
+
/**
|
|
858
|
+
* Themed text and icon color for the Avatar component.
|
|
859
|
+
*/
|
|
860
|
+
readonly blue: KdsColor;
|
|
861
|
+
/**
|
|
862
|
+
* Themed text and icon color for the Avatar component.
|
|
863
|
+
*/
|
|
864
|
+
readonly purple: KdsColor;
|
|
865
|
+
/**
|
|
866
|
+
* Themed text and icon color for the Avatar component.
|
|
867
|
+
*/
|
|
868
|
+
readonly aquamarine: KdsColor;
|
|
869
|
+
/**
|
|
870
|
+
* Themed text and icon color for the Avatar component.
|
|
871
|
+
*/
|
|
872
|
+
readonly grassgreen: KdsColor;
|
|
873
|
+
/**
|
|
874
|
+
* Themed text and icon color for the Avatar component.
|
|
875
|
+
*/
|
|
876
|
+
readonly brown: KdsColor;
|
|
877
|
+
};
|
|
878
|
+
};
|
|
879
|
+
};
|
|
880
|
+
export declare const color: KdsColorTokens;
|