@common-origin/design-system 2.20.0 → 2.21.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/dist/client.js +844 -344
- package/dist/client.js.map +1 -1
- package/dist/components/atoms/AILabel/AILabel.d.mts +30 -0
- package/dist/components/atoms/AILabel/AILabel.d.ts +30 -0
- package/dist/components/atoms/AILabel/AILabel.mjs +94 -0
- package/dist/components/atoms/AILabel/AILabel.mjs.map +1 -0
- package/dist/components/atoms/AILabel/index.d.mts +1 -0
- package/dist/components/atoms/AILabel/index.d.ts +1 -0
- package/dist/components/atoms/Chip/SuggestionChip.d.mts +24 -0
- package/dist/components/atoms/Chip/SuggestionChip.d.ts +24 -0
- package/dist/components/atoms/Chip/SuggestionChip.mjs +61 -0
- package/dist/components/atoms/Chip/SuggestionChip.mjs.map +1 -0
- package/dist/components/atoms/Chip/index.d.mts +1 -0
- package/dist/components/atoms/Chip/index.d.ts +1 -0
- package/dist/components/atoms/index.d.mts +1 -0
- package/dist/components/atoms/index.d.ts +1 -0
- package/dist/components/molecules/AgentInput/AgentInput.d.mts +63 -1
- package/dist/components/molecules/AgentInput/AgentInput.d.ts +63 -1
- package/dist/components/molecules/AgentInput/AgentInput.mjs +476 -112
- package/dist/components/molecules/AgentInput/agentInputSpeech.d.mts +2 -0
- package/dist/components/molecules/AgentInput/agentInputSpeech.d.ts +2 -0
- package/dist/components/molecules/AgentInput/agentInputSpeech.mjs +5 -1
- package/dist/components/molecules/AgentInput/agentInputSpeech.mjs.map +1 -1
- package/dist/components/molecules/AgentInput/index.d.mts +1 -1
- package/dist/components/molecules/AgentInput/index.d.ts +1 -1
- package/dist/components/molecules/CardLarge/CardLarge.mjs +1 -0
- package/dist/components/molecules/ChipGroup/ChipGroup.mjs +2 -0
- package/dist/components/molecules/FeatureBlock/FeatureBlock.mjs +1 -0
- package/dist/data.js +316 -3
- package/dist/data.js.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -1
- package/dist/lib/tokenAliases.mjs +1 -0
- package/dist/lib/tokenAliases.mjs.map +1 -1
- package/dist/styles/icons.json +30 -1
- package/dist/styles/icons.json.mjs +33 -2
- package/dist/styles/icons.json.mjs.map +1 -1
- package/dist/styles/tokens.d.mts +545 -1
- package/dist/styles/tokens.d.ts +545 -1
- package/dist/styles/tokens.json +284 -2
- package/dist/styles/tokens.json.mjs +284 -2
- package/dist/styles/tokens.json.mjs.map +1 -1
- package/dist/tokens/index.js +284 -2
- package/dist/tokens/index.js.map +1 -1
- package/dist/tokens/index.mjs +284 -2
- package/dist/tokens/index.mjs.map +1 -1
- package/dist/tokens/styles/tokens.d.mts +545 -1
- package/dist/tokens/styles/tokens.d.ts +545 -1
- package/dist/tokens.css +242 -0
- package/dist/types/icons.d.mts +1 -1
- package/dist/types/icons.d.ts +1 -1
- package/dist/types/icons.mjs.map +1 -1
- package/package.json +1 -1
package/dist/styles/tokens.d.ts
CHANGED
|
@@ -256,7 +256,7 @@ export type Tokens = {
|
|
|
256
256
|
max: string;
|
|
257
257
|
fit: string;
|
|
258
258
|
};
|
|
259
|
-
/** Colour palette: the grey ramp and
|
|
259
|
+
/** Colour palette: the grey ramp, six role ramps (accent, success, warning, serious, danger, ai) and four display ramps (olive, periwinkle, rose, magenta), each with alpha twins (decisions 0040, 0043 and 0044); the older neutral ramp and seven older hue ramps, removed in 3.0; and transparent. */
|
|
260
260
|
color: {
|
|
261
261
|
/** Fully transparent. For colour values that must not show, such as a border that keeps its width (semantic.color.border.none). */
|
|
262
262
|
transparent: string;
|
|
@@ -314,6 +314,546 @@ export type Tokens = {
|
|
|
314
314
|
/** Primary text, and the darkest step. Composites to gray.1200 over white. */
|
|
315
315
|
'1200': string;
|
|
316
316
|
};
|
|
317
|
+
/** Accent role (decision 0043): links, selected and active states, the accent action, neutral information, in progress. Defined in OKLCH at hue 255°: 100 (lightest) to 1200 (darkest), each step at the gray step's contrast with white, with its contrast in its description (decisions 0040 and 0044). */
|
|
318
|
+
accent: {
|
|
319
|
+
/** Page background. oklch(0.991 0.002 248), 1.03:1 on white. */
|
|
320
|
+
'100': string;
|
|
321
|
+
/** Subtle background. oklch(0.981 0.005 258), 1.05:1 on white. */
|
|
322
|
+
'200': string;
|
|
323
|
+
/** Component fill at rest. oklch(0.962 0.011 252), 1.12:1 on white. */
|
|
324
|
+
'300': string;
|
|
325
|
+
/** Component fill on hover. oklch(0.940 0.019 256), 1.19:1 on white. */
|
|
326
|
+
'400': string;
|
|
327
|
+
/** Component fill pressed or selected. oklch(0.917 0.027 255), 1.28:1 on white. */
|
|
328
|
+
'500': string;
|
|
329
|
+
/** Subtle border. oklch(0.894 0.040 255), 1.37:1 on white. */
|
|
330
|
+
'600': string;
|
|
331
|
+
/** Default border, for dividers and decorative outlines. oklch(0.859 0.055 255), 1.53:1 on white. */
|
|
332
|
+
'700': string;
|
|
333
|
+
/** Strong border: a control edge, at least 3:1 on 100, 200 and white (decision 0025). oklch(0.655 0.185 255), 3.21:1 on white. */
|
|
334
|
+
'800': string;
|
|
335
|
+
/** Solid fill. oklch(0.617 0.205 255), 3.75:1 on white. */
|
|
336
|
+
'900': string;
|
|
337
|
+
/** Solid fill on hover. oklch(0.581 0.190 255), 4.34:1 on white. */
|
|
338
|
+
'1000': string;
|
|
339
|
+
/** Secondary text: at least 4.5:1 on 100 to 500 and white. oklch(0.504 0.165 255), 6.00:1 on white. */
|
|
340
|
+
'1100': string;
|
|
341
|
+
/** Primary text, and the darkest step. oklch(0.252 0.049 252), 15.91:1 on white. */
|
|
342
|
+
'1200': string;
|
|
343
|
+
};
|
|
344
|
+
/** Alpha twins of accent: each is the smallest opacity that composites over white to the solid step (decision 0044). */
|
|
345
|
+
'accent-alpha': {
|
|
346
|
+
/** Page background. Composites to accent.100 over white. */
|
|
347
|
+
'100': string;
|
|
348
|
+
/** Subtle background. Composites to accent.200 over white. */
|
|
349
|
+
'200': string;
|
|
350
|
+
/** Component fill at rest. Composites to accent.300 over white. */
|
|
351
|
+
'300': string;
|
|
352
|
+
/** Component fill on hover. Composites to accent.400 over white. */
|
|
353
|
+
'400': string;
|
|
354
|
+
/** Component fill pressed or selected. Composites to accent.500 over white. */
|
|
355
|
+
'500': string;
|
|
356
|
+
/** Subtle border. Composites to accent.600 over white. */
|
|
357
|
+
'600': string;
|
|
358
|
+
/** Default border, for dividers and decorative outlines. Composites to accent.700 over white. */
|
|
359
|
+
'700': string;
|
|
360
|
+
/** Strong border: a control edge, at least 3:1 on 100, 200 and white (decision 0025). Composites to accent.800 over white. */
|
|
361
|
+
'800': string;
|
|
362
|
+
/** Solid fill. Composites to accent.900 over white. */
|
|
363
|
+
'900': string;
|
|
364
|
+
/** Solid fill on hover. Composites to accent.1000 over white. */
|
|
365
|
+
'1000': string;
|
|
366
|
+
/** Secondary text: at least 4.5:1 on 100 to 500 and white. Composites to accent.1100 over white. */
|
|
367
|
+
'1100': string;
|
|
368
|
+
/** Primary text, and the darkest step. Composites to accent.1200 over white. */
|
|
369
|
+
'1200': string;
|
|
370
|
+
};
|
|
371
|
+
/** Success role (decision 0043): success, positive values, money in. Defined in OKLCH at hue 160°: 100 (lightest) to 1200 (darkest), each step at the gray step's contrast with white, with its contrast in its description (decisions 0040 and 0044). */
|
|
372
|
+
success: {
|
|
373
|
+
/** Page background. oklch(0.990 0.006 154), 1.03:1 on white. */
|
|
374
|
+
'100': string;
|
|
375
|
+
/** Subtle background. oklch(0.980 0.016 161), 1.05:1 on white. */
|
|
376
|
+
'200': string;
|
|
377
|
+
/** Component fill at rest. oklch(0.956 0.039 161), 1.12:1 on white. */
|
|
378
|
+
'300': string;
|
|
379
|
+
/** Component fill on hover. oklch(0.933 0.065 160), 1.19:1 on white. */
|
|
380
|
+
'400': string;
|
|
381
|
+
/** Component fill pressed or selected. oklch(0.909 0.085 160), 1.27:1 on white. */
|
|
382
|
+
'500': string;
|
|
383
|
+
/** Subtle border. oklch(0.882 0.106 160), 1.37:1 on white. */
|
|
384
|
+
'600': string;
|
|
385
|
+
/** Default border, for dividers and decorative outlines. oklch(0.844 0.130 160), 1.53:1 on white. */
|
|
386
|
+
'700': string;
|
|
387
|
+
/** Strong border: a control edge, at least 3:1 on 100, 200 and white (decision 0025). oklch(0.637 0.144 160), 3.18:1 on white. */
|
|
388
|
+
'800': string;
|
|
389
|
+
/** Solid fill. oklch(0.597 0.136 160), 3.75:1 on white. */
|
|
390
|
+
'900': string;
|
|
391
|
+
/** Solid fill on hover. oklch(0.562 0.127 160), 4.34:1 on white. */
|
|
392
|
+
'1000': string;
|
|
393
|
+
/** Secondary text: at least 4.5:1 on 100 to 500 and white. oklch(0.487 0.110 160), 5.99:1 on white. */
|
|
394
|
+
'1100': string;
|
|
395
|
+
/** Primary text, and the darkest step. oklch(0.248 0.034 159), 15.92:1 on white. */
|
|
396
|
+
'1200': string;
|
|
397
|
+
};
|
|
398
|
+
/** Alpha twins of success: each is the smallest opacity that composites over white to the solid step (decision 0044). */
|
|
399
|
+
'success-alpha': {
|
|
400
|
+
/** Page background. Composites to success.100 over white. */
|
|
401
|
+
'100': string;
|
|
402
|
+
/** Subtle background. Composites to success.200 over white. */
|
|
403
|
+
'200': string;
|
|
404
|
+
/** Component fill at rest. Composites to success.300 over white. */
|
|
405
|
+
'300': string;
|
|
406
|
+
/** Component fill on hover. Composites to success.400 over white. */
|
|
407
|
+
'400': string;
|
|
408
|
+
/** Component fill pressed or selected. Composites to success.500 over white. */
|
|
409
|
+
'500': string;
|
|
410
|
+
/** Subtle border. Composites to success.600 over white. */
|
|
411
|
+
'600': string;
|
|
412
|
+
/** Default border, for dividers and decorative outlines. Composites to success.700 over white. */
|
|
413
|
+
'700': string;
|
|
414
|
+
/** Strong border: a control edge, at least 3:1 on 100, 200 and white (decision 0025). Composites to success.800 over white. */
|
|
415
|
+
'800': string;
|
|
416
|
+
/** Solid fill. Composites to success.900 over white. */
|
|
417
|
+
'900': string;
|
|
418
|
+
/** Solid fill on hover. Composites to success.1000 over white. */
|
|
419
|
+
'1000': string;
|
|
420
|
+
/** Secondary text: at least 4.5:1 on 100 to 500 and white. Composites to success.1100 over white. */
|
|
421
|
+
'1100': string;
|
|
422
|
+
/** Primary text, and the darkest step. Composites to success.1200 over white. */
|
|
423
|
+
'1200': string;
|
|
424
|
+
};
|
|
425
|
+
/** Warning role (decision 0043): attention, a regular warning. Defined in OKLCH at hue 80°: 100 (lightest) to 1200 (darkest), each step at the gray step's contrast with white, with its contrast in its description (decisions 0040 and 0044). */
|
|
426
|
+
warning: {
|
|
427
|
+
/** Page background. oklch(0.991 0.003 85), 1.03:1 on white. */
|
|
428
|
+
'100': string;
|
|
429
|
+
/** Subtle background. oklch(0.983 0.007 81), 1.05:1 on white. */
|
|
430
|
+
'200': string;
|
|
431
|
+
/** Component fill at rest. oklch(0.961 0.021 79), 1.12:1 on white. */
|
|
432
|
+
'300': string;
|
|
433
|
+
/** Component fill on hover. oklch(0.940 0.036 80), 1.20:1 on white. */
|
|
434
|
+
'400': string;
|
|
435
|
+
/** Component fill pressed or selected. oklch(0.919 0.052 79), 1.28:1 on white. */
|
|
436
|
+
'500': string;
|
|
437
|
+
/** Subtle border. oklch(0.896 0.074 80), 1.37:1 on white. */
|
|
438
|
+
'600': string;
|
|
439
|
+
/** Default border, for dividers and decorative outlines. oklch(0.864 0.106 80), 1.52:1 on white. */
|
|
440
|
+
'700': string;
|
|
441
|
+
/** Strong border: a control edge, at least 3:1 on 100, 200 and white (decision 0025). oklch(0.658 0.136 80), 3.19:1 on white. */
|
|
442
|
+
'800': string;
|
|
443
|
+
/** Solid fill. oklch(0.617 0.128 80), 3.74:1 on white. */
|
|
444
|
+
'900': string;
|
|
445
|
+
/** Solid fill on hover. oklch(0.580 0.120 80), 4.34:1 on white. */
|
|
446
|
+
'1000': string;
|
|
447
|
+
/** Secondary text: at least 4.5:1 on 100 to 500 and white. oklch(0.503 0.104 80), 6.01:1 on white. */
|
|
448
|
+
'1100': string;
|
|
449
|
+
/** Primary text, and the darkest step. oklch(0.252 0.030 84), 15.91:1 on white. */
|
|
450
|
+
'1200': string;
|
|
451
|
+
};
|
|
452
|
+
/** Alpha twins of warning: each is the smallest opacity that composites over white to the solid step (decision 0044). */
|
|
453
|
+
'warning-alpha': {
|
|
454
|
+
/** Page background. Composites to warning.100 over white. */
|
|
455
|
+
'100': string;
|
|
456
|
+
/** Subtle background. Composites to warning.200 over white. */
|
|
457
|
+
'200': string;
|
|
458
|
+
/** Component fill at rest. Composites to warning.300 over white. */
|
|
459
|
+
'300': string;
|
|
460
|
+
/** Component fill on hover. Composites to warning.400 over white. */
|
|
461
|
+
'400': string;
|
|
462
|
+
/** Component fill pressed or selected. Composites to warning.500 over white. */
|
|
463
|
+
'500': string;
|
|
464
|
+
/** Subtle border. Composites to warning.600 over white. */
|
|
465
|
+
'600': string;
|
|
466
|
+
/** Default border, for dividers and decorative outlines. Composites to warning.700 over white. */
|
|
467
|
+
'700': string;
|
|
468
|
+
/** Strong border: a control edge, at least 3:1 on 100, 200 and white (decision 0025). Composites to warning.800 over white. */
|
|
469
|
+
'800': string;
|
|
470
|
+
/** Solid fill. Composites to warning.900 over white. */
|
|
471
|
+
'900': string;
|
|
472
|
+
/** Solid fill on hover. Composites to warning.1000 over white. */
|
|
473
|
+
'1000': string;
|
|
474
|
+
/** Secondary text: at least 4.5:1 on 100 to 500 and white. Composites to warning.1100 over white. */
|
|
475
|
+
'1100': string;
|
|
476
|
+
/** Primary text, and the darkest step. Composites to warning.1200 over white. */
|
|
477
|
+
'1200': string;
|
|
478
|
+
};
|
|
479
|
+
/** Serious role (decision 0043): a serious warning, between warning and danger. Defined in OKLCH at hue 47°: 100 (lightest) to 1200 (darkest), each step at the gray step's contrast with white, with its contrast in its description (decisions 0040 and 0044). */
|
|
480
|
+
serious: {
|
|
481
|
+
/** Page background. oklch(0.992 0.003 49), 1.02:1 on white. */
|
|
482
|
+
'100': string;
|
|
483
|
+
/** Subtle background. oklch(0.982 0.005 49), 1.06:1 on white. */
|
|
484
|
+
'200': string;
|
|
485
|
+
/** Component fill at rest. oklch(0.962 0.013 49), 1.12:1 on white. */
|
|
486
|
+
'300': string;
|
|
487
|
+
/** Component fill on hover. oklch(0.942 0.021 48), 1.19:1 on white. */
|
|
488
|
+
'400': string;
|
|
489
|
+
/** Component fill pressed or selected. oklch(0.920 0.030 46), 1.28:1 on white. */
|
|
490
|
+
'500': string;
|
|
491
|
+
/** Subtle border. oklch(0.896 0.043 47), 1.38:1 on white. */
|
|
492
|
+
'600': string;
|
|
493
|
+
/** Default border, for dividers and decorative outlines. oklch(0.866 0.063 47), 1.53:1 on white. */
|
|
494
|
+
'700': string;
|
|
495
|
+
/** Strong border: a control edge, at least 3:1 on 100, 200 and white (decision 0025). oklch(0.671 0.186 47), 3.19:1 on white. */
|
|
496
|
+
'800': string;
|
|
497
|
+
/** Solid fill. oklch(0.630 0.175 47), 3.74:1 on white. */
|
|
498
|
+
'900': string;
|
|
499
|
+
/** Solid fill on hover. oklch(0.592 0.163 47), 4.36:1 on white. */
|
|
500
|
+
'1000': string;
|
|
501
|
+
/** Secondary text: at least 4.5:1 on 100 to 500 and white. oklch(0.514 0.141 47), 6.00:1 on white. */
|
|
502
|
+
'1100': string;
|
|
503
|
+
/** Primary text, and the darkest step. oklch(0.256 0.043 47), 15.91:1 on white. */
|
|
504
|
+
'1200': string;
|
|
505
|
+
};
|
|
506
|
+
/** Alpha twins of serious: each is the smallest opacity that composites over white to the solid step (decision 0044). */
|
|
507
|
+
'serious-alpha': {
|
|
508
|
+
/** Page background. Composites to serious.100 over white. */
|
|
509
|
+
'100': string;
|
|
510
|
+
/** Subtle background. Composites to serious.200 over white. */
|
|
511
|
+
'200': string;
|
|
512
|
+
/** Component fill at rest. Composites to serious.300 over white. */
|
|
513
|
+
'300': string;
|
|
514
|
+
/** Component fill on hover. Composites to serious.400 over white. */
|
|
515
|
+
'400': string;
|
|
516
|
+
/** Component fill pressed or selected. Composites to serious.500 over white. */
|
|
517
|
+
'500': string;
|
|
518
|
+
/** Subtle border. Composites to serious.600 over white. */
|
|
519
|
+
'600': string;
|
|
520
|
+
/** Default border, for dividers and decorative outlines. Composites to serious.700 over white. */
|
|
521
|
+
'700': string;
|
|
522
|
+
/** Strong border: a control edge, at least 3:1 on 100, 200 and white (decision 0025). Composites to serious.800 over white. */
|
|
523
|
+
'800': string;
|
|
524
|
+
/** Solid fill. Composites to serious.900 over white. */
|
|
525
|
+
'900': string;
|
|
526
|
+
/** Solid fill on hover. Composites to serious.1000 over white. */
|
|
527
|
+
'1000': string;
|
|
528
|
+
/** Secondary text: at least 4.5:1 on 100 to 500 and white. Composites to serious.1100 over white. */
|
|
529
|
+
'1100': string;
|
|
530
|
+
/** Primary text, and the darkest step. Composites to serious.1200 over white. */
|
|
531
|
+
'1200': string;
|
|
532
|
+
};
|
|
533
|
+
/** Danger role (decision 0043): errors, destructive actions, negative values, money out. Defined in OKLCH at hue 29°: 100 (lightest) to 1200 (darkest), each step at the gray step's contrast with white, with its contrast in its description (decisions 0040 and 0044). */
|
|
534
|
+
danger: {
|
|
535
|
+
/** Page background. oklch(0.993 0.002 17), 1.02:1 on white. */
|
|
536
|
+
'100': string;
|
|
537
|
+
/** Subtle background. oklch(0.982 0.004 34), 1.05:1 on white. */
|
|
538
|
+
'200': string;
|
|
539
|
+
/** Component fill at rest. oklch(0.962 0.011 31), 1.12:1 on white. */
|
|
540
|
+
'300': string;
|
|
541
|
+
/** Component fill on hover. oklch(0.941 0.019 30), 1.20:1 on white. */
|
|
542
|
+
'400': string;
|
|
543
|
+
/** Component fill pressed or selected. oklch(0.923 0.028 29), 1.27:1 on white. */
|
|
544
|
+
'500': string;
|
|
545
|
+
/** Subtle border. oklch(0.898 0.040 29), 1.38:1 on white. */
|
|
546
|
+
'600': string;
|
|
547
|
+
/** Default border, for dividers and decorative outlines. oklch(0.867 0.057 29), 1.52:1 on white. */
|
|
548
|
+
'700': string;
|
|
549
|
+
/** Strong border: a control edge, at least 3:1 on 100, 200 and white (decision 0025). oklch(0.679 0.210 29), 3.18:1 on white. */
|
|
550
|
+
'800': string;
|
|
551
|
+
/** Solid fill. oklch(0.643 0.243 29), 3.74:1 on white. */
|
|
552
|
+
'900': string;
|
|
553
|
+
/** Solid fill on hover. oklch(0.606 0.248 29), 4.36:1 on white. */
|
|
554
|
+
'1000': string;
|
|
555
|
+
/** Secondary text: at least 4.5:1 on 100 to 500 and white. oklch(0.525 0.215 29), 6.03:1 on white. */
|
|
556
|
+
'1100': string;
|
|
557
|
+
/** Primary text, and the darkest step. oklch(0.259 0.063 29), 15.89:1 on white. */
|
|
558
|
+
'1200': string;
|
|
559
|
+
};
|
|
560
|
+
/** Alpha twins of danger: each is the smallest opacity that composites over white to the solid step (decision 0044). */
|
|
561
|
+
'danger-alpha': {
|
|
562
|
+
/** Page background. Composites to danger.100 over white. */
|
|
563
|
+
'100': string;
|
|
564
|
+
/** Subtle background. Composites to danger.200 over white. */
|
|
565
|
+
'200': string;
|
|
566
|
+
/** Component fill at rest. Composites to danger.300 over white. */
|
|
567
|
+
'300': string;
|
|
568
|
+
/** Component fill on hover. Composites to danger.400 over white. */
|
|
569
|
+
'400': string;
|
|
570
|
+
/** Component fill pressed or selected. Composites to danger.500 over white. */
|
|
571
|
+
'500': string;
|
|
572
|
+
/** Subtle border. Composites to danger.600 over white. */
|
|
573
|
+
'600': string;
|
|
574
|
+
/** Default border, for dividers and decorative outlines. Composites to danger.700 over white. */
|
|
575
|
+
'700': string;
|
|
576
|
+
/** Strong border: a control edge, at least 3:1 on 100, 200 and white (decision 0025). Composites to danger.800 over white. */
|
|
577
|
+
'800': string;
|
|
578
|
+
/** Solid fill. Composites to danger.900 over white. */
|
|
579
|
+
'900': string;
|
|
580
|
+
/** Solid fill on hover. Composites to danger.1000 over white. */
|
|
581
|
+
'1000': string;
|
|
582
|
+
/** Secondary text: at least 4.5:1 on 100 to 500 and white. Composites to danger.1100 over white. */
|
|
583
|
+
'1100': string;
|
|
584
|
+
/** Primary text, and the darkest step. Composites to danger.1200 over white. */
|
|
585
|
+
'1200': string;
|
|
586
|
+
};
|
|
587
|
+
/** AI role (decision 0043): AI-generated content, agent actions, working states. Defined in OKLCH at hue 305°: 100 (lightest) to 1200 (darkest), each step at the gray step's contrast with white, with its contrast in its description (decisions 0040 and 0044). */
|
|
588
|
+
ai: {
|
|
589
|
+
/** Page background. oklch(0.992 0.003 308), 1.02:1 on white. */
|
|
590
|
+
'100': string;
|
|
591
|
+
/** Subtle background. oklch(0.982 0.006 308), 1.06:1 on white. */
|
|
592
|
+
'200': string;
|
|
593
|
+
/** Component fill at rest. oklch(0.961 0.014 304), 1.12:1 on white. */
|
|
594
|
+
'300': string;
|
|
595
|
+
/** Component fill on hover. oklch(0.941 0.023 306), 1.20:1 on white. */
|
|
596
|
+
'400': string;
|
|
597
|
+
/** Component fill pressed or selected. oklch(0.921 0.033 305), 1.27:1 on white. */
|
|
598
|
+
'500': string;
|
|
599
|
+
/** Subtle border. oklch(0.897 0.046 305), 1.38:1 on white. */
|
|
600
|
+
'600': string;
|
|
601
|
+
/** Default border, for dividers and decorative outlines. oklch(0.867 0.066 305), 1.52:1 on white. */
|
|
602
|
+
'700': string;
|
|
603
|
+
/** Strong border: a control edge, at least 3:1 on 100, 200 and white (decision 0025). oklch(0.677 0.215 305), 3.20:1 on white. */
|
|
604
|
+
'800': string;
|
|
605
|
+
/** Solid fill. oklch(0.642 0.241 305), 3.74:1 on white. */
|
|
606
|
+
'900': string;
|
|
607
|
+
/** Solid fill on hover. oklch(0.610 0.267 305), 4.36:1 on white. */
|
|
608
|
+
'1000': string;
|
|
609
|
+
/** Secondary text: at least 4.5:1 on 100 to 500 and white. oklch(0.539 0.279 305), 5.99:1 on white. */
|
|
610
|
+
'1100': string;
|
|
611
|
+
/** Primary text, and the darkest step. oklch(0.261 0.082 306), 15.91:1 on white. */
|
|
612
|
+
'1200': string;
|
|
613
|
+
};
|
|
614
|
+
/** Alpha twins of ai: each is the smallest opacity that composites over white to the solid step (decision 0044). */
|
|
615
|
+
'ai-alpha': {
|
|
616
|
+
/** Page background. Composites to ai.100 over white. */
|
|
617
|
+
'100': string;
|
|
618
|
+
/** Subtle background. Composites to ai.200 over white. */
|
|
619
|
+
'200': string;
|
|
620
|
+
/** Component fill at rest. Composites to ai.300 over white. */
|
|
621
|
+
'300': string;
|
|
622
|
+
/** Component fill on hover. Composites to ai.400 over white. */
|
|
623
|
+
'400': string;
|
|
624
|
+
/** Component fill pressed or selected. Composites to ai.500 over white. */
|
|
625
|
+
'500': string;
|
|
626
|
+
/** Subtle border. Composites to ai.600 over white. */
|
|
627
|
+
'600': string;
|
|
628
|
+
/** Default border, for dividers and decorative outlines. Composites to ai.700 over white. */
|
|
629
|
+
'700': string;
|
|
630
|
+
/** Strong border: a control edge, at least 3:1 on 100, 200 and white (decision 0025). Composites to ai.800 over white. */
|
|
631
|
+
'800': string;
|
|
632
|
+
/** Solid fill. Composites to ai.900 over white. */
|
|
633
|
+
'900': string;
|
|
634
|
+
/** Solid fill on hover. Composites to ai.1000 over white. */
|
|
635
|
+
'1000': string;
|
|
636
|
+
/** Secondary text: at least 4.5:1 on 100 to 500 and white. Composites to ai.1100 over white. */
|
|
637
|
+
'1100': string;
|
|
638
|
+
/** Primary text, and the darkest step. Composites to ai.1200 over white. */
|
|
639
|
+
'1200': string;
|
|
640
|
+
};
|
|
641
|
+
/** Olive display ramp (decision 0043): no meaning; category labels and chart categories. Defined in OKLCH at hue 117°: 100 (lightest) to 1200 (darkest), each step at the gray step's contrast with white, with its contrast in its description (decisions 0040 and 0044). */
|
|
642
|
+
olive: {
|
|
643
|
+
/** Page background. oklch(0.990 0.012 117), 1.03:1 on white. */
|
|
644
|
+
'100': string;
|
|
645
|
+
/** Subtle background. oklch(0.980 0.025 117), 1.05:1 on white. */
|
|
646
|
+
'200': string;
|
|
647
|
+
/** Component fill at rest. oklch(0.959 0.045 117), 1.12:1 on white. */
|
|
648
|
+
'300': string;
|
|
649
|
+
/** Component fill on hover. oklch(0.935 0.065 117), 1.19:1 on white. */
|
|
650
|
+
'400': string;
|
|
651
|
+
/** Component fill pressed or selected. oklch(0.915 0.085 117), 1.27:1 on white. */
|
|
652
|
+
'500': string;
|
|
653
|
+
/** Subtle border. oklch(0.889 0.105 117), 1.37:1 on white. */
|
|
654
|
+
'600': string;
|
|
655
|
+
/** Default border, for dividers and decorative outlines. oklch(0.854 0.130 117), 1.53:1 on white. */
|
|
656
|
+
'700': string;
|
|
657
|
+
/** Strong border: a control edge, at least 3:1 on 100, 200 and white (decision 0025). oklch(0.647 0.149 117), 3.18:1 on white. */
|
|
658
|
+
'800': string;
|
|
659
|
+
/** Solid fill. oklch(0.607 0.139 117), 3.73:1 on white. */
|
|
660
|
+
'900': string;
|
|
661
|
+
/** Solid fill on hover. oklch(0.569 0.131 117), 4.36:1 on white. */
|
|
662
|
+
'1000': string;
|
|
663
|
+
/** Secondary text: at least 4.5:1 on 100 to 500 and white. oklch(0.493 0.114 117), 6.02:1 on white. */
|
|
664
|
+
'1100': string;
|
|
665
|
+
/** Primary text, and the darkest step. oklch(0.250 0.035 118), 15.89:1 on white. */
|
|
666
|
+
'1200': string;
|
|
667
|
+
};
|
|
668
|
+
/** Alpha twins of olive: each is the smallest opacity that composites over white to the solid step (decision 0044). */
|
|
669
|
+
'olive-alpha': {
|
|
670
|
+
/** Page background. Composites to olive.100 over white. */
|
|
671
|
+
'100': string;
|
|
672
|
+
/** Subtle background. Composites to olive.200 over white. */
|
|
673
|
+
'200': string;
|
|
674
|
+
/** Component fill at rest. Composites to olive.300 over white. */
|
|
675
|
+
'300': string;
|
|
676
|
+
/** Component fill on hover. Composites to olive.400 over white. */
|
|
677
|
+
'400': string;
|
|
678
|
+
/** Component fill pressed or selected. Composites to olive.500 over white. */
|
|
679
|
+
'500': string;
|
|
680
|
+
/** Subtle border. Composites to olive.600 over white. */
|
|
681
|
+
'600': string;
|
|
682
|
+
/** Default border, for dividers and decorative outlines. Composites to olive.700 over white. */
|
|
683
|
+
'700': string;
|
|
684
|
+
/** Strong border: a control edge, at least 3:1 on 100, 200 and white (decision 0025). Composites to olive.800 over white. */
|
|
685
|
+
'800': string;
|
|
686
|
+
/** Solid fill. Composites to olive.900 over white. */
|
|
687
|
+
'900': string;
|
|
688
|
+
/** Solid fill on hover. Composites to olive.1000 over white. */
|
|
689
|
+
'1000': string;
|
|
690
|
+
/** Secondary text: at least 4.5:1 on 100 to 500 and white. Composites to olive.1100 over white. */
|
|
691
|
+
'1100': string;
|
|
692
|
+
/** Primary text, and the darkest step. Composites to olive.1200 over white. */
|
|
693
|
+
'1200': string;
|
|
694
|
+
};
|
|
695
|
+
/** Periwinkle display ramp (decision 0043): no meaning; category labels and chart categories. Defined in OKLCH at hue 277°: 100 (lightest) to 1200 (darkest), each step at the gray step's contrast with white, with its contrast in its description (decisions 0040 and 0044). */
|
|
696
|
+
periwinkle: {
|
|
697
|
+
/** Page background. oklch(0.991 0.001 286), 1.03:1 on white. */
|
|
698
|
+
'100': string;
|
|
699
|
+
/** Subtle background. oklch(0.982 0.004 271), 1.05:1 on white. */
|
|
700
|
+
'200': string;
|
|
701
|
+
/** Component fill at rest. oklch(0.962 0.011 275), 1.12:1 on white. */
|
|
702
|
+
'300': string;
|
|
703
|
+
/** Component fill on hover. oklch(0.942 0.019 276), 1.19:1 on white. */
|
|
704
|
+
'400': string;
|
|
705
|
+
/** Component fill pressed or selected. oklch(0.919 0.027 277), 1.28:1 on white. */
|
|
706
|
+
'500': string;
|
|
707
|
+
/** Subtle border. oklch(0.896 0.039 278), 1.37:1 on white. */
|
|
708
|
+
'600': string;
|
|
709
|
+
/** Default border, for dividers and decorative outlines. oklch(0.862 0.055 277), 1.53:1 on white. */
|
|
710
|
+
'700': string;
|
|
711
|
+
/** Strong border: a control edge, at least 3:1 on 100, 200 and white (decision 0025). oklch(0.665 0.180 277), 3.20:1 on white. */
|
|
712
|
+
'800': string;
|
|
713
|
+
/** Solid fill. oklch(0.627 0.201 277), 3.76:1 on white. */
|
|
714
|
+
'900': string;
|
|
715
|
+
/** Solid fill on hover. oklch(0.593 0.224 277), 4.37:1 on white. */
|
|
716
|
+
'1000': string;
|
|
717
|
+
/** Secondary text: at least 4.5:1 on 100 to 500 and white. oklch(0.528 0.267 277), 6.00:1 on white. */
|
|
718
|
+
'1100': string;
|
|
719
|
+
/** Primary text, and the darkest step. oklch(0.259 0.096 277), 15.91:1 on white. */
|
|
720
|
+
'1200': string;
|
|
721
|
+
};
|
|
722
|
+
/** Alpha twins of periwinkle: each is the smallest opacity that composites over white to the solid step (decision 0044). */
|
|
723
|
+
'periwinkle-alpha': {
|
|
724
|
+
/** Page background. Composites to periwinkle.100 over white. */
|
|
725
|
+
'100': string;
|
|
726
|
+
/** Subtle background. Composites to periwinkle.200 over white. */
|
|
727
|
+
'200': string;
|
|
728
|
+
/** Component fill at rest. Composites to periwinkle.300 over white. */
|
|
729
|
+
'300': string;
|
|
730
|
+
/** Component fill on hover. Composites to periwinkle.400 over white. */
|
|
731
|
+
'400': string;
|
|
732
|
+
/** Component fill pressed or selected. Composites to periwinkle.500 over white. */
|
|
733
|
+
'500': string;
|
|
734
|
+
/** Subtle border. Composites to periwinkle.600 over white. */
|
|
735
|
+
'600': string;
|
|
736
|
+
/** Default border, for dividers and decorative outlines. Composites to periwinkle.700 over white. */
|
|
737
|
+
'700': string;
|
|
738
|
+
/** Strong border: a control edge, at least 3:1 on 100, 200 and white (decision 0025). Composites to periwinkle.800 over white. */
|
|
739
|
+
'800': string;
|
|
740
|
+
/** Solid fill. Composites to periwinkle.900 over white. */
|
|
741
|
+
'900': string;
|
|
742
|
+
/** Solid fill on hover. Composites to periwinkle.1000 over white. */
|
|
743
|
+
'1000': string;
|
|
744
|
+
/** Secondary text: at least 4.5:1 on 100 to 500 and white. Composites to periwinkle.1100 over white. */
|
|
745
|
+
'1100': string;
|
|
746
|
+
/** Primary text, and the darkest step. Composites to periwinkle.1200 over white. */
|
|
747
|
+
'1200': string;
|
|
748
|
+
};
|
|
749
|
+
/** Rose display ramp (decision 0043): no meaning; category labels and chart categories. Defined in OKLCH at hue 4°: 100 (lightest) to 1200 (darkest), each step at the gray step's contrast with white, with its contrast in its description (decisions 0040 and 0044). */
|
|
750
|
+
rose: {
|
|
751
|
+
/** Page background. oklch(0.993 0.002 17), 1.02:1 on white. */
|
|
752
|
+
'100': string;
|
|
753
|
+
/** Subtle background. oklch(0.982 0.004 360), 1.05:1 on white. */
|
|
754
|
+
'200': string;
|
|
755
|
+
/** Component fill at rest. oklch(0.961 0.012 5), 1.12:1 on white. */
|
|
756
|
+
'300': string;
|
|
757
|
+
/** Component fill on hover. oklch(0.942 0.019 5), 1.19:1 on white. */
|
|
758
|
+
'400': string;
|
|
759
|
+
/** Component fill pressed or selected. oklch(0.923 0.029 5), 1.27:1 on white. */
|
|
760
|
+
'500': string;
|
|
761
|
+
/** Subtle border. oklch(0.899 0.041 5), 1.37:1 on white. */
|
|
762
|
+
'600': string;
|
|
763
|
+
/** Default border, for dividers and decorative outlines. oklch(0.868 0.060 4), 1.53:1 on white. */
|
|
764
|
+
'700': string;
|
|
765
|
+
/** Strong border: a control edge, at least 3:1 on 100, 200 and white (decision 0025). oklch(0.682 0.221 4), 3.20:1 on white. */
|
|
766
|
+
'800': string;
|
|
767
|
+
/** Solid fill. oklch(0.647 0.256 4), 3.74:1 on white. */
|
|
768
|
+
'900': string;
|
|
769
|
+
/** Solid fill on hover. oklch(0.607 0.244 4), 4.37:1 on white. */
|
|
770
|
+
'1000': string;
|
|
771
|
+
/** Secondary text: at least 4.5:1 on 100 to 500 and white. oklch(0.528 0.213 4), 5.99:1 on white. */
|
|
772
|
+
'1100': string;
|
|
773
|
+
/** Primary text, and the darkest step. oklch(0.260 0.063 5), 15.91:1 on white. */
|
|
774
|
+
'1200': string;
|
|
775
|
+
};
|
|
776
|
+
/** Alpha twins of rose: each is the smallest opacity that composites over white to the solid step (decision 0044). */
|
|
777
|
+
'rose-alpha': {
|
|
778
|
+
/** Page background. Composites to rose.100 over white. */
|
|
779
|
+
'100': string;
|
|
780
|
+
/** Subtle background. Composites to rose.200 over white. */
|
|
781
|
+
'200': string;
|
|
782
|
+
/** Component fill at rest. Composites to rose.300 over white. */
|
|
783
|
+
'300': string;
|
|
784
|
+
/** Component fill on hover. Composites to rose.400 over white. */
|
|
785
|
+
'400': string;
|
|
786
|
+
/** Component fill pressed or selected. Composites to rose.500 over white. */
|
|
787
|
+
'500': string;
|
|
788
|
+
/** Subtle border. Composites to rose.600 over white. */
|
|
789
|
+
'600': string;
|
|
790
|
+
/** Default border, for dividers and decorative outlines. Composites to rose.700 over white. */
|
|
791
|
+
'700': string;
|
|
792
|
+
/** Strong border: a control edge, at least 3:1 on 100, 200 and white (decision 0025). Composites to rose.800 over white. */
|
|
793
|
+
'800': string;
|
|
794
|
+
/** Solid fill. Composites to rose.900 over white. */
|
|
795
|
+
'900': string;
|
|
796
|
+
/** Solid fill on hover. Composites to rose.1000 over white. */
|
|
797
|
+
'1000': string;
|
|
798
|
+
/** Secondary text: at least 4.5:1 on 100 to 500 and white. Composites to rose.1100 over white. */
|
|
799
|
+
'1100': string;
|
|
800
|
+
/** Primary text, and the darkest step. Composites to rose.1200 over white. */
|
|
801
|
+
'1200': string;
|
|
802
|
+
};
|
|
803
|
+
/** Magenta display ramp (decision 0043): no meaning; category labels and chart categories. Defined in OKLCH at hue 329°: 100 (lightest) to 1200 (darkest), each step at the gray step's contrast with white, with its contrast in its description (decisions 0040 and 0044). */
|
|
804
|
+
magenta: {
|
|
805
|
+
/** Page background. oklch(0.990 0.003 326), 1.03:1 on white. */
|
|
806
|
+
'100': string;
|
|
807
|
+
/** Subtle background. oklch(0.984 0.007 332), 1.05:1 on white. */
|
|
808
|
+
'200': string;
|
|
809
|
+
/** Component fill at rest. oklch(0.964 0.018 328), 1.12:1 on white. */
|
|
810
|
+
'300': string;
|
|
811
|
+
/** Component fill on hover. oklch(0.945 0.030 329), 1.19:1 on white. */
|
|
812
|
+
'400': string;
|
|
813
|
+
/** Component fill pressed or selected. oklch(0.925 0.045 329), 1.27:1 on white. */
|
|
814
|
+
'500': string;
|
|
815
|
+
/** Subtle border. oklch(0.901 0.063 329), 1.38:1 on white. */
|
|
816
|
+
'600': string;
|
|
817
|
+
/** Default border, for dividers and decorative outlines. oklch(0.870 0.092 329), 1.53:1 on white. */
|
|
818
|
+
'700': string;
|
|
819
|
+
/** Strong border: a control edge, at least 3:1 on 100, 200 and white (decision 0025). oklch(0.696 0.319 329), 3.20:1 on white. */
|
|
820
|
+
'800': string;
|
|
821
|
+
/** Solid fill. oklch(0.654 0.299 329), 3.75:1 on white. */
|
|
822
|
+
'900': string;
|
|
823
|
+
/** Solid fill on hover. oklch(0.615 0.282 329), 4.34:1 on white. */
|
|
824
|
+
'1000': string;
|
|
825
|
+
/** Secondary text: at least 4.5:1 on 100 to 500 and white. oklch(0.532 0.244 329), 6.02:1 on white. */
|
|
826
|
+
'1100': string;
|
|
827
|
+
/** Primary text, and the darkest step. oklch(0.262 0.073 330), 15.90:1 on white. */
|
|
828
|
+
'1200': string;
|
|
829
|
+
};
|
|
830
|
+
/** Alpha twins of magenta: each is the smallest opacity that composites over white to the solid step (decision 0044). */
|
|
831
|
+
'magenta-alpha': {
|
|
832
|
+
/** Page background. Composites to magenta.100 over white. */
|
|
833
|
+
'100': string;
|
|
834
|
+
/** Subtle background. Composites to magenta.200 over white. */
|
|
835
|
+
'200': string;
|
|
836
|
+
/** Component fill at rest. Composites to magenta.300 over white. */
|
|
837
|
+
'300': string;
|
|
838
|
+
/** Component fill on hover. Composites to magenta.400 over white. */
|
|
839
|
+
'400': string;
|
|
840
|
+
/** Component fill pressed or selected. Composites to magenta.500 over white. */
|
|
841
|
+
'500': string;
|
|
842
|
+
/** Subtle border. Composites to magenta.600 over white. */
|
|
843
|
+
'600': string;
|
|
844
|
+
/** Default border, for dividers and decorative outlines. Composites to magenta.700 over white. */
|
|
845
|
+
'700': string;
|
|
846
|
+
/** Strong border: a control edge, at least 3:1 on 100, 200 and white (decision 0025). Composites to magenta.800 over white. */
|
|
847
|
+
'800': string;
|
|
848
|
+
/** Solid fill. Composites to magenta.900 over white. */
|
|
849
|
+
'900': string;
|
|
850
|
+
/** Solid fill on hover. Composites to magenta.1000 over white. */
|
|
851
|
+
'1000': string;
|
|
852
|
+
/** Secondary text: at least 4.5:1 on 100 to 500 and white. Composites to magenta.1100 over white. */
|
|
853
|
+
'1100': string;
|
|
854
|
+
/** Primary text, and the darkest step. Composites to magenta.1200 over white. */
|
|
855
|
+
'1200': string;
|
|
856
|
+
};
|
|
317
857
|
/** Neutral grey ramp: 000 is white, then 100 (lightest grey) to 1000 (near-black). */
|
|
318
858
|
neutral: {
|
|
319
859
|
'100': string;
|
|
@@ -2314,6 +2854,8 @@ export type Tokens = {
|
|
|
2314
2854
|
'accent-pressed': string;
|
|
2315
2855
|
/** Error text: field error messages, InlineAlert errors. */
|
|
2316
2856
|
danger: string;
|
|
2857
|
+
/** AI-generated content and agent actions, such as the label on proposed content (0046); always with the AI icon and a label, never colour alone (0043). 5.99:1 on white, 5.68:1 on the page. */
|
|
2858
|
+
ai: string;
|
|
2317
2859
|
};
|
|
2318
2860
|
background: {
|
|
2319
2861
|
/**
|
|
@@ -2614,6 +3156,8 @@ export type Tokens = {
|
|
|
2614
3156
|
'accent-pressed': string;
|
|
2615
3157
|
/** Error icons, such as in Alert and EmptyState. */
|
|
2616
3158
|
danger: string;
|
|
3159
|
+
/** The AI icon on AI-generated content and agent actions (0043, 0046), next to its label. 5.99:1 on white, 5.68:1 on the page. */
|
|
3160
|
+
ai: string;
|
|
2617
3161
|
};
|
|
2618
3162
|
financial: {
|
|
2619
3163
|
/**
|