@carbon/themes 11.29.0 → 11.30.0-rc.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/es/index.js +268 -128
- package/lib/index.js +285 -129
- package/package.json +2 -2
- package/scss/generated/_themes.scss +78 -14
- package/scss/generated/_tokens.scss +55 -7
- package/src/g10.js +37 -20
- package/src/g100.js +37 -20
- package/src/g90.js +38 -21
- package/src/tokens/v11TokenGroup.js +21 -3
- package/src/white.js +37 -20
- package/umd/index.js +285 -129
|
@@ -12,9 +12,19 @@
|
|
|
12
12
|
@use '../utilities';
|
|
13
13
|
|
|
14
14
|
$white: (
|
|
15
|
+
ai-aura-end: rgba(255, 255, 255, 0),
|
|
16
|
+
ai-aura-hover-background: #edf5ff,
|
|
17
|
+
ai-aura-hover-end: rgba(255, 255, 255, 0),
|
|
18
|
+
ai-aura-hover-start: rgba(69, 137, 255, 0.4),
|
|
19
|
+
ai-aura-start: rgba(69, 137, 255, 0.1),
|
|
20
|
+
ai-border-end: #d0e2ff,
|
|
21
|
+
ai-border-start: #78a9ff,
|
|
22
|
+
ai-border-strong: #4589ff,
|
|
23
|
+
ai-drop-shadow: rgba(15, 98, 254, 0.32),
|
|
15
24
|
ai-gradient-end: rgba(255, 255, 255, 0),
|
|
16
25
|
ai-gradient-start-01: rgba(242, 244, 248, 0.5),
|
|
17
26
|
ai-gradient-start-02: rgba(237, 245, 255, 0.5),
|
|
27
|
+
ai-inner-shadow: rgba(69, 137, 255, 0.2),
|
|
18
28
|
background: #ffffff,
|
|
19
29
|
background-active: rgba(141, 141, 141, 0.5),
|
|
20
30
|
background-brand: #0f62fe,
|
|
@@ -39,6 +49,15 @@ $white: (
|
|
|
39
49
|
border-tile-01: #c6c6c6,
|
|
40
50
|
border-tile-02: #a8a8a8,
|
|
41
51
|
border-tile-03: #c6c6c6,
|
|
52
|
+
chat-avatar-agent: #161616,
|
|
53
|
+
chat-avatar-bot: #0f62fe,
|
|
54
|
+
chat-avatar-user: #161616,
|
|
55
|
+
chat-bubble-agent: #ffffff,
|
|
56
|
+
chat-bubble-agent-border: #e0e0e0,
|
|
57
|
+
chat-bubble-user: #e0e0e0,
|
|
58
|
+
chat-prompt-background: #ffffff,
|
|
59
|
+
chat-prompt-border-end: rgba(244, 244, 244, 0),
|
|
60
|
+
chat-prompt-border-start: #f4f4f4,
|
|
42
61
|
field-01: #f4f4f4,
|
|
43
62
|
field-02: #ffffff,
|
|
44
63
|
field-03: #f4f4f4,
|
|
@@ -104,8 +123,6 @@ $white: (
|
|
|
104
123
|
slug-callout-aura-start-hover-01: rgba(255, 255, 255, 0.5),
|
|
105
124
|
slug-callout-aura-start-hover-02: rgba(208, 226, 255, 0.5),
|
|
106
125
|
slug-callout-aura-start-selected: rgba(237, 245, 255, 0.6),
|
|
107
|
-
slug-callout-border-01: #78a9ff,
|
|
108
|
-
slug-callout-border-02: #d0e2ff,
|
|
109
126
|
slug-callout-caret-bottom: #d0e2ff,
|
|
110
127
|
slug-callout-caret-bottom-background: #d5e5ff,
|
|
111
128
|
slug-callout-caret-bottom-background-actions: #dae5f8,
|
|
@@ -116,7 +133,6 @@ $white: (
|
|
|
116
133
|
slug-callout-gradient-top: rgba(244, 244, 244, 0.85),
|
|
117
134
|
slug-callout-gradient-top-hover: rgba(224, 224, 224, 0.55),
|
|
118
135
|
slug-callout-gradient-top-selected: rgba(224, 224, 224, 0.85),
|
|
119
|
-
slug-callout-shadow-inner: rgba(69, 137, 255, 0.2),
|
|
120
136
|
slug-callout-shadow-outer-01: rgba(0, 67, 206, 0.25),
|
|
121
137
|
slug-callout-shadow-outer-02: rgba(0, 0, 0, 0.1),
|
|
122
138
|
slug-gradient: #161616
|
|
@@ -154,9 +170,19 @@ $white: utilities.merge(
|
|
|
154
170
|
);
|
|
155
171
|
|
|
156
172
|
$g10: (
|
|
173
|
+
ai-aura-end: rgba(255, 255, 255, 0),
|
|
174
|
+
ai-aura-hover-background: #edf5ff,
|
|
175
|
+
ai-aura-hover-end: rgba(255, 255, 255, 0),
|
|
176
|
+
ai-aura-hover-start: rgba(69, 137, 255, 0.4),
|
|
177
|
+
ai-aura-start: rgba(69, 137, 255, 0.1),
|
|
178
|
+
ai-border-end: #d0e2ff,
|
|
179
|
+
ai-border-start: #78a9ff,
|
|
180
|
+
ai-border-strong: #4589ff,
|
|
181
|
+
ai-drop-shadow: rgba(15, 98, 254, 0.32),
|
|
157
182
|
ai-gradient-end: rgba(255, 255, 255, 0),
|
|
158
183
|
ai-gradient-start-01: rgba(242, 244, 248, 0.5),
|
|
159
184
|
ai-gradient-start-02: rgba(237, 245, 255, 0.5),
|
|
185
|
+
ai-inner-shadow: rgba(69, 137, 255, 0.2),
|
|
160
186
|
background: #f4f4f4,
|
|
161
187
|
background-active: rgba(141, 141, 141, 0.5),
|
|
162
188
|
background-brand: #0f62fe,
|
|
@@ -181,6 +207,15 @@ $g10: (
|
|
|
181
207
|
border-tile-01: #a8a8a8,
|
|
182
208
|
border-tile-02: #c6c6c6,
|
|
183
209
|
border-tile-03: #a8a8a8,
|
|
210
|
+
chat-avatar-agent: #161616,
|
|
211
|
+
chat-avatar-bot: #0f62fe,
|
|
212
|
+
chat-avatar-user: #161616,
|
|
213
|
+
chat-bubble-agent: #ffffff,
|
|
214
|
+
chat-bubble-agent-border: #e0e0e0,
|
|
215
|
+
chat-bubble-user: #e0e0e0,
|
|
216
|
+
chat-prompt-background: #ffffff,
|
|
217
|
+
chat-prompt-border-end: rgba(244, 244, 244, 0),
|
|
218
|
+
chat-prompt-border-start: #f4f4f4,
|
|
184
219
|
field-01: #ffffff,
|
|
185
220
|
field-02: #f4f4f4,
|
|
186
221
|
field-03: #ffffff,
|
|
@@ -246,8 +281,6 @@ $g10: (
|
|
|
246
281
|
slug-callout-aura-start-hover-01: rgba(255, 255, 255, 0.5),
|
|
247
282
|
slug-callout-aura-start-hover-02: rgba(208, 226, 255, 0.5),
|
|
248
283
|
slug-callout-aura-start-selected: rgba(237, 245, 255, 0.6),
|
|
249
|
-
slug-callout-border-01: #78a9ff,
|
|
250
|
-
slug-callout-border-02: #d0e2ff,
|
|
251
284
|
slug-callout-caret-bottom: #d0e2ff,
|
|
252
285
|
slug-callout-caret-bottom-background: #ccdbf8,
|
|
253
286
|
slug-callout-caret-bottom-background-actions: #d2dcee,
|
|
@@ -258,7 +291,6 @@ $g10: (
|
|
|
258
291
|
slug-callout-gradient-top: rgba(244, 244, 244, 0.85),
|
|
259
292
|
slug-callout-gradient-top-hover: rgba(224, 224, 224, 0.55),
|
|
260
293
|
slug-callout-gradient-top-selected: rgba(224, 224, 224, 0.85),
|
|
261
|
-
slug-callout-shadow-inner: rgba(69, 137, 255, 0.2),
|
|
262
294
|
slug-callout-shadow-outer-01: rgba(0, 67, 206, 0.25),
|
|
263
295
|
slug-callout-shadow-outer-02: rgba(0, 0, 0, 0.1),
|
|
264
296
|
slug-gradient: #161616
|
|
@@ -296,9 +328,19 @@ $g10: utilities.merge(
|
|
|
296
328
|
);
|
|
297
329
|
|
|
298
330
|
$g90: (
|
|
331
|
+
ai-aura-end: rgba(0, 0, 0, 0),
|
|
332
|
+
ai-aura-hover-background: #474747,
|
|
333
|
+
ai-aura-hover-end: rgba(0, 0, 0, 0),
|
|
334
|
+
ai-aura-hover-start: rgba(69, 137, 255, 0.4),
|
|
335
|
+
ai-aura-start: rgba(69, 137, 255, 0.1),
|
|
336
|
+
ai-border-end: rgba(166, 200, 255, 0.24),
|
|
337
|
+
ai-border-start: #4589ff,
|
|
338
|
+
ai-border-strong: #78a9ff,
|
|
339
|
+
ai-drop-shadow: rgba(15, 98, 254, 0.32),
|
|
299
340
|
ai-gradient-end: rgba(38, 38, 38, 0),
|
|
300
341
|
ai-gradient-start-01: rgba(208, 226, 255, 0.2),
|
|
301
342
|
ai-gradient-start-02: unquote('transparent'),
|
|
343
|
+
ai-inner-shadow: rgba(69, 137, 255, 0.2),
|
|
302
344
|
background: #262626,
|
|
303
345
|
background-active: rgba(141, 141, 141, 0.4),
|
|
304
346
|
background-brand: #0f62fe,
|
|
@@ -323,6 +365,15 @@ $g90: (
|
|
|
323
365
|
border-tile-01: #6f6f6f,
|
|
324
366
|
border-tile-02: #8d8d8d,
|
|
325
367
|
border-tile-03: #a8a8a8,
|
|
368
|
+
chat-avatar-agent: #f4f4f4,
|
|
369
|
+
chat-avatar-bot: #4589ff,
|
|
370
|
+
chat-avatar-user: #f4f4f4,
|
|
371
|
+
chat-bubble-agent: #262626,
|
|
372
|
+
chat-bubble-agent-border: #525252,
|
|
373
|
+
chat-bubble-user: #393939,
|
|
374
|
+
chat-prompt-background: #161616,
|
|
375
|
+
chat-prompt-border-end: rgba(38, 38, 38, 0),
|
|
376
|
+
chat-prompt-border-start: #262626,
|
|
326
377
|
field-01: #393939,
|
|
327
378
|
field-02: #525252,
|
|
328
379
|
field-03: #6f6f6f,
|
|
@@ -380,7 +431,7 @@ $g90: (
|
|
|
380
431
|
skeleton-element: #525252,
|
|
381
432
|
slug-background: #c6c6c6,
|
|
382
433
|
slug-background-hover: #e0e0e0,
|
|
383
|
-
slug-callout-aura-end: rgba(
|
|
434
|
+
slug-callout-aura-end: rgba(0, 0, 0, 0),
|
|
384
435
|
slug-callout-aura-end-hover-01: rgba(22, 22, 22, 0),
|
|
385
436
|
slug-callout-aura-end-hover-02: unquote('transparent'),
|
|
386
437
|
slug-callout-aura-end-selected: rgba(22, 22, 22, 0),
|
|
@@ -388,8 +439,6 @@ $g90: (
|
|
|
388
439
|
slug-callout-aura-start-hover-01: rgba(184, 211, 255, 0.3),
|
|
389
440
|
slug-callout-aura-start-hover-02: unquote('transparent'),
|
|
390
441
|
slug-callout-aura-start-selected: rgba(208, 226, 255, 0.2),
|
|
391
|
-
slug-callout-border-01: #4589ff,
|
|
392
|
-
slug-callout-border-02: rgba(166, 200, 255, 0.25),
|
|
393
442
|
slug-callout-caret-bottom: #465060,
|
|
394
443
|
slug-callout-caret-bottom-background: #2d3f5c,
|
|
395
444
|
slug-callout-caret-bottom-background-actions: #253042,
|
|
@@ -400,7 +449,6 @@ $g90: (
|
|
|
400
449
|
slug-callout-gradient-top: rgba(22, 22, 22, 0.85),
|
|
401
450
|
slug-callout-gradient-top-hover: rgba(57, 57, 57, 0.55),
|
|
402
451
|
slug-callout-gradient-top-selected: rgba(57, 57, 57, 0.85),
|
|
403
|
-
slug-callout-shadow-inner: rgba(69, 137, 255, 0.2),
|
|
404
452
|
slug-callout-shadow-outer-01: rgba(0, 45, 156, 0.25),
|
|
405
453
|
slug-callout-shadow-outer-02: rgba(0, 0, 0, 0.65),
|
|
406
454
|
slug-gradient: #8d8d8d
|
|
@@ -438,9 +486,19 @@ $g90: utilities.merge(
|
|
|
438
486
|
);
|
|
439
487
|
|
|
440
488
|
$g100: (
|
|
489
|
+
ai-aura-end: rgba(0, 0, 0, 0),
|
|
490
|
+
ai-aura-hover-background: #333333,
|
|
491
|
+
ai-aura-hover-end: rgba(0, 0, 0, 0),
|
|
492
|
+
ai-aura-hover-start: rgba(69, 137, 255, 0.4),
|
|
493
|
+
ai-aura-start: rgba(69, 137, 255, 0.1),
|
|
494
|
+
ai-border-end: rgba(166, 200, 255, 0.24),
|
|
495
|
+
ai-border-start: #4589ff,
|
|
496
|
+
ai-border-strong: #78a9ff,
|
|
497
|
+
ai-drop-shadow: rgba(15, 98, 254, 0.32),
|
|
441
498
|
ai-gradient-end: rgba(38, 38, 38, 0),
|
|
442
499
|
ai-gradient-start-01: rgba(208, 226, 255, 0.2),
|
|
443
500
|
ai-gradient-start-02: unquote('transparent'),
|
|
501
|
+
ai-inner-shadow: rgba(69, 137, 255, 0.2),
|
|
444
502
|
background: #161616,
|
|
445
503
|
background-active: rgba(141, 141, 141, 0.4),
|
|
446
504
|
background-brand: #0f62fe,
|
|
@@ -465,6 +523,15 @@ $g100: (
|
|
|
465
523
|
border-tile-01: #525252,
|
|
466
524
|
border-tile-02: #6f6f6f,
|
|
467
525
|
border-tile-03: #8d8d8d,
|
|
526
|
+
chat-avatar-agent: #f4f4f4,
|
|
527
|
+
chat-avatar-bot: #4589ff,
|
|
528
|
+
chat-avatar-user: #f4f4f4,
|
|
529
|
+
chat-bubble-agent: #262626,
|
|
530
|
+
chat-bubble-agent-border: #525252,
|
|
531
|
+
chat-bubble-user: #393939,
|
|
532
|
+
chat-prompt-background: #161616,
|
|
533
|
+
chat-prompt-border-end: rgba(38, 38, 38, 0),
|
|
534
|
+
chat-prompt-border-start: #262626,
|
|
468
535
|
field-01: #262626,
|
|
469
536
|
field-02: #393939,
|
|
470
537
|
field-03: #525252,
|
|
@@ -522,7 +589,7 @@ $g100: (
|
|
|
522
589
|
skeleton-element: #393939,
|
|
523
590
|
slug-background: #c6c6c6,
|
|
524
591
|
slug-background-hover: #e0e0e0,
|
|
525
|
-
slug-callout-aura-end: rgba(
|
|
592
|
+
slug-callout-aura-end: rgba(0, 0, 0, 0),
|
|
526
593
|
slug-callout-aura-end-hover-01: rgba(22, 22, 22, 0),
|
|
527
594
|
slug-callout-aura-end-hover-02: unquote('transparent'),
|
|
528
595
|
slug-callout-aura-end-selected: rgba(22, 22, 22, 0),
|
|
@@ -530,8 +597,6 @@ $g100: (
|
|
|
530
597
|
slug-callout-aura-start-hover-01: rgba(184, 211, 255, 0.3),
|
|
531
598
|
slug-callout-aura-start-hover-02: unquote('transparent'),
|
|
532
599
|
slug-callout-aura-start-selected: rgba(208, 226, 255, 0.2),
|
|
533
|
-
slug-callout-border-01: #4589ff,
|
|
534
|
-
slug-callout-border-02: rgba(166, 200, 255, 0.25),
|
|
535
600
|
slug-callout-caret-bottom: #3d4655,
|
|
536
601
|
slug-callout-caret-bottom-background: #213250,
|
|
537
602
|
slug-callout-caret-bottom-background-actions: #192436,
|
|
@@ -542,7 +607,6 @@ $g100: (
|
|
|
542
607
|
slug-callout-gradient-top: rgba(22, 22, 22, 0.85),
|
|
543
608
|
slug-callout-gradient-top-hover: rgba(57, 57, 57, 0.55),
|
|
544
609
|
slug-callout-gradient-top-selected: rgba(57, 57, 57, 0.85),
|
|
545
|
-
slug-callout-shadow-inner: rgba(69, 137, 255, 0.2),
|
|
546
610
|
slug-callout-shadow-outer-01: rgba(0, 45, 156, 0.25),
|
|
547
611
|
slug-callout-shadow-outer-02: rgba(0, 0, 0, 0.65),
|
|
548
612
|
slug-gradient: #8d8d8d
|
|
@@ -378,20 +378,41 @@ $ai-gradient-start-02: _get('ai-gradient-start-02') !default;
|
|
|
378
378
|
/// The CSS Custom Property for the `ai-gradient-end` token
|
|
379
379
|
$ai-gradient-end: _get('ai-gradient-end') !default;
|
|
380
380
|
|
|
381
|
-
/// The CSS Custom Property for the `slug-callout-shadow-inner` token
|
|
382
|
-
$slug-callout-shadow-inner: _get('slug-callout-shadow-inner') !default;
|
|
383
|
-
|
|
384
381
|
/// The CSS Custom Property for the `slug-callout-shadow-outer-01` token
|
|
385
382
|
$slug-callout-shadow-outer-01: _get('slug-callout-shadow-outer-01') !default;
|
|
386
383
|
|
|
387
384
|
/// The CSS Custom Property for the `slug-callout-shadow-outer-02` token
|
|
388
385
|
$slug-callout-shadow-outer-02: _get('slug-callout-shadow-outer-02') !default;
|
|
389
386
|
|
|
390
|
-
/// The CSS Custom Property for the `
|
|
391
|
-
$
|
|
387
|
+
/// The CSS Custom Property for the `ai-inner-shadow` token
|
|
388
|
+
$ai-inner-shadow: _get('ai-inner-shadow') !default;
|
|
389
|
+
|
|
390
|
+
/// The CSS Custom Property for the `ai-aura-start` token
|
|
391
|
+
$ai-aura-start: _get('ai-aura-start') !default;
|
|
392
|
+
|
|
393
|
+
/// The CSS Custom Property for the `ai-aura-end` token
|
|
394
|
+
$ai-aura-end: _get('ai-aura-end') !default;
|
|
395
|
+
|
|
396
|
+
/// The CSS Custom Property for the `ai-aura-hover-background` token
|
|
397
|
+
$ai-aura-hover-background: _get('ai-aura-hover-background') !default;
|
|
398
|
+
|
|
399
|
+
/// The CSS Custom Property for the `ai-aura-hover-start` token
|
|
400
|
+
$ai-aura-hover-start: _get('ai-aura-hover-start') !default;
|
|
401
|
+
|
|
402
|
+
/// The CSS Custom Property for the `ai-aura-hover-end` token
|
|
403
|
+
$ai-aura-hover-end: _get('ai-aura-hover-end') !default;
|
|
404
|
+
|
|
405
|
+
/// The CSS Custom Property for the `ai-border-strong` token
|
|
406
|
+
$ai-border-strong: _get('ai-border-strong') !default;
|
|
407
|
+
|
|
408
|
+
/// The CSS Custom Property for the `ai-border-start` token
|
|
409
|
+
$ai-border-start: _get('ai-border-start') !default;
|
|
410
|
+
|
|
411
|
+
/// The CSS Custom Property for the `ai-border-end` token
|
|
412
|
+
$ai-border-end: _get('ai-border-end') !default;
|
|
392
413
|
|
|
393
|
-
/// The CSS Custom Property for the `
|
|
394
|
-
$
|
|
414
|
+
/// The CSS Custom Property for the `ai-drop-shadow` token
|
|
415
|
+
$ai-drop-shadow: _get('ai-drop-shadow') !default;
|
|
395
416
|
|
|
396
417
|
/// The CSS Custom Property for the `slug-callout-caret-center` token
|
|
397
418
|
$slug-callout-caret-center: _get('slug-callout-caret-center') !default;
|
|
@@ -409,6 +430,33 @@ $slug-callout-caret-bottom-background-actions: _get(
|
|
|
409
430
|
'slug-callout-caret-bottom-background-actions'
|
|
410
431
|
) !default;
|
|
411
432
|
|
|
433
|
+
/// The CSS Custom Property for the `chat-prompt-background` token
|
|
434
|
+
$chat-prompt-background: _get('chat-prompt-background') !default;
|
|
435
|
+
|
|
436
|
+
/// The CSS Custom Property for the `chat-prompt-border-start` token
|
|
437
|
+
$chat-prompt-border-start: _get('chat-prompt-border-start') !default;
|
|
438
|
+
|
|
439
|
+
/// The CSS Custom Property for the `chat-prompt-border-end` token
|
|
440
|
+
$chat-prompt-border-end: _get('chat-prompt-border-end') !default;
|
|
441
|
+
|
|
442
|
+
/// The CSS Custom Property for the `chat-bubble-user` token
|
|
443
|
+
$chat-bubble-user: _get('chat-bubble-user') !default;
|
|
444
|
+
|
|
445
|
+
/// The CSS Custom Property for the `chat-bubble-agent` token
|
|
446
|
+
$chat-bubble-agent: _get('chat-bubble-agent') !default;
|
|
447
|
+
|
|
448
|
+
/// The CSS Custom Property for the `chat-bubble-agent-border` token
|
|
449
|
+
$chat-bubble-agent-border: _get('chat-bubble-agent-border') !default;
|
|
450
|
+
|
|
451
|
+
/// The CSS Custom Property for the `chat-avatar-bot` token
|
|
452
|
+
$chat-avatar-bot: _get('chat-avatar-bot') !default;
|
|
453
|
+
|
|
454
|
+
/// The CSS Custom Property for the `chat-avatar-agent` token
|
|
455
|
+
$chat-avatar-agent: _get('chat-avatar-agent') !default;
|
|
456
|
+
|
|
457
|
+
/// The CSS Custom Property for the `chat-avatar-user` token
|
|
458
|
+
$chat-avatar-user: _get('chat-avatar-user') !default;
|
|
459
|
+
|
|
412
460
|
/// The CSS Custom Property for the `highlight` token
|
|
413
461
|
$highlight: _get('highlight') !default;
|
|
414
462
|
|
package/src/g10.js
CHANGED
|
@@ -213,6 +213,32 @@ export const slugGradient = `${gray100} linear-gradient(135deg, ${gray40} 0%, rg
|
|
|
213
213
|
export const slugBackgroundHover = gray60;
|
|
214
214
|
export const slugGradientHover = `${gray100} linear-gradient(135deg, ${gray20Hover} 0%, rgba(${white}, 0) 100%)`;
|
|
215
215
|
export const slugHollowHover = gray80Hover;
|
|
216
|
+
|
|
217
|
+
//// Phase 2 - new \\\\
|
|
218
|
+
// Shared
|
|
219
|
+
export const aiInnerShadow = rgba(blue50, 0.2);
|
|
220
|
+
export const aiAuraStart = rgba(blue50, 0.1);
|
|
221
|
+
export const aiAuraEnd = rgba(white, 0);
|
|
222
|
+
export const aiBorderStrong = blue50;
|
|
223
|
+
export const aiBorderStart = blue40;
|
|
224
|
+
export const aiBorderEnd = blue20;
|
|
225
|
+
export const aiDropShadow = rgba(blue60, 0.32);
|
|
226
|
+
export const aiAuraHoverBackground = blue10;
|
|
227
|
+
export const aiAuraHoverStart = rgba(blue50, 0.4);
|
|
228
|
+
export const aiAuraHoverEnd = rgba(white, 0);
|
|
229
|
+
|
|
230
|
+
// Callout
|
|
231
|
+
export const slugCalloutShadowOuter01 = rgba(blue70, 0.25);
|
|
232
|
+
export const slugCalloutShadowOuter02 = rgba(black, 0.1);
|
|
233
|
+
|
|
234
|
+
//// Not used in phase 2 / possibly remove?
|
|
235
|
+
export const slugCalloutGradientTop = rgba(gray10, 0.85);
|
|
236
|
+
export const slugCalloutGradientBottom = rgba(gray20, 0.85);
|
|
237
|
+
export const aiGradientStart01 = rgba(coolGray10, 0.5);
|
|
238
|
+
export const aiGradientStart02 = rgba(blue10, 0.5);
|
|
239
|
+
export const aiGradientEnd = rgba(white, 0);
|
|
240
|
+
export const slugCalloutAuraStart = aiAuraStart;
|
|
241
|
+
export const slugCalloutAuraEnd = aiAuraEnd;
|
|
216
242
|
export const slugCalloutGradientTopHover = rgba(gray20, 0.55);
|
|
217
243
|
export const slugCalloutGradientBottomHover = rgba(gray20Hover, 0.55);
|
|
218
244
|
export const slugCalloutAuraStartHover01 = rgba(white, 0.5);
|
|
@@ -223,26 +249,6 @@ export const slugCalloutGradientTopSelected = rgba(gray20, 0.85);
|
|
|
223
249
|
export const slugCalloutGradientBottomSelected = rgba(gray20Hover, 0.85);
|
|
224
250
|
export const slugCalloutAuraStartSelected = rgba(blue10, 0.6);
|
|
225
251
|
export const slugCalloutAuraEndSelected = rgba(white, 0);
|
|
226
|
-
// Linear gradient tokens
|
|
227
|
-
export const aiGradientStart01 = rgba(coolGray10, 0.5);
|
|
228
|
-
export const aiGradientStart02 = rgba(blue10, 0.5);
|
|
229
|
-
export const aiGradientEnd = rgba(white, 0);
|
|
230
|
-
|
|
231
|
-
// Phase 2 - new
|
|
232
|
-
export const slugCalloutShadowInner = rgba(blue50, 0.2);
|
|
233
|
-
export const slugCalloutShadowOuter01 = rgba(blue70, 0.25);
|
|
234
|
-
export const slugCalloutShadowOuter02 = rgba(black, 0.1);
|
|
235
|
-
|
|
236
|
-
export const slugCalloutBorder01 = blue40;
|
|
237
|
-
export const slugCalloutBorder02 = blue20;
|
|
238
|
-
|
|
239
|
-
// Changed
|
|
240
|
-
export const slugCalloutAuraStart = rgba(blue50, 0.1);
|
|
241
|
-
export const slugCalloutAuraEnd = rgba(white, 0);
|
|
242
|
-
|
|
243
|
-
// Not used in phase 2 / possibly remove?
|
|
244
|
-
export const slugCalloutGradientTop = rgba(gray10, 0.85);
|
|
245
|
-
export const slugCalloutGradientBottom = rgba(gray20, 0.85);
|
|
246
252
|
|
|
247
253
|
// One off tokens for caret
|
|
248
254
|
export const slugCalloutCaretCenter = '#A7C7FF';
|
|
@@ -250,6 +256,17 @@ export const slugCalloutCaretBottom = blue20;
|
|
|
250
256
|
export const slugCalloutCaretBottomBackgroundActions = '#D2DCEE';
|
|
251
257
|
export const slugCalloutCaretBottomBackground = '#CCDBF8';
|
|
252
258
|
|
|
259
|
+
// Chat tokens
|
|
260
|
+
export const chatPromptBackground = white;
|
|
261
|
+
export const chatPromptBorderStart = gray10;
|
|
262
|
+
export const chatPromptBorderEnd = rgba(gray10, 0);
|
|
263
|
+
export const chatBubbleUser = gray20;
|
|
264
|
+
export const chatBubbleAgent = white;
|
|
265
|
+
export const chatBubbleAgentBorder = gray20;
|
|
266
|
+
export const chatAvatarBot = blue60;
|
|
267
|
+
export const chatAvatarAgent = gray100;
|
|
268
|
+
export const chatAvatarUser = gray100;
|
|
269
|
+
|
|
253
270
|
export {
|
|
254
271
|
// Type
|
|
255
272
|
caption01,
|
package/src/g100.js
CHANGED
|
@@ -218,6 +218,32 @@ export const slugGradient = `${gray50} linear-gradient(135deg, ${gray10} 0%, rgb
|
|
|
218
218
|
export const slugBackgroundHover = gray20;
|
|
219
219
|
export const slugGradientHover = `${gray40} linear-gradient(135deg, ${white} 0%, rgba(${white}, 0) 100%)`;
|
|
220
220
|
export const slugHollowHover = gray30Hover;
|
|
221
|
+
|
|
222
|
+
//// Phase 2 - new \\\\
|
|
223
|
+
// Shared
|
|
224
|
+
export const aiInnerShadow = rgba(blue50, 0.2);
|
|
225
|
+
export const aiAuraStart = rgba(blue50, 0.1);
|
|
226
|
+
export const aiAuraEnd = rgba(black, 0);
|
|
227
|
+
export const aiBorderStrong = blue40;
|
|
228
|
+
export const aiBorderStart = blue50;
|
|
229
|
+
export const aiBorderEnd = rgba(blue30, 0.24);
|
|
230
|
+
export const aiDropShadow = rgba(blue60, 0.32);
|
|
231
|
+
export const aiAuraHoverBackground = layerHover01;
|
|
232
|
+
export const aiAuraHoverStart = rgba(blue50, 0.4);
|
|
233
|
+
export const aiAuraHoverEnd = rgba(black, 0);
|
|
234
|
+
|
|
235
|
+
// Callout
|
|
236
|
+
export const slugCalloutShadowOuter01 = rgba(blue80, 0.25);
|
|
237
|
+
export const slugCalloutShadowOuter02 = rgba(black, 0.65);
|
|
238
|
+
|
|
239
|
+
//// Not used in phase 2 / possibly remove?
|
|
240
|
+
export const slugCalloutGradientTop = rgba(gray100, 0.85);
|
|
241
|
+
export const slugCalloutGradientBottom = rgba(gray90, 0.85);
|
|
242
|
+
export const aiGradientStart01 = rgba(blue20, 0.2);
|
|
243
|
+
export const aiGradientStart02 = 'transparent';
|
|
244
|
+
export const aiGradientEnd = 'rgba(38, 38, 38, 0)';
|
|
245
|
+
export const slugCalloutAuraStart = aiAuraStart;
|
|
246
|
+
export const slugCalloutAuraEnd = aiAuraEnd;
|
|
221
247
|
export const slugCalloutGradientTopHover = rgba(gray80, 0.55);
|
|
222
248
|
export const slugCalloutGradientBottomHover = rgba(gray80Hover, 0.55);
|
|
223
249
|
export const slugCalloutAuraStartHover01 = rgba(blue20Hover, 0.3);
|
|
@@ -228,26 +254,6 @@ export const slugCalloutGradientTopSelected = rgba(gray80, 0.85);
|
|
|
228
254
|
export const slugCalloutGradientBottomSelected = rgba(gray80Hover, 0.85);
|
|
229
255
|
export const slugCalloutAuraStartSelected = rgba(blue20, 0.2);
|
|
230
256
|
export const slugCalloutAuraEndSelected = rgba(gray100, 0);
|
|
231
|
-
// Linear gradient tokens
|
|
232
|
-
export const aiGradientStart01 = rgba(blue20, 0.2);
|
|
233
|
-
export const aiGradientStart02 = 'transparent';
|
|
234
|
-
export const aiGradientEnd = 'rgba(38, 38, 38, 0)';
|
|
235
|
-
|
|
236
|
-
// Phase 2 - new
|
|
237
|
-
export const slugCalloutShadowInner = rgba(blue50, 0.2);
|
|
238
|
-
export const slugCalloutShadowOuter01 = rgba(blue80, 0.25);
|
|
239
|
-
export const slugCalloutShadowOuter02 = rgba(black, 0.65);
|
|
240
|
-
|
|
241
|
-
export const slugCalloutBorder01 = blue50;
|
|
242
|
-
export const slugCalloutBorder02 = rgba(blue30, 0.25);
|
|
243
|
-
|
|
244
|
-
// Changed
|
|
245
|
-
export const slugCalloutAuraStart = rgba(blue50, 0.1);
|
|
246
|
-
export const slugCalloutAuraEnd = rgba(white, 0);
|
|
247
|
-
|
|
248
|
-
// Not used in phase 2 / possibly remove?
|
|
249
|
-
export const slugCalloutGradientTop = rgba(gray100, 0.85);
|
|
250
|
-
export const slugCalloutGradientBottom = rgba(gray90, 0.85);
|
|
251
257
|
|
|
252
258
|
// One off tokens for caret
|
|
253
259
|
export const slugCalloutCaretCenter = '#3F68AF';
|
|
@@ -255,6 +261,17 @@ export const slugCalloutCaretBottom = '#3D4655';
|
|
|
255
261
|
export const slugCalloutCaretBottomBackgroundActions = '#192436';
|
|
256
262
|
export const slugCalloutCaretBottomBackground = '#213250';
|
|
257
263
|
|
|
264
|
+
// Chat tokens
|
|
265
|
+
export const chatPromptBackground = gray100;
|
|
266
|
+
export const chatPromptBorderStart = gray90;
|
|
267
|
+
export const chatPromptBorderEnd = rgba(gray90, 0);
|
|
268
|
+
export const chatBubbleUser = gray80;
|
|
269
|
+
export const chatBubbleAgent = gray90;
|
|
270
|
+
export const chatBubbleAgentBorder = gray70;
|
|
271
|
+
export const chatAvatarBot = blue50;
|
|
272
|
+
export const chatAvatarAgent = gray10;
|
|
273
|
+
export const chatAvatarUser = gray10;
|
|
274
|
+
|
|
258
275
|
export {
|
|
259
276
|
// Type
|
|
260
277
|
caption01,
|
package/src/g90.js
CHANGED
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
blue40,
|
|
13
13
|
blue60,
|
|
14
14
|
blue70,
|
|
15
|
+
blue80,
|
|
15
16
|
|
|
16
17
|
// Gray
|
|
17
18
|
gray10,
|
|
@@ -35,7 +36,6 @@ import {
|
|
|
35
36
|
// Support
|
|
36
37
|
blue30,
|
|
37
38
|
blue50,
|
|
38
|
-
blue80,
|
|
39
39
|
green40,
|
|
40
40
|
green50,
|
|
41
41
|
yellow30,
|
|
@@ -219,6 +219,32 @@ export const slugGradient = `${gray50} linear-gradient(135deg, ${gray10} 0%, rgb
|
|
|
219
219
|
export const slugBackgroundHover = gray20;
|
|
220
220
|
export const slugGradientHover = `${gray40} linear-gradient(135deg, ${white} 0%, rgba(${white}, 0) 100%)`;
|
|
221
221
|
export const slugHollowHover = gray30Hover;
|
|
222
|
+
|
|
223
|
+
//// Phase 2 - new \\\\
|
|
224
|
+
// Shared
|
|
225
|
+
export const aiInnerShadow = rgba(blue50, 0.2);
|
|
226
|
+
export const aiAuraStart = rgba(blue50, 0.1);
|
|
227
|
+
export const aiAuraEnd = rgba(black, 0);
|
|
228
|
+
export const aiBorderStrong = blue40;
|
|
229
|
+
export const aiBorderStart = blue50;
|
|
230
|
+
export const aiBorderEnd = rgba(blue30, 0.24);
|
|
231
|
+
export const aiDropShadow = rgba(blue60, 0.32);
|
|
232
|
+
export const aiAuraHoverBackground = layerHover01;
|
|
233
|
+
export const aiAuraHoverStart = rgba(blue50, 0.4);
|
|
234
|
+
export const aiAuraHoverEnd = rgba(black, 0);
|
|
235
|
+
|
|
236
|
+
// Callout
|
|
237
|
+
export const slugCalloutShadowOuter01 = rgba(blue80, 0.25);
|
|
238
|
+
export const slugCalloutShadowOuter02 = rgba(black, 0.65);
|
|
239
|
+
|
|
240
|
+
//// Not used in phase 2 / possibly remove?
|
|
241
|
+
export const slugCalloutGradientTop = rgba(gray100, 0.85);
|
|
242
|
+
export const slugCalloutGradientBottom = rgba(gray90, 0.85);
|
|
243
|
+
export const aiGradientStart01 = rgba(blue20, 0.2);
|
|
244
|
+
export const aiGradientStart02 = 'transparent';
|
|
245
|
+
export const aiGradientEnd = 'rgba(38, 38, 38, 0)';
|
|
246
|
+
export const slugCalloutAuraStart = aiAuraStart;
|
|
247
|
+
export const slugCalloutAuraEnd = aiAuraEnd;
|
|
222
248
|
export const slugCalloutGradientTopHover = rgba(gray80, 0.55);
|
|
223
249
|
export const slugCalloutGradientBottomHover = rgba(gray80Hover, 0.55);
|
|
224
250
|
export const slugCalloutAuraStartHover01 = rgba(blue20Hover, 0.3);
|
|
@@ -229,26 +255,6 @@ export const slugCalloutGradientTopSelected = rgba(gray80, 0.85);
|
|
|
229
255
|
export const slugCalloutGradientBottomSelected = rgba(gray80Hover, 0.85);
|
|
230
256
|
export const slugCalloutAuraStartSelected = rgba(blue20, 0.2);
|
|
231
257
|
export const slugCalloutAuraEndSelected = rgba(gray100, 0);
|
|
232
|
-
// Linear gradient tokens
|
|
233
|
-
export const aiGradientStart01 = rgba(blue20, 0.2);
|
|
234
|
-
export const aiGradientStart02 = 'transparent';
|
|
235
|
-
export const aiGradientEnd = 'rgba(38, 38, 38, 0)';
|
|
236
|
-
|
|
237
|
-
// Phase 2 - new
|
|
238
|
-
export const slugCalloutShadowInner = rgba(blue50, 0.2);
|
|
239
|
-
export const slugCalloutShadowOuter01 = rgba(blue80, 0.25);
|
|
240
|
-
export const slugCalloutShadowOuter02 = rgba(black, 0.65);
|
|
241
|
-
|
|
242
|
-
export const slugCalloutBorder01 = blue50;
|
|
243
|
-
export const slugCalloutBorder02 = rgba(blue30, 0.25);
|
|
244
|
-
|
|
245
|
-
// Changed
|
|
246
|
-
export const slugCalloutAuraStart = rgba(blue50, 0.1);
|
|
247
|
-
export const slugCalloutAuraEnd = rgba(white, 0);
|
|
248
|
-
|
|
249
|
-
// Not used in phase 2 / possibly remove?
|
|
250
|
-
export const slugCalloutGradientTop = rgba(gray100, 0.85);
|
|
251
|
-
export const slugCalloutGradientBottom = rgba(gray90, 0.85);
|
|
252
258
|
|
|
253
259
|
// One off tokens for caret
|
|
254
260
|
export const slugCalloutCaretCenter = '#456FB5';
|
|
@@ -256,6 +262,17 @@ export const slugCalloutCaretBottom = '#465060';
|
|
|
256
262
|
export const slugCalloutCaretBottomBackgroundActions = '#253042';
|
|
257
263
|
export const slugCalloutCaretBottomBackground = '#2D3F5C';
|
|
258
264
|
|
|
265
|
+
// Chat tokens
|
|
266
|
+
export const chatPromptBackground = gray100;
|
|
267
|
+
export const chatPromptBorderStart = gray90;
|
|
268
|
+
export const chatPromptBorderEnd = rgba(gray90, 0);
|
|
269
|
+
export const chatBubbleUser = gray80;
|
|
270
|
+
export const chatBubbleAgent = gray90;
|
|
271
|
+
export const chatBubbleAgentBorder = gray70;
|
|
272
|
+
export const chatAvatarBot = blue50;
|
|
273
|
+
export const chatAvatarAgent = gray10;
|
|
274
|
+
export const chatAvatarUser = gray10;
|
|
275
|
+
|
|
259
276
|
export {
|
|
260
277
|
// Type
|
|
261
278
|
caption01,
|
|
@@ -368,16 +368,34 @@ export const ai = TokenGroup.create({
|
|
|
368
368
|
'ai-gradient-start-02',
|
|
369
369
|
'ai-gradient-end',
|
|
370
370
|
// Phase 2
|
|
371
|
-
'slug-callout-shadow-inner',
|
|
372
371
|
'slug-callout-shadow-outer-01',
|
|
373
372
|
'slug-callout-shadow-outer-02',
|
|
374
|
-
|
|
375
|
-
'
|
|
373
|
+
// Linear gradient refactor
|
|
374
|
+
'ai-inner-shadow',
|
|
375
|
+
'ai-aura-start',
|
|
376
|
+
'ai-aura-end',
|
|
377
|
+
'ai-aura-hover-background',
|
|
378
|
+
'ai-aura-hover-start',
|
|
379
|
+
'ai-aura-hover-end',
|
|
380
|
+
'ai-border-strong',
|
|
381
|
+
'ai-border-start',
|
|
382
|
+
'ai-border-end',
|
|
383
|
+
'ai-drop-shadow',
|
|
376
384
|
// Caret tokens
|
|
377
385
|
'slug-callout-caret-center',
|
|
378
386
|
'slug-callout-caret-bottom',
|
|
379
387
|
'slug-callout-caret-bottom-background',
|
|
380
388
|
'slug-callout-caret-bottom-background-actions',
|
|
389
|
+
// Chat tokens
|
|
390
|
+
'chat-prompt-background',
|
|
391
|
+
'chat-prompt-border-start',
|
|
392
|
+
'chat-prompt-border-end',
|
|
393
|
+
'chat-bubble-user',
|
|
394
|
+
'chat-bubble-agent',
|
|
395
|
+
'chat-bubble-agent-border',
|
|
396
|
+
'chat-avatar-bot',
|
|
397
|
+
'chat-avatar-agent',
|
|
398
|
+
'chat-avatar-user',
|
|
381
399
|
],
|
|
382
400
|
});
|
|
383
401
|
|
package/src/white.js
CHANGED
|
@@ -213,6 +213,32 @@ export const slugGradient = `${gray100} linear-gradient(135deg, ${gray40} 0%, rg
|
|
|
213
213
|
export const slugBackgroundHover = gray60;
|
|
214
214
|
export const slugGradientHover = `${gray100} linear-gradient(135deg, ${gray20Hover} 0%, rgba(${white}, 0) 100%)`;
|
|
215
215
|
export const slugHollowHover = gray80Hover;
|
|
216
|
+
|
|
217
|
+
//// Phase 2 - new \\\\
|
|
218
|
+
// Shared
|
|
219
|
+
export const aiInnerShadow = rgba(blue50, 0.2);
|
|
220
|
+
export const aiAuraStart = rgba(blue50, 0.1);
|
|
221
|
+
export const aiAuraEnd = rgba(white, 0);
|
|
222
|
+
export const aiBorderStrong = blue50;
|
|
223
|
+
export const aiBorderStart = blue40;
|
|
224
|
+
export const aiBorderEnd = blue20;
|
|
225
|
+
export const aiDropShadow = rgba(blue60, 0.32);
|
|
226
|
+
export const aiAuraHoverBackground = blue10;
|
|
227
|
+
export const aiAuraHoverStart = rgba(blue50, 0.4);
|
|
228
|
+
export const aiAuraHoverEnd = rgba(white, 0);
|
|
229
|
+
|
|
230
|
+
// Callout
|
|
231
|
+
export const slugCalloutShadowOuter01 = rgba(blue70, 0.25);
|
|
232
|
+
export const slugCalloutShadowOuter02 = rgba(black, 0.1);
|
|
233
|
+
|
|
234
|
+
//// Not used in phase 2 / possibly remove?
|
|
235
|
+
export const slugCalloutGradientTop = rgba(gray10, 0.85);
|
|
236
|
+
export const slugCalloutGradientBottom = rgba(gray20, 0.85);
|
|
237
|
+
export const aiGradientStart01 = rgba(coolGray10, 0.5);
|
|
238
|
+
export const aiGradientStart02 = rgba(blue10, 0.5);
|
|
239
|
+
export const aiGradientEnd = rgba(white, 0);
|
|
240
|
+
export const slugCalloutAuraStart = aiAuraStart;
|
|
241
|
+
export const slugCalloutAuraEnd = aiAuraEnd;
|
|
216
242
|
export const slugCalloutGradientTopHover = rgba(gray20, 0.55);
|
|
217
243
|
export const slugCalloutGradientBottomHover = rgba(gray20Hover, 0.55);
|
|
218
244
|
export const slugCalloutAuraStartHover01 = rgba(white, 0.5);
|
|
@@ -223,26 +249,6 @@ export const slugCalloutGradientTopSelected = rgba(gray20, 0.85);
|
|
|
223
249
|
export const slugCalloutGradientBottomSelected = rgba(gray20Hover, 0.85);
|
|
224
250
|
export const slugCalloutAuraStartSelected = rgba(blue10, 0.6);
|
|
225
251
|
export const slugCalloutAuraEndSelected = rgba(white, 0);
|
|
226
|
-
// Linear gradient tokens
|
|
227
|
-
export const aiGradientStart01 = rgba(coolGray10, 0.5);
|
|
228
|
-
export const aiGradientStart02 = rgba(blue10, 0.5);
|
|
229
|
-
export const aiGradientEnd = rgba(white, 0);
|
|
230
|
-
|
|
231
|
-
// Phase 2 - new
|
|
232
|
-
export const slugCalloutShadowInner = rgba(blue50, 0.2);
|
|
233
|
-
export const slugCalloutShadowOuter01 = rgba(blue70, 0.25);
|
|
234
|
-
export const slugCalloutShadowOuter02 = rgba(black, 0.1);
|
|
235
|
-
|
|
236
|
-
export const slugCalloutBorder01 = blue40;
|
|
237
|
-
export const slugCalloutBorder02 = blue20;
|
|
238
|
-
|
|
239
|
-
// Changed
|
|
240
|
-
export const slugCalloutAuraStart = rgba(blue50, 0.1);
|
|
241
|
-
export const slugCalloutAuraEnd = rgba(white, 0);
|
|
242
|
-
|
|
243
|
-
// Not used in phase 2 / possibly remove?
|
|
244
|
-
export const slugCalloutGradientTop = rgba(gray10, 0.85);
|
|
245
|
-
export const slugCalloutGradientBottom = rgba(gray20, 0.85);
|
|
246
252
|
|
|
247
253
|
// One off tokens for caret
|
|
248
254
|
export const slugCalloutCaretCenter = '#A7C7FF';
|
|
@@ -250,6 +256,17 @@ export const slugCalloutCaretBottom = blue20;
|
|
|
250
256
|
export const slugCalloutCaretBottomBackgroundActions = '#DAE5F8';
|
|
251
257
|
export const slugCalloutCaretBottomBackground = '#D5E5FF';
|
|
252
258
|
|
|
259
|
+
// Chat tokens
|
|
260
|
+
export const chatPromptBackground = white;
|
|
261
|
+
export const chatPromptBorderStart = gray10;
|
|
262
|
+
export const chatPromptBorderEnd = rgba(gray10, 0);
|
|
263
|
+
export const chatBubbleUser = gray20;
|
|
264
|
+
export const chatBubbleAgent = white;
|
|
265
|
+
export const chatBubbleAgentBorder = gray20;
|
|
266
|
+
export const chatAvatarBot = blue60;
|
|
267
|
+
export const chatAvatarAgent = gray100;
|
|
268
|
+
export const chatAvatarUser = gray100;
|
|
269
|
+
|
|
253
270
|
// Type
|
|
254
271
|
export {
|
|
255
272
|
caption01,
|