@dcs-tech/tokens 0.0.0-stage → 0.15.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.
@@ -0,0 +1,841 @@
1
+ /** A colour: '#rrggbb', or 'rgba(r, g, b, a)' when it is translucent. */
2
+ export type Color = string;
3
+ /** One CSS box shadow, in px. `blur` is the CSS blur radius. */
4
+ export interface Shadow {
5
+ readonly offsetX: number;
6
+ readonly offsetY: number;
7
+ readonly blur: number;
8
+ readonly spread: number;
9
+ readonly color: Color;
10
+ readonly inset: boolean;
11
+ }
12
+ /**
13
+ * An easing curve. `cubicBezier` is CSS cubic-bezier(); `linear` is CSS linear(): straight lines
14
+ * through the stops, where `at` is the time (0–1) and `value` the progress there.
15
+ */
16
+ export type Easing = {
17
+ readonly type: 'cubicBezier';
18
+ readonly x1: number;
19
+ readonly y1: number;
20
+ readonly x2: number;
21
+ readonly y2: number;
22
+ } | {
23
+ readonly type: 'linear';
24
+ readonly stops: readonly {
25
+ readonly value: number;
26
+ readonly at: number;
27
+ }[];
28
+ };
29
+ /**
30
+ * A size that grows with the screen width, as CSS clamp() does on the web: `min` up to a
31
+ * `fromWidth`-wide screen, `max` from `toWidth`, and a straight line between. All in px.
32
+ */
33
+ export interface FluidSize {
34
+ readonly min: number;
35
+ readonly max: number;
36
+ readonly fromWidth: number;
37
+ readonly toWidth: number;
38
+ }
39
+ /** Every design token. `light` and `dark` hold the same keys. */
40
+ export interface Tokens {
41
+ /** `--primary-hue` · number */
42
+ readonly primaryHue: number;
43
+ /** `--secondary-hue` · number */
44
+ readonly secondaryHue: number;
45
+ /** `--success-hue` · number */
46
+ readonly successHue: number;
47
+ /** `--warning-hue` · number */
48
+ readonly warningHue: number;
49
+ /** `--error-hue` · number */
50
+ readonly errorHue: number;
51
+ /** `--info-hue` · number */
52
+ readonly infoHue: number;
53
+ /** `--neutral-hue` · number */
54
+ readonly neutralHue: number;
55
+ /** `--bg-primary` · colour */
56
+ readonly bgPrimary: Color;
57
+ /** `--bg-secondary` · colour */
58
+ readonly bgSecondary: Color;
59
+ /** `--bg-tertiary` · colour */
60
+ readonly bgTertiary: Color;
61
+ /** `--text-primary` · colour */
62
+ readonly textPrimary: Color;
63
+ /** `--text-secondary` · colour */
64
+ readonly textSecondary: Color;
65
+ /** `--text-tertiary` · colour */
66
+ readonly textTertiary: Color;
67
+ /** `--border-color` · colour */
68
+ readonly borderColor: Color;
69
+ /** `--border-hover` · colour */
70
+ readonly borderHover: Color;
71
+ /** `--border-focus` · colour */
72
+ readonly borderFocus: Color;
73
+ /** `--shadow-sm` · shadows */
74
+ readonly shadowSm: readonly Shadow[];
75
+ /** `--shadow-md` · shadows */
76
+ readonly shadowMd: readonly Shadow[];
77
+ /** `--shadow-lg` · shadows */
78
+ readonly shadowLg: readonly Shadow[];
79
+ /** `--shadow-xl` · shadows */
80
+ readonly shadowXl: readonly Shadow[];
81
+ /** `--shadow-control` · shadows */
82
+ readonly shadowControl: readonly Shadow[];
83
+ /** `--shadow-popover` · shadows */
84
+ readonly shadowPopover: readonly Shadow[];
85
+ /** `--shadow-dialog` · shadows */
86
+ readonly shadowDialog: readonly Shadow[];
87
+ /** `--shadow-edge` · shadows */
88
+ readonly shadowEdge: readonly Shadow[];
89
+ /** `--scrim` · colour */
90
+ readonly scrim: Color;
91
+ /** `--scrim-soft` · colour */
92
+ readonly scrimSoft: Color;
93
+ /** `--accent-primary` · colour */
94
+ readonly accentPrimary: Color;
95
+ /** `--accent-primary-hover` · colour */
96
+ readonly accentPrimaryHover: Color;
97
+ /** `--accent-primary-light` · colour */
98
+ readonly accentPrimaryLight: Color;
99
+ /** `--accent-secondary` · colour */
100
+ readonly accentSecondary: Color;
101
+ /** `--accent-secondary-hover` · colour */
102
+ readonly accentSecondaryHover: Color;
103
+ /** `--accent-secondary-light` · colour */
104
+ readonly accentSecondaryLight: Color;
105
+ /** `--success` · colour */
106
+ readonly success: Color;
107
+ /** `--success-hover` · colour */
108
+ readonly successHover: Color;
109
+ /** `--success-light` · colour */
110
+ readonly successLight: Color;
111
+ /** `--warning` · colour */
112
+ readonly warning: Color;
113
+ /** `--warning-hover` · colour */
114
+ readonly warningHover: Color;
115
+ /** `--warning-light` · colour */
116
+ readonly warningLight: Color;
117
+ /** `--error` · colour */
118
+ readonly error: Color;
119
+ /** `--error-hover` · colour */
120
+ readonly errorHover: Color;
121
+ /** `--error-light` · colour */
122
+ readonly errorLight: Color;
123
+ /** `--info` · colour */
124
+ readonly info: Color;
125
+ /** `--info-hover` · colour */
126
+ readonly infoHover: Color;
127
+ /** `--info-light` · colour */
128
+ readonly infoLight: Color;
129
+ /** `--on-primary` · colour */
130
+ readonly onPrimary: Color;
131
+ /** `--on-secondary` · colour */
132
+ readonly onSecondary: Color;
133
+ /** `--on-success` · colour */
134
+ readonly onSuccess: Color;
135
+ /** `--on-warning` · colour */
136
+ readonly onWarning: Color;
137
+ /** `--on-error` · colour */
138
+ readonly onError: Color;
139
+ /** `--on-info` · colour */
140
+ readonly onInfo: Color;
141
+ /** `--card-bg` · colour */
142
+ readonly cardBg: Color;
143
+ /** `--card-border` · colour */
144
+ readonly cardBorder: Color;
145
+ /** `--card-shadow` · shadows */
146
+ readonly cardShadow: readonly Shadow[];
147
+ /** `--transition-speed` · ms */
148
+ readonly transitionSpeed: number;
149
+ /** `--border-radius-xs` · px */
150
+ readonly borderRadiusXs: number;
151
+ /** `--border-radius-sm` · px */
152
+ readonly borderRadiusSm: number;
153
+ /** `--border-radius` · px */
154
+ readonly borderRadius: number;
155
+ /** `--border-radius-lg` · px */
156
+ readonly borderRadiusLg: number;
157
+ /** `--border-radius-full` · px */
158
+ readonly borderRadiusFull: number;
159
+ /** `--ui-scale` · number */
160
+ readonly uiScale: number;
161
+ /** `--field-height-xxs` · px · follows the UI scale */
162
+ readonly fieldHeightXxs: number;
163
+ /** `--field-height-xs` · px · follows the UI scale */
164
+ readonly fieldHeightXs: number;
165
+ /** `--field-height-sm` · px · follows the UI scale */
166
+ readonly fieldHeightSm: number;
167
+ /** `--field-height-md` · px · follows the UI scale */
168
+ readonly fieldHeightMd: number;
169
+ /** `--field-height-lg` · px · follows the UI scale */
170
+ readonly fieldHeightLg: number;
171
+ /** `--field-height-xl` · px · follows the UI scale */
172
+ readonly fieldHeightXl: number;
173
+ /** `--field-padding-x-xxs` · px · follows the UI scale */
174
+ readonly fieldPaddingXXxs: number;
175
+ /** `--field-padding-x-xs` · px · follows the UI scale */
176
+ readonly fieldPaddingXXs: number;
177
+ /** `--field-padding-x-sm` · px · follows the UI scale */
178
+ readonly fieldPaddingXSm: number;
179
+ /** `--field-padding-x-md` · px · follows the UI scale */
180
+ readonly fieldPaddingXMd: number;
181
+ /** `--field-padding-x-lg` · px · follows the UI scale */
182
+ readonly fieldPaddingXLg: number;
183
+ /** `--field-padding-x-xl` · px · follows the UI scale */
184
+ readonly fieldPaddingXXl: number;
185
+ /** `--field-padding-y-xxs` · px · follows the UI scale */
186
+ readonly fieldPaddingYXxs: number;
187
+ /** `--field-padding-y-xs` · px · follows the UI scale */
188
+ readonly fieldPaddingYXs: number;
189
+ /** `--field-padding-y-sm` · px · follows the UI scale */
190
+ readonly fieldPaddingYSm: number;
191
+ /** `--field-padding-y-md` · px · follows the UI scale */
192
+ readonly fieldPaddingYMd: number;
193
+ /** `--field-padding-y-lg` · px · follows the UI scale */
194
+ readonly fieldPaddingYLg: number;
195
+ /** `--field-padding-y-xl` · px · follows the UI scale */
196
+ readonly fieldPaddingYXl: number;
197
+ /** `--field-border-hover` · colour */
198
+ readonly fieldBorderHover: Color;
199
+ /** `--focus-ring-width` · px */
200
+ readonly focusRingWidth: number;
201
+ /** `--focus-ring-offset` · px */
202
+ readonly focusRingOffset: number;
203
+ /** `--focus-halo-width` · px */
204
+ readonly focusHaloWidth: number;
205
+ /** `--field-label-width` · px · follows the UI scale */
206
+ readonly fieldLabelWidth: number;
207
+ /** `--field-control-max-width` · px · follows the UI scale */
208
+ readonly fieldControlMaxWidth: number;
209
+ /** `--app-bar-height` · px */
210
+ readonly appBarHeight: number;
211
+ /** `--sidebar-width` · px */
212
+ readonly sidebarWidth: number;
213
+ /** `--sidebar-width-collapsed` · px */
214
+ readonly sidebarWidthCollapsed: number;
215
+ /** `--field-block-spacing` · px · follows the UI scale */
216
+ readonly fieldBlockSpacing: number;
217
+ /** `--control-halo-size` · number */
218
+ readonly controlHaloSize: number;
219
+ /** `--control-halo-hover` · colour */
220
+ readonly controlHaloHover: Color;
221
+ /** `--control-halo-focus` · colour */
222
+ readonly controlHaloFocus: Color;
223
+ /** `--control-halo-pulse-duration` · ms */
224
+ readonly controlHaloPulseDuration: number;
225
+ /** `--control-halo-tint-hover` · fraction 0–1 (a CSS percentage) */
226
+ readonly controlHaloTintHover: number;
227
+ /** `--control-halo-tint-focus` · fraction 0–1 (a CSS percentage) */
228
+ readonly controlHaloTintFocus: number;
229
+ /** `--control-size-xxs` · px · follows the UI scale */
230
+ readonly controlSizeXxs: number;
231
+ /** `--control-size-xs` · px · follows the UI scale */
232
+ readonly controlSizeXs: number;
233
+ /** `--control-size-sm` · px · follows the UI scale */
234
+ readonly controlSizeSm: number;
235
+ /** `--control-size-md` · px · follows the UI scale */
236
+ readonly controlSizeMd: number;
237
+ /** `--control-size-lg` · px · follows the UI scale */
238
+ readonly controlSizeLg: number;
239
+ /** `--control-size-xl` · px · follows the UI scale */
240
+ readonly controlSizeXl: number;
241
+ /** `--field-affix-space-xxs` · px · follows the UI scale */
242
+ readonly fieldAffixSpaceXxs: number;
243
+ /** `--field-affix-space-xs` · px · follows the UI scale */
244
+ readonly fieldAffixSpaceXs: number;
245
+ /** `--field-affix-space-sm` · px · follows the UI scale */
246
+ readonly fieldAffixSpaceSm: number;
247
+ /** `--field-affix-space-md` · px · follows the UI scale */
248
+ readonly fieldAffixSpaceMd: number;
249
+ /** `--field-affix-space-lg` · px · follows the UI scale */
250
+ readonly fieldAffixSpaceLg: number;
251
+ /** `--field-affix-space-xl` · px · follows the UI scale */
252
+ readonly fieldAffixSpaceXl: number;
253
+ /** `--font-sans` · font families, first choice first */
254
+ readonly fontSans: readonly string[];
255
+ /** `--font-mono` · font families, first choice first */
256
+ readonly fontMono: readonly string[];
257
+ /** `--font-size-xxs` · px · follows the UI scale */
258
+ readonly fontSizeXxs: number;
259
+ /** `--font-size-xs` · px · follows the UI scale */
260
+ readonly fontSizeXs: number;
261
+ /** `--font-size-sm` · px · follows the UI scale */
262
+ readonly fontSizeSm: number;
263
+ /** `--font-size-md` · px · follows the UI scale */
264
+ readonly fontSizeMd: number;
265
+ /** `--font-size-lg` · px · follows the UI scale */
266
+ readonly fontSizeLg: number;
267
+ /** `--font-size-xl` · px · follows the UI scale */
268
+ readonly fontSizeXl: number;
269
+ /** `--icon-size-3xs` · px · follows the UI scale */
270
+ readonly iconSize3xs: number;
271
+ /** `--icon-size-xxs` · px · follows the UI scale */
272
+ readonly iconSizeXxs: number;
273
+ /** `--icon-size-xs` · px · follows the UI scale */
274
+ readonly iconSizeXs: number;
275
+ /** `--icon-size-sm` · px · follows the UI scale */
276
+ readonly iconSizeSm: number;
277
+ /** `--icon-size-md` · px · follows the UI scale */
278
+ readonly iconSizeMd: number;
279
+ /** `--icon-size-lg` · px · follows the UI scale */
280
+ readonly iconSizeLg: number;
281
+ /** `--icon-size-xl` · px · follows the UI scale */
282
+ readonly iconSizeXl: number;
283
+ /** `--icon-size-2xl` · px · follows the UI scale */
284
+ readonly iconSize2xl: number;
285
+ /** `--icon-size-3xl` · px · follows the UI scale */
286
+ readonly iconSize3xl: number;
287
+ /** `--icon-size-4xl` · px · follows the UI scale */
288
+ readonly iconSize4xl: number;
289
+ /** `--icon-slot-button` · px · follows the UI scale */
290
+ readonly iconSlotButton: number;
291
+ /** `--icon-slot-prominent` · px · follows the UI scale */
292
+ readonly iconSlotProminent: number;
293
+ /** `--icon-slot-nav` · px · follows the UI scale */
294
+ readonly iconSlotNav: number;
295
+ /** `--icon-slot-inline` · px · follows the UI scale */
296
+ readonly iconSlotInline: number;
297
+ /** `--icon-slot-field` · px · follows the UI scale */
298
+ readonly iconSlotField: number;
299
+ /** `--icon-slot-dense` · px · follows the UI scale */
300
+ readonly iconSlotDense: number;
301
+ /** `--icon-slot-default` · px · follows the UI scale */
302
+ readonly iconSlotDefault: number;
303
+ /** `--icon-text-ratio` · number */
304
+ readonly iconTextRatio: number;
305
+ /** `--icon-size-action` · px · follows the UI scale */
306
+ readonly iconSizeAction: number;
307
+ /** `--icon-size-marker` · px · follows the UI scale */
308
+ readonly iconSizeMarker: number;
309
+ /** `--icon-size-chip` · px · follows the UI scale */
310
+ readonly iconSizeChip: number;
311
+ /** `--icon-size-status` · px · follows the UI scale */
312
+ readonly iconSizeStatus: number;
313
+ /** `--icon-duotone-opacity` · number */
314
+ readonly iconDuotoneOpacity: number;
315
+ /** `--font-size-h1` · fluid size, px · follows the UI scale */
316
+ readonly fontSizeH1: FluidSize;
317
+ /** `--font-size-h2` · fluid size, px · follows the UI scale */
318
+ readonly fontSizeH2: FluidSize;
319
+ /** `--font-size-h3` · fluid size, px · follows the UI scale */
320
+ readonly fontSizeH3: FluidSize;
321
+ /** `--font-size-h4` · fluid size, px · follows the UI scale */
322
+ readonly fontSizeH4: FluidSize;
323
+ /** `--font-size-h5` · fluid size, px · follows the UI scale */
324
+ readonly fontSizeH5: FluidSize;
325
+ /** `--font-size-h6` · fluid size, px · follows the UI scale */
326
+ readonly fontSizeH6: FluidSize;
327
+ /** `--line-height-tight` · number */
328
+ readonly lineHeightTight: number;
329
+ /** `--line-height-snug` · number */
330
+ readonly lineHeightSnug: number;
331
+ /** `--line-height-normal` · number */
332
+ readonly lineHeightNormal: number;
333
+ /** `--font-weight-regular` · number */
334
+ readonly fontWeightRegular: number;
335
+ /** `--font-weight-medium` · number */
336
+ readonly fontWeightMedium: number;
337
+ /** `--font-weight-semibold` · number */
338
+ readonly fontWeightSemibold: number;
339
+ /** `--font-weight-bold` · number */
340
+ readonly fontWeightBold: number;
341
+ /** `--spacing-xxs` · px · follows the UI scale */
342
+ readonly spacingXxs: number;
343
+ /** `--spacing-xs` · px · follows the UI scale */
344
+ readonly spacingXs: number;
345
+ /** `--spacing-sm` · px · follows the UI scale */
346
+ readonly spacingSm: number;
347
+ /** `--spacing-md` · px · follows the UI scale */
348
+ readonly spacingMd: number;
349
+ /** `--spacing-lg` · px · follows the UI scale */
350
+ readonly spacingLg: number;
351
+ /** `--spacing-xl` · px · follows the UI scale */
352
+ readonly spacingXl: number;
353
+ /** `--spacing-2xl` · px · follows the UI scale */
354
+ readonly spacing2xl: number;
355
+ /** `--spacing-3xl` · px · follows the UI scale */
356
+ readonly spacing3xl: number;
357
+ /** `--label-spacing` · px · follows the UI scale */
358
+ readonly labelSpacing: number;
359
+ /** `--message-spacing` · px · follows the UI scale */
360
+ readonly messageSpacing: number;
361
+ /** `--breakpoint-mobile` · px */
362
+ readonly breakpointMobile: number;
363
+ /** `--breakpoint-tablet` · px */
364
+ readonly breakpointTablet: number;
365
+ /** `--hover-overlay` · colour */
366
+ readonly hoverOverlay: Color;
367
+ /** `--active-overlay` · colour */
368
+ readonly activeOverlay: Color;
369
+ /** `--selected-bg` · colour */
370
+ readonly selectedBg: Color;
371
+ /** `--selected-border` · colour */
372
+ readonly selectedBorder: Color;
373
+ /** `--disabled-bg` · colour */
374
+ readonly disabledBg: Color;
375
+ /** `--disabled-text` · colour */
376
+ readonly disabledText: Color;
377
+ /** `--disabled-border` · colour */
378
+ readonly disabledBorder: Color;
379
+ /** `--status-in-stock` · colour */
380
+ readonly statusInStock: Color;
381
+ /** `--status-in-stock-bg` · colour */
382
+ readonly statusInStockBg: Color;
383
+ /** `--status-low-stock` · colour */
384
+ readonly statusLowStock: Color;
385
+ /** `--status-low-stock-bg` · colour */
386
+ readonly statusLowStockBg: Color;
387
+ /** `--status-out-stock` · colour */
388
+ readonly statusOutStock: Color;
389
+ /** `--status-out-stock-bg` · colour */
390
+ readonly statusOutStockBg: Color;
391
+ /** `--badge-bg` · colour */
392
+ readonly badgeBg: Color;
393
+ /** `--badge-text` · colour */
394
+ readonly badgeText: Color;
395
+ /** `--tooltip-bg` · colour */
396
+ readonly tooltipBg: Color;
397
+ /** `--tooltip-text` · colour */
398
+ readonly tooltipText: Color;
399
+ /** `--elevation-0` · shadows */
400
+ readonly elevation0: readonly Shadow[];
401
+ /** `--elevation-1` · shadows */
402
+ readonly elevation1: readonly Shadow[];
403
+ /** `--elevation-2` · shadows */
404
+ readonly elevation2: readonly Shadow[];
405
+ /** `--elevation-3` · shadows */
406
+ readonly elevation3: readonly Shadow[];
407
+ /** `--elevation-4` · shadows */
408
+ readonly elevation4: readonly Shadow[];
409
+ /** `--card-hover-shadow` · shadows */
410
+ readonly cardHoverShadow: readonly Shadow[];
411
+ /** `--grid-gap-sm` · px · follows the UI scale */
412
+ readonly gridGapSm: number;
413
+ /** `--grid-gap-md` · px · follows the UI scale */
414
+ readonly gridGapMd: number;
415
+ /** `--grid-gap-lg` · px · follows the UI scale */
416
+ readonly gridGapLg: number;
417
+ /** `--grid-item-min` · px */
418
+ readonly gridItemMin: number;
419
+ /** `--grid-item-max` · px */
420
+ readonly gridItemMax: number;
421
+ /** `--flash-green` · colour */
422
+ readonly flashGreen: Color;
423
+ /** `--flash-red` · colour */
424
+ readonly flashRed: Color;
425
+ /** `--flash-amber` · colour */
426
+ readonly flashAmber: Color;
427
+ /** `--flash-blue` · colour */
428
+ readonly flashBlue: Color;
429
+ /** `--flash-purple` · colour */
430
+ readonly flashPurple: Color;
431
+ /** `--flash-teal` · colour */
432
+ readonly flashTeal: Color;
433
+ /** `--flash-orange` · colour */
434
+ readonly flashOrange: Color;
435
+ /** `--flash-pink` · colour */
436
+ readonly flashPink: Color;
437
+ /** `--brand-upi-orange` · colour */
438
+ readonly brandUpiOrange: Color;
439
+ /** `--brand-upi-green` · colour */
440
+ readonly brandUpiGreen: Color;
441
+ /** `--brand-white` · colour */
442
+ readonly brandWhite: Color;
443
+ /** `--brand-whatsapp-green` · colour */
444
+ readonly brandWhatsappGreen: Color;
445
+ /** `--brand-facebook-blue` · colour */
446
+ readonly brandFacebookBlue: Color;
447
+ /** `--brand-instagram-yellow` · colour */
448
+ readonly brandInstagramYellow: Color;
449
+ /** `--brand-instagram-orange` · colour */
450
+ readonly brandInstagramOrange: Color;
451
+ /** `--brand-instagram-pink` · colour */
452
+ readonly brandInstagramPink: Color;
453
+ /** `--brand-instagram-purple` · colour */
454
+ readonly brandInstagramPurple: Color;
455
+ /** `--brand-instagram-violet` · colour */
456
+ readonly brandInstagramViolet: Color;
457
+ /** `--brand-x` · colour */
458
+ readonly brandX: Color;
459
+ /** `--brand-youtube-red` · colour */
460
+ readonly brandYoutubeRed: Color;
461
+ /** `--brand-telegram-blue` · colour */
462
+ readonly brandTelegramBlue: Color;
463
+ /** `--brand-google-blue` · colour */
464
+ readonly brandGoogleBlue: Color;
465
+ /** `--brand-google-red` · colour */
466
+ readonly brandGoogleRed: Color;
467
+ /** `--brand-google-yellow` · colour */
468
+ readonly brandGoogleYellow: Color;
469
+ /** `--brand-google-green` · colour */
470
+ readonly brandGoogleGreen: Color;
471
+ /** `--brand-google-maps-blue` · colour */
472
+ readonly brandGoogleMapsBlue: Color;
473
+ /** `--brand-app-store-blue` · colour */
474
+ readonly brandAppStoreBlue: Color;
475
+ /** `--brand-apple` · colour */
476
+ readonly brandApple: Color;
477
+ /** `--brand-github` · colour */
478
+ readonly brandGithub: Color;
479
+ /** `--brand-google-pay-grey` · colour */
480
+ readonly brandGooglePayGrey: Color;
481
+ /** `--brand-phonepe-purple` · colour */
482
+ readonly brandPhonepePurple: Color;
483
+ /** `--brand-paytm` · colour */
484
+ readonly brandPaytm: Color;
485
+ /** `--brand-paytm-cyan` · colour */
486
+ readonly brandPaytmCyan: Color;
487
+ /** `--brand-visa` · colour */
488
+ readonly brandVisa: Color;
489
+ /** `--brand-mastercard-red` · colour */
490
+ readonly brandMastercardRed: Color;
491
+ /** `--brand-mastercard-yellow` · colour */
492
+ readonly brandMastercardYellow: Color;
493
+ /** `--brand-mastercard-orange` · colour */
494
+ readonly brandMastercardOrange: Color;
495
+ /** `--brand-linkedin` · colour */
496
+ readonly brandLinkedin: Color;
497
+ /** `--brand-microsoft-red` · colour */
498
+ readonly brandMicrosoftRed: Color;
499
+ /** `--brand-microsoft-green` · colour */
500
+ readonly brandMicrosoftGreen: Color;
501
+ /** `--brand-microsoft-blue` · colour */
502
+ readonly brandMicrosoftBlue: Color;
503
+ /** `--brand-microsoft-yellow` · colour */
504
+ readonly brandMicrosoftYellow: Color;
505
+ /** `--brand-rupay` · colour */
506
+ readonly brandRupay: Color;
507
+ /** `--brand-rupay-orange` · colour */
508
+ readonly brandRupayOrange: Color;
509
+ /** `--brand-rupay-green` · colour */
510
+ readonly brandRupayGreen: Color;
511
+ /** `--brand-google-button-light-fill` · colour */
512
+ readonly brandGoogleButtonLightFill: Color;
513
+ /** `--brand-google-button-light-stroke` · colour */
514
+ readonly brandGoogleButtonLightStroke: Color;
515
+ /** `--brand-google-button-light-text` · colour */
516
+ readonly brandGoogleButtonLightText: Color;
517
+ /** `--brand-google-button-dark-fill` · colour */
518
+ readonly brandGoogleButtonDarkFill: Color;
519
+ /** `--brand-google-button-dark-stroke` · colour */
520
+ readonly brandGoogleButtonDarkStroke: Color;
521
+ /** `--brand-google-button-dark-text` · colour */
522
+ readonly brandGoogleButtonDarkText: Color;
523
+ /** `--brand-google-button-neutral-fill` · colour */
524
+ readonly brandGoogleButtonNeutralFill: Color;
525
+ /** `--brand-google-button-neutral-stroke` · colour */
526
+ readonly brandGoogleButtonNeutralStroke: Color;
527
+ /** `--brand-google-button-neutral-text` · colour */
528
+ readonly brandGoogleButtonNeutralText: Color;
529
+ /** `--brand-google-button-height` · px · follows the UI scale */
530
+ readonly brandGoogleButtonHeight: number;
531
+ /** `--brand-google-button-logo-size` · px · follows the UI scale */
532
+ readonly brandGoogleButtonLogoSize: number;
533
+ /** `--brand-google-button-padding-start` · px · follows the UI scale */
534
+ readonly brandGoogleButtonPaddingStart: number;
535
+ /** `--brand-google-button-logo-gap` · px · follows the UI scale */
536
+ readonly brandGoogleButtonLogoGap: number;
537
+ /** `--brand-google-button-padding-end` · px · follows the UI scale */
538
+ readonly brandGoogleButtonPaddingEnd: number;
539
+ /** `--brand-google-button-radius` · px · follows the UI scale */
540
+ readonly brandGoogleButtonRadius: number;
541
+ /** `--brand-google-button-font-size` · px · follows the UI scale */
542
+ readonly brandGoogleButtonFontSize: number;
543
+ /** `--brand-google-button-line-height` · px · follows the UI scale */
544
+ readonly brandGoogleButtonLineHeight: number;
545
+ /** `--brand-google-button-disabled-opacity` · fraction 0–1 (a CSS percentage) */
546
+ readonly brandGoogleButtonDisabledOpacity: number;
547
+ /** `--brand-google-button-disabled-stroke-opacity` · fraction 0–1 (a CSS percentage) */
548
+ readonly brandGoogleButtonDisabledStrokeOpacity: number;
549
+ /** `--duration-micro` · ms */
550
+ readonly durationMicro: number;
551
+ /** `--duration-short` · ms */
552
+ readonly durationShort: number;
553
+ /** `--duration-medium` · ms */
554
+ readonly durationMedium: number;
555
+ /** `--duration-long` · ms */
556
+ readonly durationLong: number;
557
+ /** `--ease-standard` · easing */
558
+ readonly easeStandard: Easing;
559
+ /** `--ease-enter` · easing */
560
+ readonly easeEnter: Easing;
561
+ /** `--ease-exit` · easing */
562
+ readonly easeExit: Easing;
563
+ /** `--ease-constant` · easing */
564
+ readonly easeConstant: Easing;
565
+ /** `--ease-spring` · easing */
566
+ readonly easeSpring: Easing;
567
+ /** `--motion-scale` · number */
568
+ readonly motionScale: number;
569
+ /** `--motion-enter-offset` · px */
570
+ readonly motionEnterOffset: number;
571
+ /** `--motion-enter-scale` · number */
572
+ readonly motionEnterScale: number;
573
+ /** `--state-hover-opacity` · fraction 0–1 (a CSS percentage) */
574
+ readonly stateHoverOpacity: number;
575
+ /** `--state-press-opacity` · fraction 0–1 (a CSS percentage) */
576
+ readonly statePressOpacity: number;
577
+ /** `--press-scale` · number */
578
+ readonly pressScale: number;
579
+ /** `--ripple-duration` · ms */
580
+ readonly rippleDuration: number;
581
+ /** `--ripple-opacity` · number */
582
+ readonly rippleOpacity: number;
583
+ /** `--transition-fast` · ms */
584
+ readonly transitionFast: number;
585
+ /** `--transition-base` · ms */
586
+ readonly transitionBase: number;
587
+ /** `--transition-slow` · ms */
588
+ readonly transitionSlow: number;
589
+ /** `--transition-slower` · ms */
590
+ readonly transitionSlower: number;
591
+ /** `--ease-in-out` · easing */
592
+ readonly easeInOut: Easing;
593
+ /** `--ease-out` · easing */
594
+ readonly easeOut: Easing;
595
+ /** `--ease-in` · easing */
596
+ readonly easeIn: Easing;
597
+ /** `--z-base` · number */
598
+ readonly zBase: number;
599
+ /** `--z-dropdown` · number */
600
+ readonly zDropdown: number;
601
+ /** `--z-sticky` · number */
602
+ readonly zSticky: number;
603
+ /** `--z-fixed` · number */
604
+ readonly zFixed: number;
605
+ /** `--z-appbar` · number */
606
+ readonly zAppbar: number;
607
+ /** `--z-modal-backdrop` · number */
608
+ readonly zModalBackdrop: number;
609
+ /** `--z-modal` · number */
610
+ readonly zModal: number;
611
+ /** `--z-command-palette` · number */
612
+ readonly zCommandPalette: number;
613
+ /** `--z-popover` · number */
614
+ readonly zPopover: number;
615
+ /** `--z-toast` · number */
616
+ readonly zToast: number;
617
+ /** `--z-tooltip` · number */
618
+ readonly zTooltip: number;
619
+ /** `--primary-1` · colour */
620
+ readonly primary1: Color;
621
+ /** `--primary-2` · colour */
622
+ readonly primary2: Color;
623
+ /** `--primary-3` · colour */
624
+ readonly primary3: Color;
625
+ /** `--primary-4` · colour */
626
+ readonly primary4: Color;
627
+ /** `--primary-5` · colour */
628
+ readonly primary5: Color;
629
+ /** `--primary-6` · colour */
630
+ readonly primary6: Color;
631
+ /** `--primary-7` · colour */
632
+ readonly primary7: Color;
633
+ /** `--primary-8` · colour */
634
+ readonly primary8: Color;
635
+ /** `--primary-9` · colour */
636
+ readonly primary9: Color;
637
+ /** `--primary-10` · colour */
638
+ readonly primary10: Color;
639
+ /** `--primary-11` · colour */
640
+ readonly primary11: Color;
641
+ /** `--primary-12` · colour */
642
+ readonly primary12: Color;
643
+ /** `--secondary-1` · colour */
644
+ readonly secondary1: Color;
645
+ /** `--secondary-2` · colour */
646
+ readonly secondary2: Color;
647
+ /** `--secondary-3` · colour */
648
+ readonly secondary3: Color;
649
+ /** `--secondary-4` · colour */
650
+ readonly secondary4: Color;
651
+ /** `--secondary-5` · colour */
652
+ readonly secondary5: Color;
653
+ /** `--secondary-6` · colour */
654
+ readonly secondary6: Color;
655
+ /** `--secondary-7` · colour */
656
+ readonly secondary7: Color;
657
+ /** `--secondary-8` · colour */
658
+ readonly secondary8: Color;
659
+ /** `--secondary-9` · colour */
660
+ readonly secondary9: Color;
661
+ /** `--secondary-10` · colour */
662
+ readonly secondary10: Color;
663
+ /** `--secondary-11` · colour */
664
+ readonly secondary11: Color;
665
+ /** `--secondary-12` · colour */
666
+ readonly secondary12: Color;
667
+ /** `--success-1` · colour */
668
+ readonly success1: Color;
669
+ /** `--success-2` · colour */
670
+ readonly success2: Color;
671
+ /** `--success-3` · colour */
672
+ readonly success3: Color;
673
+ /** `--success-4` · colour */
674
+ readonly success4: Color;
675
+ /** `--success-5` · colour */
676
+ readonly success5: Color;
677
+ /** `--success-6` · colour */
678
+ readonly success6: Color;
679
+ /** `--success-7` · colour */
680
+ readonly success7: Color;
681
+ /** `--success-8` · colour */
682
+ readonly success8: Color;
683
+ /** `--success-9` · colour */
684
+ readonly success9: Color;
685
+ /** `--success-10` · colour */
686
+ readonly success10: Color;
687
+ /** `--success-11` · colour */
688
+ readonly success11: Color;
689
+ /** `--success-12` · colour */
690
+ readonly success12: Color;
691
+ /** `--warning-1` · colour */
692
+ readonly warning1: Color;
693
+ /** `--warning-2` · colour */
694
+ readonly warning2: Color;
695
+ /** `--warning-3` · colour */
696
+ readonly warning3: Color;
697
+ /** `--warning-4` · colour */
698
+ readonly warning4: Color;
699
+ /** `--warning-5` · colour */
700
+ readonly warning5: Color;
701
+ /** `--warning-6` · colour */
702
+ readonly warning6: Color;
703
+ /** `--warning-7` · colour */
704
+ readonly warning7: Color;
705
+ /** `--warning-8` · colour */
706
+ readonly warning8: Color;
707
+ /** `--warning-9` · colour */
708
+ readonly warning9: Color;
709
+ /** `--warning-10` · colour */
710
+ readonly warning10: Color;
711
+ /** `--warning-11` · colour */
712
+ readonly warning11: Color;
713
+ /** `--warning-12` · colour */
714
+ readonly warning12: Color;
715
+ /** `--error-1` · colour */
716
+ readonly error1: Color;
717
+ /** `--error-2` · colour */
718
+ readonly error2: Color;
719
+ /** `--error-3` · colour */
720
+ readonly error3: Color;
721
+ /** `--error-4` · colour */
722
+ readonly error4: Color;
723
+ /** `--error-5` · colour */
724
+ readonly error5: Color;
725
+ /** `--error-6` · colour */
726
+ readonly error6: Color;
727
+ /** `--error-7` · colour */
728
+ readonly error7: Color;
729
+ /** `--error-8` · colour */
730
+ readonly error8: Color;
731
+ /** `--error-9` · colour */
732
+ readonly error9: Color;
733
+ /** `--error-10` · colour */
734
+ readonly error10: Color;
735
+ /** `--error-11` · colour */
736
+ readonly error11: Color;
737
+ /** `--error-12` · colour */
738
+ readonly error12: Color;
739
+ /** `--info-1` · colour */
740
+ readonly info1: Color;
741
+ /** `--info-2` · colour */
742
+ readonly info2: Color;
743
+ /** `--info-3` · colour */
744
+ readonly info3: Color;
745
+ /** `--info-4` · colour */
746
+ readonly info4: Color;
747
+ /** `--info-5` · colour */
748
+ readonly info5: Color;
749
+ /** `--info-6` · colour */
750
+ readonly info6: Color;
751
+ /** `--info-7` · colour */
752
+ readonly info7: Color;
753
+ /** `--info-8` · colour */
754
+ readonly info8: Color;
755
+ /** `--info-9` · colour */
756
+ readonly info9: Color;
757
+ /** `--info-10` · colour */
758
+ readonly info10: Color;
759
+ /** `--info-11` · colour */
760
+ readonly info11: Color;
761
+ /** `--info-12` · colour */
762
+ readonly info12: Color;
763
+ /** `--neutral-1` · colour */
764
+ readonly neutral1: Color;
765
+ /** `--neutral-2` · colour */
766
+ readonly neutral2: Color;
767
+ /** `--neutral-3` · colour */
768
+ readonly neutral3: Color;
769
+ /** `--neutral-4` · colour */
770
+ readonly neutral4: Color;
771
+ /** `--neutral-5` · colour */
772
+ readonly neutral5: Color;
773
+ /** `--neutral-6` · colour */
774
+ readonly neutral6: Color;
775
+ /** `--neutral-7` · colour */
776
+ readonly neutral7: Color;
777
+ /** `--neutral-8` · colour */
778
+ readonly neutral8: Color;
779
+ /** `--neutral-9` · colour */
780
+ readonly neutral9: Color;
781
+ /** `--neutral-10` · colour */
782
+ readonly neutral10: Color;
783
+ /** `--neutral-11` · colour */
784
+ readonly neutral11: Color;
785
+ /** `--neutral-12` · colour */
786
+ readonly neutral12: Color;
787
+ /** `--accent-primary-soft` · colour */
788
+ readonly accentPrimarySoft: Color;
789
+ /** `--accent-primary-text` · colour */
790
+ readonly accentPrimaryText: Color;
791
+ /** `--accent-secondary-soft` · colour */
792
+ readonly accentSecondarySoft: Color;
793
+ /** `--accent-secondary-text` · colour */
794
+ readonly accentSecondaryText: Color;
795
+ /** `--success-soft` · colour */
796
+ readonly successSoft: Color;
797
+ /** `--success-text` · colour */
798
+ readonly successText: Color;
799
+ /** `--warning-soft` · colour */
800
+ readonly warningSoft: Color;
801
+ /** `--warning-text` · colour */
802
+ readonly warningText: Color;
803
+ /** `--error-soft` · colour */
804
+ readonly errorSoft: Color;
805
+ /** `--error-text` · colour */
806
+ readonly errorText: Color;
807
+ /** `--info-soft` · colour */
808
+ readonly infoSoft: Color;
809
+ /** `--info-text` · colour */
810
+ readonly infoText: Color;
811
+ /** `--font-sans-tamil` · font families, first choice first */
812
+ readonly fontSansTamil: readonly string[];
813
+ /** `--font-sans-devanagari` · font families, first choice first */
814
+ readonly fontSansDevanagari: readonly string[];
815
+ /** `--line-height-tight-tamil` · number */
816
+ readonly lineHeightTightTamil: number;
817
+ /** `--line-height-snug-tamil` · number */
818
+ readonly lineHeightSnugTamil: number;
819
+ /** `--line-height-normal-tamil` · number */
820
+ readonly lineHeightNormalTamil: number;
821
+ /** `--line-height-tight-devanagari` · number */
822
+ readonly lineHeightTightDevanagari: number;
823
+ /** `--line-height-snug-devanagari` · number */
824
+ readonly lineHeightSnugDevanagari: number;
825
+ /** `--line-height-normal-devanagari` · number */
826
+ readonly lineHeightNormalDevanagari: number;
827
+ }
828
+ /** The tokens in the light theme, at UI scale 1. */
829
+ export declare const light: Tokens;
830
+ /** The tokens in the dark theme, at UI scale 1. */
831
+ export declare const dark: Tokens;
832
+ /**
833
+ * The tokens that change under the OS "reduce motion" setting (CSS prefers-reduced-motion:
834
+ * reduce), with their values there. The same in both themes: apply them over light or dark.
835
+ */
836
+ export declare const reducedMotion: Pick<Tokens, 'motionScale' | 'motionEnterOffset' | 'motionEnterScale' | 'pressScale'>;
837
+ /**
838
+ * The tokens that follow the UI scale (CSS --ui-scale). Their values above are at scale 1:
839
+ * multiply each by the UI scale (every number of a FluidSize).
840
+ */
841
+ export declare const uiScaled: readonly (keyof Tokens)[];