@carbon/themes 11.33.0 → 11.33.1
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 +78 -118
- package/lib/index.js +79 -123
- package/package.json +2 -2
- package/scss/generated/_themes.scss +60 -84
- package/scss/generated/_tokens.scss +7 -19
- package/src/g10.js +14 -20
- package/src/g100.js +16 -25
- package/src/g90.js +16 -26
- package/src/tokens/v11TokenGroup.js +3 -7
- package/src/white.js +14 -20
- package/umd/index.js +79 -123
|
@@ -15,21 +15,22 @@ $white: (
|
|
|
15
15
|
ai-aura-end: rgba(255, 255, 255, 0),
|
|
16
16
|
ai-aura-hover-background: #edf5ff,
|
|
17
17
|
ai-aura-hover-end: rgba(255, 255, 255, 0),
|
|
18
|
-
ai-aura-hover-start: rgba(69, 137, 255, 0.
|
|
18
|
+
ai-aura-hover-start: rgba(69, 137, 255, 0.32),
|
|
19
19
|
ai-aura-start: rgba(69, 137, 255, 0.1),
|
|
20
|
-
ai-aura-start-
|
|
21
|
-
ai-border-end: #
|
|
22
|
-
ai-border-start:
|
|
20
|
+
ai-aura-start-sm: rgba(69, 137, 255, 0.16),
|
|
21
|
+
ai-border-end: #78a9ff,
|
|
22
|
+
ai-border-start: rgba(166, 200, 255, 0.64),
|
|
23
23
|
ai-border-strong: #4589ff,
|
|
24
|
-
ai-drop-shadow: rgba(15, 98, 254, 0.
|
|
25
|
-
ai-inner-shadow: rgba(69, 137, 255, 0.
|
|
24
|
+
ai-drop-shadow: rgba(15, 98, 254, 0.1),
|
|
25
|
+
ai-inner-shadow: rgba(69, 137, 255, 0.1),
|
|
26
26
|
ai-overlay: rgba(0, 17, 65, 0.5),
|
|
27
|
-
ai-popover-
|
|
28
|
-
ai-popover-caret-bottom
|
|
29
|
-
ai-popover-caret-bottom-background
|
|
30
|
-
ai-popover-caret-
|
|
31
|
-
ai-popover-
|
|
32
|
-
ai-popover-shadow-outer-
|
|
27
|
+
ai-popover-background: #ffffff,
|
|
28
|
+
ai-popover-caret-bottom: #78a9ff,
|
|
29
|
+
ai-popover-caret-bottom-background: #eaf1ff,
|
|
30
|
+
ai-popover-caret-bottom-background-actions: #e9effa,
|
|
31
|
+
ai-popover-caret-center: #a0c3ff,
|
|
32
|
+
ai-popover-shadow-outer-01: rgba(0, 67, 206, 0.06),
|
|
33
|
+
ai-popover-shadow-outer-02: rgba(0, 0, 0, 0.04),
|
|
33
34
|
ai-skeleton-background: #d0e2ff,
|
|
34
35
|
ai-skeleton-element-background: #4589ff,
|
|
35
36
|
background: #ffffff,
|
|
@@ -60,7 +61,7 @@ $white: (
|
|
|
60
61
|
chat-avatar-bot: #6f6f6f,
|
|
61
62
|
chat-avatar-user: #0f62fe,
|
|
62
63
|
chat-bubble-agent: #ffffff,
|
|
63
|
-
chat-bubble-
|
|
64
|
+
chat-bubble-border: #e0e0e0,
|
|
64
65
|
chat-bubble-user: #e0e0e0,
|
|
65
66
|
chat-button: #0f62fe,
|
|
66
67
|
chat-button-active: rgba(141, 141, 141, 0.5),
|
|
@@ -128,13 +129,6 @@ $white: (
|
|
|
128
129
|
shadow: rgba(0, 0, 0, 0.3),
|
|
129
130
|
skeleton-background: #e8e8e8,
|
|
130
131
|
skeleton-element: #c6c6c6,
|
|
131
|
-
slug-background: #525252,
|
|
132
|
-
slug-background-hover: #6f6f6f,
|
|
133
|
-
slug-gradient: #161616
|
|
134
|
-
linear-gradient(135deg, #a8a8a8 0%, rgba(#ffffff, 0) 100%),
|
|
135
|
-
slug-gradient-hover: #161616
|
|
136
|
-
linear-gradient(135deg, #d1d1d1 0%, rgba(#ffffff, 0) 100%),
|
|
137
|
-
slug-hollow-hover: #474747,
|
|
138
132
|
support-caution-major: #ff832b,
|
|
139
133
|
support-caution-minor: #f1c21b,
|
|
140
134
|
support-caution-undefined: #8a3ffc,
|
|
@@ -168,21 +162,22 @@ $g10: (
|
|
|
168
162
|
ai-aura-end: rgba(255, 255, 255, 0),
|
|
169
163
|
ai-aura-hover-background: #edf5ff,
|
|
170
164
|
ai-aura-hover-end: rgba(255, 255, 255, 0),
|
|
171
|
-
ai-aura-hover-start: rgba(69, 137, 255, 0.
|
|
165
|
+
ai-aura-hover-start: rgba(69, 137, 255, 0.32),
|
|
172
166
|
ai-aura-start: rgba(69, 137, 255, 0.1),
|
|
173
|
-
ai-aura-start-
|
|
174
|
-
ai-border-end: #
|
|
175
|
-
ai-border-start:
|
|
167
|
+
ai-aura-start-sm: rgba(69, 137, 255, 0.16),
|
|
168
|
+
ai-border-end: #78a9ff,
|
|
169
|
+
ai-border-start: rgba(166, 200, 255, 0.64),
|
|
176
170
|
ai-border-strong: #4589ff,
|
|
177
|
-
ai-drop-shadow: rgba(15, 98, 254, 0.
|
|
178
|
-
ai-inner-shadow: rgba(69, 137, 255, 0.
|
|
171
|
+
ai-drop-shadow: rgba(15, 98, 254, 0.1),
|
|
172
|
+
ai-inner-shadow: rgba(69, 137, 255, 0.1),
|
|
179
173
|
ai-overlay: rgba(0, 17, 65, 0.5),
|
|
180
|
-
ai-popover-
|
|
181
|
-
ai-popover-caret-bottom
|
|
182
|
-
ai-popover-caret-bottom-background
|
|
183
|
-
ai-popover-caret-
|
|
184
|
-
ai-popover-
|
|
185
|
-
ai-popover-shadow-outer-
|
|
174
|
+
ai-popover-background: #ffffff,
|
|
175
|
+
ai-popover-caret-bottom: #78a9ff,
|
|
176
|
+
ai-popover-caret-bottom-background: #eaf1ff,
|
|
177
|
+
ai-popover-caret-bottom-background-actions: #e9effa,
|
|
178
|
+
ai-popover-caret-center: #a0c3ff,
|
|
179
|
+
ai-popover-shadow-outer-01: rgba(0, 67, 206, 0.06),
|
|
180
|
+
ai-popover-shadow-outer-02: rgba(0, 0, 0, 0.04),
|
|
186
181
|
ai-skeleton-background: #d0e2ff,
|
|
187
182
|
ai-skeleton-element-background: #4589ff,
|
|
188
183
|
background: #f4f4f4,
|
|
@@ -213,7 +208,7 @@ $g10: (
|
|
|
213
208
|
chat-avatar-bot: #6f6f6f,
|
|
214
209
|
chat-avatar-user: #0f62fe,
|
|
215
210
|
chat-bubble-agent: #ffffff,
|
|
216
|
-
chat-bubble-
|
|
211
|
+
chat-bubble-border: #e0e0e0,
|
|
217
212
|
chat-bubble-user: #e0e0e0,
|
|
218
213
|
chat-button: #0f62fe,
|
|
219
214
|
chat-button-active: rgba(141, 141, 141, 0.5),
|
|
@@ -281,13 +276,6 @@ $g10: (
|
|
|
281
276
|
shadow: rgba(0, 0, 0, 0.3),
|
|
282
277
|
skeleton-background: #e8e8e8,
|
|
283
278
|
skeleton-element: #c6c6c6,
|
|
284
|
-
slug-background: #525252,
|
|
285
|
-
slug-background-hover: #6f6f6f,
|
|
286
|
-
slug-gradient: #161616
|
|
287
|
-
linear-gradient(135deg, #a8a8a8 0%, rgba(#ffffff, 0) 100%),
|
|
288
|
-
slug-gradient-hover: #161616
|
|
289
|
-
linear-gradient(135deg, #d1d1d1 0%, rgba(#ffffff, 0) 100%),
|
|
290
|
-
slug-hollow-hover: #474747,
|
|
291
279
|
support-caution-major: #ff832b,
|
|
292
280
|
support-caution-minor: #f1c21b,
|
|
293
281
|
support-caution-undefined: #8a3ffc,
|
|
@@ -323,21 +311,22 @@ $g90: (
|
|
|
323
311
|
ai-aura-hover-end: rgba(0, 0, 0, 0),
|
|
324
312
|
ai-aura-hover-start: rgba(69, 137, 255, 0.4),
|
|
325
313
|
ai-aura-start: rgba(69, 137, 255, 0.1),
|
|
326
|
-
ai-aura-start-
|
|
327
|
-
ai-border-end:
|
|
328
|
-
ai-border-start:
|
|
314
|
+
ai-aura-start-sm: rgba(69, 137, 255, 0.16),
|
|
315
|
+
ai-border-end: #4589ff,
|
|
316
|
+
ai-border-start: rgba(166, 200, 255, 0.36),
|
|
329
317
|
ai-border-strong: #78a9ff,
|
|
330
|
-
ai-drop-shadow: rgba(
|
|
331
|
-
ai-inner-shadow: rgba(69, 137, 255, 0.
|
|
332
|
-
ai-overlay: rgba(0,
|
|
333
|
-
ai-popover-
|
|
334
|
-
ai-popover-caret-bottom
|
|
335
|
-
ai-popover-caret-bottom-background
|
|
336
|
-
ai-popover-caret-
|
|
337
|
-
ai-popover-
|
|
338
|
-
ai-popover-shadow-outer-
|
|
339
|
-
ai-
|
|
340
|
-
ai-skeleton-
|
|
318
|
+
ai-drop-shadow: rgba(0, 0, 0, 0.28),
|
|
319
|
+
ai-inner-shadow: rgba(69, 137, 255, 0.16),
|
|
320
|
+
ai-overlay: rgba(0, 0, 0, 0.5),
|
|
321
|
+
ai-popover-background: #161616,
|
|
322
|
+
ai-popover-caret-bottom: #4589ff,
|
|
323
|
+
ai-popover-caret-bottom-background: #202d45,
|
|
324
|
+
ai-popover-caret-bottom-background-actions: #1e283a,
|
|
325
|
+
ai-popover-caret-center: #4870b5,
|
|
326
|
+
ai-popover-shadow-outer-01: rgba(0, 0, 0, 0.12),
|
|
327
|
+
ai-popover-shadow-outer-02: rgba(0, 0, 0, 0.08),
|
|
328
|
+
ai-skeleton-background: rgba(120, 169, 255, 0.5),
|
|
329
|
+
ai-skeleton-element-background: rgba(120, 169, 255, 0.3),
|
|
341
330
|
background: #262626,
|
|
342
331
|
background-active: rgba(141, 141, 141, 0.4),
|
|
343
332
|
background-brand: #0f62fe,
|
|
@@ -366,7 +355,7 @@ $g90: (
|
|
|
366
355
|
chat-avatar-bot: #8d8d8d,
|
|
367
356
|
chat-avatar-user: #4589ff,
|
|
368
357
|
chat-bubble-agent: #262626,
|
|
369
|
-
chat-bubble-
|
|
358
|
+
chat-bubble-border: #525252,
|
|
370
359
|
chat-bubble-user: #393939,
|
|
371
360
|
chat-button: #78a9ff,
|
|
372
361
|
chat-button-active: rgba(141, 141, 141, 0.4),
|
|
@@ -434,13 +423,6 @@ $g90: (
|
|
|
434
423
|
shadow: rgba(0, 0, 0, 0.8),
|
|
435
424
|
skeleton-background: #333333,
|
|
436
425
|
skeleton-element: #525252,
|
|
437
|
-
slug-background: #c6c6c6,
|
|
438
|
-
slug-background-hover: #e0e0e0,
|
|
439
|
-
slug-gradient: #8d8d8d
|
|
440
|
-
linear-gradient(135deg, #f4f4f4 0%, rgba(#ffffff, 0) 100%),
|
|
441
|
-
slug-gradient-hover: #a8a8a8
|
|
442
|
-
linear-gradient(135deg, #ffffff 0%, rgba(#ffffff, 0) 100%),
|
|
443
|
-
slug-hollow-hover: #b5b5b5,
|
|
444
426
|
support-caution-major: #ff832b,
|
|
445
427
|
support-caution-minor: #f1c21b,
|
|
446
428
|
support-caution-undefined: #a56eff,
|
|
@@ -476,21 +458,22 @@ $g100: (
|
|
|
476
458
|
ai-aura-hover-end: rgba(0, 0, 0, 0),
|
|
477
459
|
ai-aura-hover-start: rgba(69, 137, 255, 0.4),
|
|
478
460
|
ai-aura-start: rgba(69, 137, 255, 0.1),
|
|
479
|
-
ai-aura-start-
|
|
480
|
-
ai-border-end:
|
|
481
|
-
ai-border-start:
|
|
461
|
+
ai-aura-start-sm: rgba(69, 137, 255, 0.16),
|
|
462
|
+
ai-border-end: #4589ff,
|
|
463
|
+
ai-border-start: rgba(166, 200, 255, 0.36),
|
|
482
464
|
ai-border-strong: #78a9ff,
|
|
483
|
-
ai-drop-shadow: rgba(
|
|
484
|
-
ai-inner-shadow: rgba(69, 137, 255, 0.
|
|
485
|
-
ai-overlay: rgba(0,
|
|
486
|
-
ai-popover-
|
|
487
|
-
ai-popover-caret-bottom
|
|
488
|
-
ai-popover-caret-bottom-background
|
|
489
|
-
ai-popover-caret-
|
|
490
|
-
ai-popover-
|
|
491
|
-
ai-popover-shadow-outer-
|
|
492
|
-
ai-
|
|
493
|
-
ai-skeleton-
|
|
465
|
+
ai-drop-shadow: rgba(0, 0, 0, 0.28),
|
|
466
|
+
ai-inner-shadow: rgba(69, 137, 255, 0.16),
|
|
467
|
+
ai-overlay: rgba(0, 0, 0, 0.5),
|
|
468
|
+
ai-popover-background: #161616,
|
|
469
|
+
ai-popover-caret-bottom: #4589ff,
|
|
470
|
+
ai-popover-caret-bottom-background: #202d45,
|
|
471
|
+
ai-popover-caret-bottom-background-actions: #1e283a,
|
|
472
|
+
ai-popover-caret-center: #4870b5,
|
|
473
|
+
ai-popover-shadow-outer-01: rgba(0, 0, 0, 0.12),
|
|
474
|
+
ai-popover-shadow-outer-02: rgba(0, 0, 0, 0.08),
|
|
475
|
+
ai-skeleton-background: rgba(120, 169, 255, 0.5),
|
|
476
|
+
ai-skeleton-element-background: rgba(120, 169, 255, 0.3),
|
|
494
477
|
background: #161616,
|
|
495
478
|
background-active: rgba(141, 141, 141, 0.4),
|
|
496
479
|
background-brand: #0f62fe,
|
|
@@ -519,7 +502,7 @@ $g100: (
|
|
|
519
502
|
chat-avatar-bot: #8d8d8d,
|
|
520
503
|
chat-avatar-user: #4589ff,
|
|
521
504
|
chat-bubble-agent: #262626,
|
|
522
|
-
chat-bubble-
|
|
505
|
+
chat-bubble-border: #525252,
|
|
523
506
|
chat-bubble-user: #393939,
|
|
524
507
|
chat-button: #78a9ff,
|
|
525
508
|
chat-button-active: rgba(141, 141, 141, 0.4),
|
|
@@ -587,13 +570,6 @@ $g100: (
|
|
|
587
570
|
shadow: rgba(0, 0, 0, 0.8),
|
|
588
571
|
skeleton-background: #292929,
|
|
589
572
|
skeleton-element: #393939,
|
|
590
|
-
slug-background: #c6c6c6,
|
|
591
|
-
slug-background-hover: #e0e0e0,
|
|
592
|
-
slug-gradient: #8d8d8d
|
|
593
|
-
linear-gradient(135deg, #f4f4f4 0%, rgba(#ffffff, 0) 100%),
|
|
594
|
-
slug-gradient-hover: #a8a8a8
|
|
595
|
-
linear-gradient(135deg, #ffffff 0%, rgba(#ffffff, 0) 100%),
|
|
596
|
-
slug-hollow-hover: #b5b5b5,
|
|
597
573
|
support-caution-major: #ff832b,
|
|
598
574
|
support-caution-minor: #f1c21b,
|
|
599
575
|
support-caution-undefined: #a56eff,
|
|
@@ -292,20 +292,8 @@ $support-caution-minor: _get('support-caution-minor') !default;
|
|
|
292
292
|
/// The CSS Custom Property for the `support-caution-undefined` token
|
|
293
293
|
$support-caution-undefined: _get('support-caution-undefined') !default;
|
|
294
294
|
|
|
295
|
-
/// The CSS Custom Property for the `
|
|
296
|
-
$
|
|
297
|
-
|
|
298
|
-
/// The CSS Custom Property for the `slug-gradient` token
|
|
299
|
-
$slug-gradient: _get('slug-gradient') !default;
|
|
300
|
-
|
|
301
|
-
/// The CSS Custom Property for the `slug-background-hover` token
|
|
302
|
-
$slug-background-hover: _get('slug-background-hover') !default;
|
|
303
|
-
|
|
304
|
-
/// The CSS Custom Property for the `slug-gradient-hover` token
|
|
305
|
-
$slug-gradient-hover: _get('slug-gradient-hover') !default;
|
|
306
|
-
|
|
307
|
-
/// The CSS Custom Property for the `slug-hollow-hover` token
|
|
308
|
-
$slug-hollow-hover: _get('slug-hollow-hover') !default;
|
|
295
|
+
/// The CSS Custom Property for the `ai-popover-background` token
|
|
296
|
+
$ai-popover-background: _get('ai-popover-background') !default;
|
|
309
297
|
|
|
310
298
|
/// The CSS Custom Property for the `ai-popover-shadow-outer-01` token
|
|
311
299
|
$ai-popover-shadow-outer-01: _get('ai-popover-shadow-outer-01') !default;
|
|
@@ -316,12 +304,12 @@ $ai-popover-shadow-outer-02: _get('ai-popover-shadow-outer-02') !default;
|
|
|
316
304
|
/// The CSS Custom Property for the `ai-inner-shadow` token
|
|
317
305
|
$ai-inner-shadow: _get('ai-inner-shadow') !default;
|
|
318
306
|
|
|
307
|
+
/// The CSS Custom Property for the `ai-aura-start-sm` token
|
|
308
|
+
$ai-aura-start-sm: _get('ai-aura-start-sm') !default;
|
|
309
|
+
|
|
319
310
|
/// The CSS Custom Property for the `ai-aura-start` token
|
|
320
311
|
$ai-aura-start: _get('ai-aura-start') !default;
|
|
321
312
|
|
|
322
|
-
/// The CSS Custom Property for the `ai-aura-start-table` token
|
|
323
|
-
$ai-aura-start-table: _get('ai-aura-start-table') !default;
|
|
324
|
-
|
|
325
313
|
/// The CSS Custom Property for the `ai-aura-end` token
|
|
326
314
|
$ai-aura-end: _get('ai-aura-end') !default;
|
|
327
315
|
|
|
@@ -388,8 +376,8 @@ $chat-bubble-user: _get('chat-bubble-user') !default;
|
|
|
388
376
|
/// The CSS Custom Property for the `chat-bubble-agent` token
|
|
389
377
|
$chat-bubble-agent: _get('chat-bubble-agent') !default;
|
|
390
378
|
|
|
391
|
-
/// The CSS Custom Property for the `chat-bubble-
|
|
392
|
-
$chat-bubble-
|
|
379
|
+
/// The CSS Custom Property for the `chat-bubble-border` token
|
|
380
|
+
$chat-bubble-border: _get('chat-bubble-border') !default;
|
|
393
381
|
|
|
394
382
|
/// The CSS Custom Property for the `chat-avatar-bot` token
|
|
395
383
|
$chat-avatar-bot: _get('chat-avatar-bot') !default;
|
package/src/g10.js
CHANGED
|
@@ -205,30 +205,24 @@ export const toggleOff = gray50;
|
|
|
205
205
|
export const shadow = 'rgba(0, 0, 0, 0.3)';
|
|
206
206
|
|
|
207
207
|
//// AI - Experimental (Use at your own risk)
|
|
208
|
-
// Slug tokens
|
|
209
|
-
export const slugBackground = gray70;
|
|
210
|
-
export const slugGradient = `${gray100} linear-gradient(135deg, ${gray40} 0%, rgba(${white}, 0) 100%)`;
|
|
211
|
-
export const slugBackgroundHover = gray60;
|
|
212
|
-
export const slugGradientHover = `${gray100} linear-gradient(135deg, ${gray20Hover} 0%, rgba(${white}, 0) 100%)`;
|
|
213
|
-
export const slugHollowHover = gray80Hover;
|
|
214
|
-
|
|
215
208
|
//// Phase 2 - new \\\\
|
|
216
209
|
// Shared
|
|
217
|
-
export const aiInnerShadow = rgba(blue50, 0.
|
|
218
|
-
export const
|
|
210
|
+
export const aiInnerShadow = rgba(blue50, 0.1);
|
|
211
|
+
export const aiAuraStartSm = rgba(blue50, 0.16);
|
|
219
212
|
export const aiAuraStart = rgba(blue50, 0.1);
|
|
220
213
|
export const aiAuraEnd = rgba(white, 0);
|
|
221
214
|
export const aiBorderStrong = blue50;
|
|
222
|
-
export const aiBorderStart =
|
|
223
|
-
export const aiBorderEnd =
|
|
224
|
-
export const aiDropShadow = rgba(blue60, 0.
|
|
215
|
+
export const aiBorderStart = rgba(blue30, 0.64);
|
|
216
|
+
export const aiBorderEnd = blue40;
|
|
217
|
+
export const aiDropShadow = rgba(blue60, 0.1);
|
|
225
218
|
export const aiAuraHoverBackground = blue10;
|
|
226
|
-
export const aiAuraHoverStart = rgba(blue50, 0.
|
|
219
|
+
export const aiAuraHoverStart = rgba(blue50, 0.32);
|
|
227
220
|
export const aiAuraHoverEnd = rgba(white, 0);
|
|
228
221
|
|
|
229
222
|
// AI Popover
|
|
230
|
-
export const
|
|
231
|
-
export const
|
|
223
|
+
export const aiPopoverBackground = white;
|
|
224
|
+
export const aiPopoverShadowOuter01 = rgba(blue70, 0.06);
|
|
225
|
+
export const aiPopoverShadowOuter02 = rgba(black, 0.04);
|
|
232
226
|
|
|
233
227
|
// AI skeleton
|
|
234
228
|
export const aiSkeletonBackground = blue20;
|
|
@@ -238,10 +232,10 @@ export const aiSkeletonElementBackground = blue50;
|
|
|
238
232
|
export const aiOverlay = rgba(blue100, 0.5);
|
|
239
233
|
|
|
240
234
|
// One off tokens for caret
|
|
241
|
-
export const aiPopoverCaretCenter = '#
|
|
242
|
-
export const aiPopoverCaretBottom =
|
|
243
|
-
export const aiPopoverCaretBottomBackgroundActions = '#
|
|
244
|
-
export const aiPopoverCaretBottomBackground = '#
|
|
235
|
+
export const aiPopoverCaretCenter = '#A0C3FF';
|
|
236
|
+
export const aiPopoverCaretBottom = blue40;
|
|
237
|
+
export const aiPopoverCaretBottomBackgroundActions = '#E9EFFA';
|
|
238
|
+
export const aiPopoverCaretBottomBackground = '#EAF1FF';
|
|
245
239
|
|
|
246
240
|
// Chat tokens
|
|
247
241
|
export const chatPromptBackground = white;
|
|
@@ -249,7 +243,7 @@ export const chatPromptBorderStart = gray10;
|
|
|
249
243
|
export const chatPromptBorderEnd = rgba(gray10, 0);
|
|
250
244
|
export const chatBubbleUser = gray20;
|
|
251
245
|
export const chatBubbleAgent = white;
|
|
252
|
-
export const
|
|
246
|
+
export const chatBubbleBorder = gray20;
|
|
253
247
|
export const chatAvatarBot = gray60;
|
|
254
248
|
export const chatAvatarAgent = gray80;
|
|
255
249
|
export const chatAvatarUser = blue60;
|
package/src/g100.js
CHANGED
|
@@ -11,14 +11,11 @@ import {
|
|
|
11
11
|
blue60,
|
|
12
12
|
blue70,
|
|
13
13
|
blue80,
|
|
14
|
-
blue100,
|
|
15
14
|
|
|
16
15
|
// Gray
|
|
17
16
|
gray10,
|
|
18
17
|
gray10Hover,
|
|
19
|
-
gray20,
|
|
20
18
|
gray30,
|
|
21
|
-
gray30Hover,
|
|
22
19
|
gray40,
|
|
23
20
|
gray50,
|
|
24
21
|
gray60,
|
|
@@ -211,43 +208,37 @@ export const toggleOff = gray60;
|
|
|
211
208
|
export const shadow = rgba(black, 0.8);
|
|
212
209
|
|
|
213
210
|
//// AI - Experimental (Use at your own risk)
|
|
214
|
-
// Slug tokens
|
|
215
|
-
export const slugBackground = gray30;
|
|
216
|
-
export const slugGradient = `${gray50} linear-gradient(135deg, ${gray10} 0%, rgba(${white}, 0) 100%)`;
|
|
217
|
-
export const slugBackgroundHover = gray20;
|
|
218
|
-
export const slugGradientHover = `${gray40} linear-gradient(135deg, ${white} 0%, rgba(${white}, 0) 100%)`;
|
|
219
|
-
export const slugHollowHover = gray30Hover;
|
|
220
|
-
|
|
221
211
|
//// Phase 2 - new \\\\
|
|
222
212
|
// Shared
|
|
223
|
-
export const aiInnerShadow = rgba(blue50, 0.
|
|
224
|
-
export const
|
|
213
|
+
export const aiInnerShadow = rgba(blue50, 0.16);
|
|
214
|
+
export const aiAuraStartSm = rgba(blue50, 0.16);
|
|
225
215
|
export const aiAuraStart = rgba(blue50, 0.1);
|
|
226
216
|
export const aiAuraEnd = rgba(black, 0);
|
|
227
217
|
export const aiBorderStrong = blue40;
|
|
228
|
-
export const aiBorderStart =
|
|
229
|
-
export const aiBorderEnd =
|
|
230
|
-
export const aiDropShadow = rgba(
|
|
218
|
+
export const aiBorderStart = rgba(blue30, 0.36);
|
|
219
|
+
export const aiBorderEnd = blue50;
|
|
220
|
+
export const aiDropShadow = rgba(black, 0.28);
|
|
231
221
|
export const aiAuraHoverBackground = layerHover01;
|
|
232
222
|
export const aiAuraHoverStart = rgba(blue50, 0.4);
|
|
233
223
|
export const aiAuraHoverEnd = rgba(black, 0);
|
|
234
224
|
|
|
235
225
|
// AI Popover
|
|
236
|
-
export const
|
|
237
|
-
export const
|
|
226
|
+
export const aiPopoverBackground = gray100;
|
|
227
|
+
export const aiPopoverShadowOuter01 = rgba(black, 0.12);
|
|
228
|
+
export const aiPopoverShadowOuter02 = rgba(black, 0.08);
|
|
238
229
|
|
|
239
230
|
// AI skeleton
|
|
240
|
-
export const aiSkeletonBackground =
|
|
241
|
-
export const aiSkeletonElementBackground =
|
|
231
|
+
export const aiSkeletonBackground = rgba(blue40, 0.5);
|
|
232
|
+
export const aiSkeletonElementBackground = rgba(blue40, 0.3);
|
|
242
233
|
|
|
243
234
|
// AI Modal tokens
|
|
244
|
-
export const aiOverlay = rgba(
|
|
235
|
+
export const aiOverlay = rgba(black, 0.5);
|
|
245
236
|
|
|
246
237
|
// One off tokens for caret
|
|
247
|
-
export const aiPopoverCaretCenter = '#
|
|
248
|
-
export const aiPopoverCaretBottom =
|
|
249
|
-
export const aiPopoverCaretBottomBackgroundActions = '#
|
|
250
|
-
export const aiPopoverCaretBottomBackground = '#
|
|
238
|
+
export const aiPopoverCaretCenter = '#4870B5';
|
|
239
|
+
export const aiPopoverCaretBottom = blue50;
|
|
240
|
+
export const aiPopoverCaretBottomBackgroundActions = '#1E283A';
|
|
241
|
+
export const aiPopoverCaretBottomBackground = '#202D45';
|
|
251
242
|
|
|
252
243
|
// Chat tokens
|
|
253
244
|
export const chatPromptBackground = gray100;
|
|
@@ -255,7 +246,7 @@ export const chatPromptBorderStart = gray90;
|
|
|
255
246
|
export const chatPromptBorderEnd = rgba(gray90, 0);
|
|
256
247
|
export const chatBubbleUser = gray80;
|
|
257
248
|
export const chatBubbleAgent = gray90;
|
|
258
|
-
export const
|
|
249
|
+
export const chatBubbleBorder = gray70;
|
|
259
250
|
export const chatAvatarBot = gray50;
|
|
260
251
|
export const chatAvatarAgent = gray30;
|
|
261
252
|
export const chatAvatarUser = blue50;
|
package/src/g90.js
CHANGED
|
@@ -10,15 +10,11 @@ import {
|
|
|
10
10
|
blue40,
|
|
11
11
|
blue60,
|
|
12
12
|
blue70,
|
|
13
|
-
blue80,
|
|
14
|
-
blue100,
|
|
15
13
|
|
|
16
14
|
// Gray
|
|
17
15
|
gray10,
|
|
18
16
|
gray10Hover,
|
|
19
|
-
gray20,
|
|
20
17
|
gray30,
|
|
21
|
-
gray30Hover,
|
|
22
18
|
gray40,
|
|
23
19
|
gray50,
|
|
24
20
|
gray50Hover,
|
|
@@ -212,43 +208,37 @@ export const toggleOff = gray50;
|
|
|
212
208
|
export const shadow = rgba(black, 0.8);
|
|
213
209
|
|
|
214
210
|
//// AI - Experimental (Use at your own risk)
|
|
215
|
-
// Slug tokens
|
|
216
|
-
export const slugBackground = gray30;
|
|
217
|
-
export const slugGradient = `${gray50} linear-gradient(135deg, ${gray10} 0%, rgba(${white}, 0) 100%)`;
|
|
218
|
-
export const slugBackgroundHover = gray20;
|
|
219
|
-
export const slugGradientHover = `${gray40} linear-gradient(135deg, ${white} 0%, rgba(${white}, 0) 100%)`;
|
|
220
|
-
export const slugHollowHover = gray30Hover;
|
|
221
|
-
|
|
222
211
|
//// Phase 2 - new \\\\
|
|
223
212
|
// Shared
|
|
224
|
-
export const aiInnerShadow = rgba(blue50, 0.
|
|
225
|
-
export const
|
|
213
|
+
export const aiInnerShadow = rgba(blue50, 0.16);
|
|
214
|
+
export const aiAuraStartSm = rgba(blue50, 0.16);
|
|
226
215
|
export const aiAuraStart = rgba(blue50, 0.1);
|
|
227
216
|
export const aiAuraEnd = rgba(black, 0);
|
|
228
217
|
export const aiBorderStrong = blue40;
|
|
229
|
-
export const aiBorderStart =
|
|
230
|
-
export const aiBorderEnd =
|
|
231
|
-
export const aiDropShadow = rgba(
|
|
218
|
+
export const aiBorderStart = rgba(blue30, 0.36);
|
|
219
|
+
export const aiBorderEnd = blue50;
|
|
220
|
+
export const aiDropShadow = rgba(black, 0.28);
|
|
232
221
|
export const aiAuraHoverBackground = layerHover01;
|
|
233
222
|
export const aiAuraHoverStart = rgba(blue50, 0.4);
|
|
234
223
|
export const aiAuraHoverEnd = rgba(black, 0);
|
|
235
224
|
|
|
236
225
|
// AI Popover
|
|
237
|
-
export const
|
|
238
|
-
export const
|
|
226
|
+
export const aiPopoverBackground = gray100;
|
|
227
|
+
export const aiPopoverShadowOuter01 = rgba(black, 0.12);
|
|
228
|
+
export const aiPopoverShadowOuter02 = rgba(black, 0.08);
|
|
239
229
|
|
|
240
230
|
// AI skeleton
|
|
241
|
-
export const aiSkeletonBackground =
|
|
242
|
-
export const aiSkeletonElementBackground =
|
|
231
|
+
export const aiSkeletonBackground = rgba(blue40, 0.5);
|
|
232
|
+
export const aiSkeletonElementBackground = rgba(blue40, 0.3);
|
|
243
233
|
|
|
244
234
|
// AI Modal tokens
|
|
245
|
-
export const aiOverlay = rgba(
|
|
235
|
+
export const aiOverlay = rgba(black, 0.5);
|
|
246
236
|
|
|
247
237
|
// One off tokens for caret
|
|
248
|
-
export const aiPopoverCaretCenter = '#
|
|
249
|
-
export const aiPopoverCaretBottom =
|
|
250
|
-
export const aiPopoverCaretBottomBackgroundActions = '#
|
|
251
|
-
export const aiPopoverCaretBottomBackground = '#
|
|
238
|
+
export const aiPopoverCaretCenter = '#4870B5';
|
|
239
|
+
export const aiPopoverCaretBottom = blue50;
|
|
240
|
+
export const aiPopoverCaretBottomBackgroundActions = '#1E283A';
|
|
241
|
+
export const aiPopoverCaretBottomBackground = '#202D45';
|
|
252
242
|
|
|
253
243
|
// Chat tokens
|
|
254
244
|
export const chatPromptBackground = gray100;
|
|
@@ -256,7 +246,7 @@ export const chatPromptBorderStart = gray90;
|
|
|
256
246
|
export const chatPromptBorderEnd = rgba(gray90, 0);
|
|
257
247
|
export const chatBubbleUser = gray80;
|
|
258
248
|
export const chatBubbleAgent = gray90;
|
|
259
|
-
export const
|
|
249
|
+
export const chatBubbleBorder = gray70;
|
|
260
250
|
export const chatAvatarBot = gray50;
|
|
261
251
|
export const chatAvatarAgent = gray30;
|
|
262
252
|
export const chatAvatarUser = blue50;
|
|
@@ -345,18 +345,14 @@ export const ai = TokenGroup.create({
|
|
|
345
345
|
name: 'AI',
|
|
346
346
|
properties: ['background'],
|
|
347
347
|
tokens: [
|
|
348
|
-
'slug-background',
|
|
349
|
-
'slug-gradient',
|
|
350
|
-
'slug-background-hover',
|
|
351
|
-
'slug-gradient-hover',
|
|
352
|
-
'slug-hollow-hover',
|
|
353
348
|
// Phase 2
|
|
349
|
+
'ai-popover-background',
|
|
354
350
|
'ai-popover-shadow-outer-01',
|
|
355
351
|
'ai-popover-shadow-outer-02',
|
|
356
352
|
// Linear gradient refactor
|
|
357
353
|
'ai-inner-shadow',
|
|
354
|
+
'ai-aura-start-sm',
|
|
358
355
|
'ai-aura-start',
|
|
359
|
-
'ai-aura-start-table',
|
|
360
356
|
'ai-aura-end',
|
|
361
357
|
'ai-aura-hover-background',
|
|
362
358
|
'ai-aura-hover-start',
|
|
@@ -379,7 +375,7 @@ export const ai = TokenGroup.create({
|
|
|
379
375
|
'chat-prompt-border-end',
|
|
380
376
|
'chat-bubble-user',
|
|
381
377
|
'chat-bubble-agent',
|
|
382
|
-
'chat-bubble-
|
|
378
|
+
'chat-bubble-border',
|
|
383
379
|
'chat-avatar-bot',
|
|
384
380
|
'chat-avatar-agent',
|
|
385
381
|
'chat-avatar-user',
|
package/src/white.js
CHANGED
|
@@ -205,30 +205,24 @@ export const toggleOff = gray50;
|
|
|
205
205
|
export const shadow = 'rgba(0, 0, 0, 0.3)';
|
|
206
206
|
|
|
207
207
|
//// AI - Experimental (Use at your own risk)
|
|
208
|
-
// Slug tokens
|
|
209
|
-
export const slugBackground = gray70;
|
|
210
|
-
export const slugGradient = `${gray100} linear-gradient(135deg, ${gray40} 0%, rgba(${white}, 0) 100%)`;
|
|
211
|
-
export const slugBackgroundHover = gray60;
|
|
212
|
-
export const slugGradientHover = `${gray100} linear-gradient(135deg, ${gray20Hover} 0%, rgba(${white}, 0) 100%)`;
|
|
213
|
-
export const slugHollowHover = gray80Hover;
|
|
214
|
-
|
|
215
208
|
//// Phase 2 - new \\\\
|
|
216
209
|
// Shared
|
|
217
|
-
export const aiInnerShadow = rgba(blue50, 0.
|
|
218
|
-
export const
|
|
210
|
+
export const aiInnerShadow = rgba(blue50, 0.1);
|
|
211
|
+
export const aiAuraStartSm = rgba(blue50, 0.16);
|
|
219
212
|
export const aiAuraStart = rgba(blue50, 0.1);
|
|
220
213
|
export const aiAuraEnd = rgba(white, 0);
|
|
221
214
|
export const aiBorderStrong = blue50;
|
|
222
|
-
export const aiBorderStart =
|
|
223
|
-
export const aiBorderEnd =
|
|
224
|
-
export const aiDropShadow = rgba(blue60, 0.
|
|
215
|
+
export const aiBorderStart = rgba(blue30, 0.64);
|
|
216
|
+
export const aiBorderEnd = blue40;
|
|
217
|
+
export const aiDropShadow = rgba(blue60, 0.1);
|
|
225
218
|
export const aiAuraHoverBackground = blue10;
|
|
226
|
-
export const aiAuraHoverStart = rgba(blue50, 0.
|
|
219
|
+
export const aiAuraHoverStart = rgba(blue50, 0.32);
|
|
227
220
|
export const aiAuraHoverEnd = rgba(white, 0);
|
|
228
221
|
|
|
229
222
|
// AI Popover
|
|
230
|
-
export const
|
|
231
|
-
export const
|
|
223
|
+
export const aiPopoverBackground = white;
|
|
224
|
+
export const aiPopoverShadowOuter01 = rgba(blue70, 0.06);
|
|
225
|
+
export const aiPopoverShadowOuter02 = rgba(black, 0.04);
|
|
232
226
|
|
|
233
227
|
// AI skeleton
|
|
234
228
|
export const aiSkeletonBackground = blue20;
|
|
@@ -238,10 +232,10 @@ export const aiSkeletonElementBackground = blue50;
|
|
|
238
232
|
export const aiOverlay = rgba(blue100, 0.5);
|
|
239
233
|
|
|
240
234
|
// One off tokens for caret
|
|
241
|
-
export const aiPopoverCaretCenter = '#
|
|
242
|
-
export const aiPopoverCaretBottom =
|
|
243
|
-
export const aiPopoverCaretBottomBackgroundActions = '#
|
|
244
|
-
export const aiPopoverCaretBottomBackground = '#
|
|
235
|
+
export const aiPopoverCaretCenter = '#A0C3FF';
|
|
236
|
+
export const aiPopoverCaretBottom = blue40;
|
|
237
|
+
export const aiPopoverCaretBottomBackgroundActions = '#E9EFFA';
|
|
238
|
+
export const aiPopoverCaretBottomBackground = '#EAF1FF';
|
|
245
239
|
|
|
246
240
|
// Chat tokens
|
|
247
241
|
export const chatPromptBackground = white;
|
|
@@ -249,7 +243,7 @@ export const chatPromptBorderStart = gray10;
|
|
|
249
243
|
export const chatPromptBorderEnd = rgba(gray10, 0);
|
|
250
244
|
export const chatBubbleUser = gray20;
|
|
251
245
|
export const chatBubbleAgent = white;
|
|
252
|
-
export const
|
|
246
|
+
export const chatBubbleBorder = gray20;
|
|
253
247
|
export const chatAvatarBot = gray60;
|
|
254
248
|
export const chatAvatarAgent = gray80;
|
|
255
249
|
export const chatAvatarUser = blue60;
|