@carbon/themes 11.32.0 → 11.33.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/README.md +9 -0
- package/es/index.js +224 -224
- package/lib/index.js +236 -245
- package/package.json +9 -7
- package/scss/generated/_tag-tokens.scss +82 -12
- package/scss/generated/_themes.scss +64 -100
- package/scss/generated/_tokens.scss +38 -85
- package/src/component-tokens/tag/tokens.js +108 -15
- package/src/g10.js +19 -32
- package/src/g100.js +19 -31
- package/src/g90.js +19 -31
- package/src/tokens/components.js +10 -0
- package/src/tokens/v11TokenGroup.js +15 -23
- package/src/white.js +19 -32
- package/telemetry.yml +7 -0
- package/umd/index.js +236 -245
|
@@ -1,52 +1,75 @@
|
|
|
1
1
|
import {
|
|
2
2
|
red20,
|
|
3
|
+
red40,
|
|
4
|
+
red50,
|
|
3
5
|
red70,
|
|
4
6
|
red80,
|
|
5
7
|
red20Hover,
|
|
6
8
|
red70Hover,
|
|
7
9
|
magenta20,
|
|
10
|
+
magenta40,
|
|
11
|
+
magenta50,
|
|
8
12
|
magenta70,
|
|
9
13
|
magenta80,
|
|
10
14
|
magenta20Hover,
|
|
11
15
|
magenta70Hover,
|
|
12
16
|
purple20,
|
|
17
|
+
purple40,
|
|
18
|
+
purple50,
|
|
13
19
|
purple70,
|
|
14
20
|
purple80,
|
|
15
21
|
purple20Hover,
|
|
16
22
|
purple70Hover,
|
|
17
23
|
blue20,
|
|
24
|
+
blue40,
|
|
25
|
+
blue50,
|
|
18
26
|
blue70,
|
|
19
27
|
blue80,
|
|
20
28
|
blue20Hover,
|
|
21
29
|
blue70Hover,
|
|
22
30
|
cyan20,
|
|
31
|
+
cyan40,
|
|
32
|
+
cyan50,
|
|
23
33
|
cyan70,
|
|
24
34
|
cyan80,
|
|
25
35
|
cyan20Hover,
|
|
26
36
|
cyan70Hover,
|
|
27
37
|
teal20,
|
|
38
|
+
teal40,
|
|
39
|
+
teal50,
|
|
28
40
|
teal70,
|
|
29
41
|
teal80,
|
|
30
42
|
teal20Hover,
|
|
31
43
|
teal70Hover,
|
|
32
44
|
green20,
|
|
45
|
+
green40,
|
|
46
|
+
green50,
|
|
33
47
|
green70,
|
|
34
48
|
green80,
|
|
35
49
|
green20Hover,
|
|
36
50
|
green70Hover,
|
|
51
|
+
gray10,
|
|
37
52
|
gray20,
|
|
53
|
+
gray40,
|
|
54
|
+
gray50,
|
|
38
55
|
gray70,
|
|
39
|
-
|
|
56
|
+
gray100,
|
|
40
57
|
gray20Hover,
|
|
41
58
|
gray70Hover,
|
|
59
|
+
warmGray10,
|
|
42
60
|
warmGray20,
|
|
61
|
+
warmGray40,
|
|
62
|
+
warmGray50,
|
|
43
63
|
warmGray70,
|
|
44
|
-
|
|
64
|
+
warmGray100,
|
|
45
65
|
warmGray20Hover,
|
|
46
66
|
warmGray70Hover,
|
|
67
|
+
coolGray10,
|
|
47
68
|
coolGray20,
|
|
69
|
+
coolGray40,
|
|
70
|
+
coolGray50,
|
|
48
71
|
coolGray70,
|
|
49
|
-
|
|
72
|
+
coolGray100,
|
|
50
73
|
coolGray20Hover,
|
|
51
74
|
coolGray70Hover,
|
|
52
75
|
} from '@carbon/colors';
|
|
@@ -204,10 +227,10 @@ export const tagBackgroundGray = {
|
|
|
204
227
|
};
|
|
205
228
|
|
|
206
229
|
export const tagColorGray = {
|
|
207
|
-
whiteTheme:
|
|
208
|
-
g10:
|
|
209
|
-
g90:
|
|
210
|
-
g100:
|
|
230
|
+
whiteTheme: gray100,
|
|
231
|
+
g10: gray100,
|
|
232
|
+
g90: gray10,
|
|
233
|
+
g100: gray10,
|
|
211
234
|
};
|
|
212
235
|
|
|
213
236
|
export const tagHoverGray = {
|
|
@@ -225,10 +248,10 @@ export const tagBackgroundCoolGray = {
|
|
|
225
248
|
};
|
|
226
249
|
|
|
227
250
|
export const tagColorCoolGray = {
|
|
228
|
-
whiteTheme:
|
|
229
|
-
g10:
|
|
230
|
-
g90:
|
|
231
|
-
g100:
|
|
251
|
+
whiteTheme: coolGray100,
|
|
252
|
+
g10: coolGray100,
|
|
253
|
+
g90: coolGray10,
|
|
254
|
+
g100: coolGray10,
|
|
232
255
|
};
|
|
233
256
|
|
|
234
257
|
export const tagHoverCoolGray = {
|
|
@@ -246,10 +269,10 @@ export const tagBackgroundWarmGray = {
|
|
|
246
269
|
};
|
|
247
270
|
|
|
248
271
|
export const tagColorWarmGray = {
|
|
249
|
-
whiteTheme:
|
|
250
|
-
g10:
|
|
251
|
-
g90:
|
|
252
|
-
g100:
|
|
272
|
+
whiteTheme: warmGray100,
|
|
273
|
+
g10: warmGray100,
|
|
274
|
+
g90: warmGray10,
|
|
275
|
+
g100: warmGray10,
|
|
253
276
|
};
|
|
254
277
|
|
|
255
278
|
export const tagHoverWarmGray = {
|
|
@@ -258,3 +281,73 @@ export const tagHoverWarmGray = {
|
|
|
258
281
|
g90: warmGray70Hover,
|
|
259
282
|
g100: warmGray70Hover,
|
|
260
283
|
};
|
|
284
|
+
|
|
285
|
+
export const tagBorderRed = {
|
|
286
|
+
whiteTheme: red40,
|
|
287
|
+
g10: red40,
|
|
288
|
+
g90: red50,
|
|
289
|
+
g100: red50,
|
|
290
|
+
};
|
|
291
|
+
|
|
292
|
+
export const tagBorderBlue = {
|
|
293
|
+
whiteTheme: blue40,
|
|
294
|
+
g10: blue40,
|
|
295
|
+
g90: blue50,
|
|
296
|
+
g100: blue50,
|
|
297
|
+
};
|
|
298
|
+
|
|
299
|
+
export const tagBorderCyan = {
|
|
300
|
+
whiteTheme: cyan40,
|
|
301
|
+
g10: cyan40,
|
|
302
|
+
g90: cyan50,
|
|
303
|
+
g100: cyan50,
|
|
304
|
+
};
|
|
305
|
+
|
|
306
|
+
export const tagBorderTeal = {
|
|
307
|
+
whiteTheme: teal40,
|
|
308
|
+
g10: teal40,
|
|
309
|
+
g90: teal50,
|
|
310
|
+
g100: teal50,
|
|
311
|
+
};
|
|
312
|
+
|
|
313
|
+
export const tagBorderGreen = {
|
|
314
|
+
whiteTheme: green40,
|
|
315
|
+
g10: green40,
|
|
316
|
+
g90: green50,
|
|
317
|
+
g100: green50,
|
|
318
|
+
};
|
|
319
|
+
|
|
320
|
+
export const tagBorderMagenta = {
|
|
321
|
+
whiteTheme: magenta40,
|
|
322
|
+
g10: magenta40,
|
|
323
|
+
g90: magenta50,
|
|
324
|
+
g100: magenta50,
|
|
325
|
+
};
|
|
326
|
+
|
|
327
|
+
export const tagBorderPurple = {
|
|
328
|
+
whiteTheme: purple40,
|
|
329
|
+
g10: purple40,
|
|
330
|
+
g90: purple50,
|
|
331
|
+
g100: purple50,
|
|
332
|
+
};
|
|
333
|
+
|
|
334
|
+
export const tagBorderGray = {
|
|
335
|
+
whiteTheme: gray40,
|
|
336
|
+
g10: gray40,
|
|
337
|
+
g90: gray50,
|
|
338
|
+
g100: gray50,
|
|
339
|
+
};
|
|
340
|
+
|
|
341
|
+
export const tagBorderCoolGray = {
|
|
342
|
+
whiteTheme: coolGray40,
|
|
343
|
+
g10: coolGray40,
|
|
344
|
+
g90: coolGray50,
|
|
345
|
+
g100: coolGray50,
|
|
346
|
+
};
|
|
347
|
+
|
|
348
|
+
export const tagBorderWarmGray = {
|
|
349
|
+
whiteTheme: warmGray40,
|
|
350
|
+
g10: warmGray40,
|
|
351
|
+
g90: warmGray50,
|
|
352
|
+
g100: warmGray50,
|
|
353
|
+
};
|
package/src/g10.js
CHANGED
|
@@ -9,16 +9,12 @@ import {
|
|
|
9
9
|
// Blue
|
|
10
10
|
blue10,
|
|
11
11
|
blue20,
|
|
12
|
-
blue20Hover,
|
|
13
12
|
blue30,
|
|
14
13
|
blue40,
|
|
15
14
|
blue60,
|
|
16
15
|
blue70,
|
|
17
16
|
blue100,
|
|
18
17
|
|
|
19
|
-
// CoolGray
|
|
20
|
-
coolGray10,
|
|
21
|
-
|
|
22
18
|
// Gray
|
|
23
19
|
gray10,
|
|
24
20
|
gray10Hover,
|
|
@@ -230,41 +226,22 @@ export const aiAuraHoverBackground = blue10;
|
|
|
230
226
|
export const aiAuraHoverStart = rgba(blue50, 0.4);
|
|
231
227
|
export const aiAuraHoverEnd = rgba(white, 0);
|
|
232
228
|
|
|
233
|
-
//
|
|
234
|
-
export const
|
|
235
|
-
export const
|
|
229
|
+
// AI Popover
|
|
230
|
+
export const aiPopoverShadowOuter01 = rgba(blue70, 0.25);
|
|
231
|
+
export const aiPopoverShadowOuter02 = rgba(black, 0.1);
|
|
236
232
|
|
|
237
233
|
// AI skeleton
|
|
238
|
-
export const aiSkeletonBackground =
|
|
239
|
-
export const aiSkeletonElementBackground =
|
|
234
|
+
export const aiSkeletonBackground = blue20;
|
|
235
|
+
export const aiSkeletonElementBackground = blue50;
|
|
240
236
|
|
|
241
237
|
// AI Modal tokens
|
|
242
238
|
export const aiOverlay = rgba(blue100, 0.5);
|
|
243
239
|
|
|
244
|
-
//// Not used in phase 2 / possibly remove?
|
|
245
|
-
export const slugCalloutGradientTop = rgba(gray10, 0.85);
|
|
246
|
-
export const slugCalloutGradientBottom = rgba(gray20, 0.85);
|
|
247
|
-
export const aiGradientStart01 = rgba(coolGray10, 0.5);
|
|
248
|
-
export const aiGradientStart02 = rgba(blue10, 0.5);
|
|
249
|
-
export const aiGradientEnd = rgba(white, 0);
|
|
250
|
-
export const slugCalloutAuraStart = aiAuraStart;
|
|
251
|
-
export const slugCalloutAuraEnd = aiAuraEnd;
|
|
252
|
-
export const slugCalloutGradientTopHover = rgba(gray20, 0.55);
|
|
253
|
-
export const slugCalloutGradientBottomHover = rgba(gray20Hover, 0.55);
|
|
254
|
-
export const slugCalloutAuraStartHover01 = rgba(white, 0.5);
|
|
255
|
-
export const slugCalloutAuraEndHover01 = rgba(white, 0);
|
|
256
|
-
export const slugCalloutAuraStartHover02 = rgba(blue20, 0.5);
|
|
257
|
-
export const slugCalloutAuraEndHover02 = rgba(white, 0);
|
|
258
|
-
export const slugCalloutGradientTopSelected = rgba(gray20, 0.85);
|
|
259
|
-
export const slugCalloutGradientBottomSelected = rgba(gray20Hover, 0.85);
|
|
260
|
-
export const slugCalloutAuraStartSelected = rgba(blue10, 0.6);
|
|
261
|
-
export const slugCalloutAuraEndSelected = rgba(white, 0);
|
|
262
|
-
|
|
263
240
|
// One off tokens for caret
|
|
264
|
-
export const
|
|
265
|
-
export const
|
|
266
|
-
export const
|
|
267
|
-
export const
|
|
241
|
+
export const aiPopoverCaretCenter = '#A7C7FF';
|
|
242
|
+
export const aiPopoverCaretBottom = blue20;
|
|
243
|
+
export const aiPopoverCaretBottomBackgroundActions = '#D2DCEE';
|
|
244
|
+
export const aiPopoverCaretBottomBackground = '#CCDBF8';
|
|
268
245
|
|
|
269
246
|
// Chat tokens
|
|
270
247
|
export const chatPromptBackground = white;
|
|
@@ -276,6 +253,16 @@ export const chatBubbleAgentBorder = gray20;
|
|
|
276
253
|
export const chatAvatarBot = gray60;
|
|
277
254
|
export const chatAvatarAgent = gray80;
|
|
278
255
|
export const chatAvatarUser = blue60;
|
|
256
|
+
export const chatShellBackground = white;
|
|
257
|
+
export const chatHeaderBackground = white;
|
|
258
|
+
|
|
259
|
+
// Chat button tokens
|
|
260
|
+
export const chatButton = linkPrimary;
|
|
261
|
+
export const chatButtonHover = backgroundHover;
|
|
262
|
+
export const chatButtonTextHover = linkPrimaryHover;
|
|
263
|
+
export const chatButtonActive = backgroundActive;
|
|
264
|
+
export const chatButtonSelected = backgroundSelected;
|
|
265
|
+
export const chatButtonTextSelected = textSecondary;
|
|
279
266
|
|
|
280
267
|
export {
|
|
281
268
|
// Type
|
package/src/g100.js
CHANGED
|
@@ -7,12 +7,9 @@
|
|
|
7
7
|
|
|
8
8
|
import {
|
|
9
9
|
// Blue
|
|
10
|
-
blue20,
|
|
11
|
-
blue20Hover,
|
|
12
10
|
blue40,
|
|
13
11
|
blue60,
|
|
14
12
|
blue70,
|
|
15
|
-
blue70Hover,
|
|
16
13
|
blue80,
|
|
17
14
|
blue100,
|
|
18
15
|
|
|
@@ -235,41 +232,22 @@ export const aiAuraHoverBackground = layerHover01;
|
|
|
235
232
|
export const aiAuraHoverStart = rgba(blue50, 0.4);
|
|
236
233
|
export const aiAuraHoverEnd = rgba(black, 0);
|
|
237
234
|
|
|
238
|
-
//
|
|
239
|
-
export const
|
|
240
|
-
export const
|
|
235
|
+
// AI Popover
|
|
236
|
+
export const aiPopoverShadowOuter01 = rgba(blue80, 0.25);
|
|
237
|
+
export const aiPopoverShadowOuter02 = rgba(black, 0.65);
|
|
241
238
|
|
|
242
239
|
// AI skeleton
|
|
243
|
-
export const aiSkeletonBackground =
|
|
244
|
-
export const aiSkeletonElementBackground =
|
|
240
|
+
export const aiSkeletonBackground = blue30;
|
|
241
|
+
export const aiSkeletonElementBackground = blue80;
|
|
245
242
|
|
|
246
243
|
// AI Modal tokens
|
|
247
244
|
export const aiOverlay = rgba(blue100, 0.5);
|
|
248
245
|
|
|
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
|
-
export const aiGradientStart01 = rgba(blue20, 0.2);
|
|
253
|
-
export const aiGradientStart02 = 'transparent';
|
|
254
|
-
export const aiGradientEnd = 'rgba(38, 38, 38, 0)';
|
|
255
|
-
export const slugCalloutAuraStart = aiAuraStart;
|
|
256
|
-
export const slugCalloutAuraEnd = aiAuraEnd;
|
|
257
|
-
export const slugCalloutGradientTopHover = rgba(gray80, 0.55);
|
|
258
|
-
export const slugCalloutGradientBottomHover = rgba(gray80Hover, 0.55);
|
|
259
|
-
export const slugCalloutAuraStartHover01 = rgba(blue20Hover, 0.3);
|
|
260
|
-
export const slugCalloutAuraEndHover01 = rgba(gray100, 0);
|
|
261
|
-
export const slugCalloutAuraStartHover02 = 'transparent';
|
|
262
|
-
export const slugCalloutAuraEndHover02 = 'transparent';
|
|
263
|
-
export const slugCalloutGradientTopSelected = rgba(gray80, 0.85);
|
|
264
|
-
export const slugCalloutGradientBottomSelected = rgba(gray80Hover, 0.85);
|
|
265
|
-
export const slugCalloutAuraStartSelected = rgba(blue20, 0.2);
|
|
266
|
-
export const slugCalloutAuraEndSelected = rgba(gray100, 0);
|
|
267
|
-
|
|
268
246
|
// One off tokens for caret
|
|
269
|
-
export const
|
|
270
|
-
export const
|
|
271
|
-
export const
|
|
272
|
-
export const
|
|
247
|
+
export const aiPopoverCaretCenter = '#3F68AF';
|
|
248
|
+
export const aiPopoverCaretBottom = '#3D4655';
|
|
249
|
+
export const aiPopoverCaretBottomBackgroundActions = '#192436';
|
|
250
|
+
export const aiPopoverCaretBottomBackground = '#213250';
|
|
273
251
|
|
|
274
252
|
// Chat tokens
|
|
275
253
|
export const chatPromptBackground = gray100;
|
|
@@ -281,6 +259,16 @@ export const chatBubbleAgentBorder = gray70;
|
|
|
281
259
|
export const chatAvatarBot = gray50;
|
|
282
260
|
export const chatAvatarAgent = gray30;
|
|
283
261
|
export const chatAvatarUser = blue50;
|
|
262
|
+
export const chatShellBackground = gray90;
|
|
263
|
+
export const chatHeaderBackground = gray90;
|
|
264
|
+
|
|
265
|
+
// Chat button tokens
|
|
266
|
+
export const chatButton = linkPrimary;
|
|
267
|
+
export const chatButtonHover = backgroundHover;
|
|
268
|
+
export const chatButtonTextHover = linkPrimaryHover;
|
|
269
|
+
export const chatButtonActive = backgroundActive;
|
|
270
|
+
export const chatButtonSelected = backgroundSelected;
|
|
271
|
+
export const chatButtonTextSelected = textSecondary;
|
|
284
272
|
|
|
285
273
|
export {
|
|
286
274
|
// Type
|
package/src/g90.js
CHANGED
|
@@ -7,12 +7,9 @@
|
|
|
7
7
|
|
|
8
8
|
import {
|
|
9
9
|
// Blue
|
|
10
|
-
blue20,
|
|
11
|
-
blue20Hover,
|
|
12
10
|
blue40,
|
|
13
11
|
blue60,
|
|
14
12
|
blue70,
|
|
15
|
-
blue70Hover,
|
|
16
13
|
blue80,
|
|
17
14
|
blue100,
|
|
18
15
|
|
|
@@ -236,41 +233,22 @@ export const aiAuraHoverBackground = layerHover01;
|
|
|
236
233
|
export const aiAuraHoverStart = rgba(blue50, 0.4);
|
|
237
234
|
export const aiAuraHoverEnd = rgba(black, 0);
|
|
238
235
|
|
|
239
|
-
//
|
|
240
|
-
export const
|
|
241
|
-
export const
|
|
236
|
+
// AI Popover
|
|
237
|
+
export const aiPopoverShadowOuter01 = rgba(blue80, 0.25);
|
|
238
|
+
export const aiPopoverShadowOuter02 = rgba(black, 0.65);
|
|
242
239
|
|
|
243
240
|
// AI skeleton
|
|
244
|
-
export const aiSkeletonBackground =
|
|
245
|
-
export const aiSkeletonElementBackground =
|
|
241
|
+
export const aiSkeletonBackground = blue30;
|
|
242
|
+
export const aiSkeletonElementBackground = blue80;
|
|
246
243
|
|
|
247
244
|
// AI Modal tokens
|
|
248
245
|
export const aiOverlay = rgba(blue100, 0.5);
|
|
249
246
|
|
|
250
|
-
//// Not used in phase 2 / possibly remove?
|
|
251
|
-
export const slugCalloutGradientTop = rgba(gray100, 0.85);
|
|
252
|
-
export const slugCalloutGradientBottom = rgba(gray90, 0.85);
|
|
253
|
-
export const aiGradientStart01 = rgba(blue20, 0.2);
|
|
254
|
-
export const aiGradientStart02 = 'transparent';
|
|
255
|
-
export const aiGradientEnd = 'rgba(38, 38, 38, 0)';
|
|
256
|
-
export const slugCalloutAuraStart = aiAuraStart;
|
|
257
|
-
export const slugCalloutAuraEnd = aiAuraEnd;
|
|
258
|
-
export const slugCalloutGradientTopHover = rgba(gray80, 0.55);
|
|
259
|
-
export const slugCalloutGradientBottomHover = rgba(gray80Hover, 0.55);
|
|
260
|
-
export const slugCalloutAuraStartHover01 = rgba(blue20Hover, 0.3);
|
|
261
|
-
export const slugCalloutAuraEndHover01 = rgba(gray100, 0);
|
|
262
|
-
export const slugCalloutAuraStartHover02 = 'transparent';
|
|
263
|
-
export const slugCalloutAuraEndHover02 = 'transparent';
|
|
264
|
-
export const slugCalloutGradientTopSelected = rgba(gray80, 0.85);
|
|
265
|
-
export const slugCalloutGradientBottomSelected = rgba(gray80Hover, 0.85);
|
|
266
|
-
export const slugCalloutAuraStartSelected = rgba(blue20, 0.2);
|
|
267
|
-
export const slugCalloutAuraEndSelected = rgba(gray100, 0);
|
|
268
|
-
|
|
269
247
|
// One off tokens for caret
|
|
270
|
-
export const
|
|
271
|
-
export const
|
|
272
|
-
export const
|
|
273
|
-
export const
|
|
248
|
+
export const aiPopoverCaretCenter = '#456FB5';
|
|
249
|
+
export const aiPopoverCaretBottom = '#465060';
|
|
250
|
+
export const aiPopoverCaretBottomBackgroundActions = '#253042';
|
|
251
|
+
export const aiPopoverCaretBottomBackground = '#2D3F5C';
|
|
274
252
|
|
|
275
253
|
// Chat tokens
|
|
276
254
|
export const chatPromptBackground = gray100;
|
|
@@ -282,6 +260,16 @@ export const chatBubbleAgentBorder = gray70;
|
|
|
282
260
|
export const chatAvatarBot = gray50;
|
|
283
261
|
export const chatAvatarAgent = gray30;
|
|
284
262
|
export const chatAvatarUser = blue50;
|
|
263
|
+
export const chatShellBackground = gray90;
|
|
264
|
+
export const chatHeaderBackground = gray90;
|
|
265
|
+
|
|
266
|
+
// Chat button tokens
|
|
267
|
+
export const chatButton = linkPrimary;
|
|
268
|
+
export const chatButtonHover = backgroundHover;
|
|
269
|
+
export const chatButtonTextHover = linkPrimaryHover;
|
|
270
|
+
export const chatButtonActive = backgroundActive;
|
|
271
|
+
export const chatButtonSelected = backgroundSelected;
|
|
272
|
+
export const chatButtonTextSelected = textSecondary;
|
|
285
273
|
|
|
286
274
|
export {
|
|
287
275
|
// Type
|
package/src/tokens/components.js
CHANGED
|
@@ -74,6 +74,16 @@ export const tag = TokenGroup.create({
|
|
|
74
74
|
'tag-background-gray',
|
|
75
75
|
'tag-color-gray',
|
|
76
76
|
'tag-hover-gray',
|
|
77
|
+
'tag-border-red',
|
|
78
|
+
'tag-border-blue',
|
|
79
|
+
'tag-border-cyan',
|
|
80
|
+
'tag-border-teal',
|
|
81
|
+
'tag-border-green',
|
|
82
|
+
'tag-border-magenta',
|
|
83
|
+
'tag-border-purple',
|
|
84
|
+
'tag-border-gray',
|
|
85
|
+
'tag-border-cool-gray',
|
|
86
|
+
'tag-border-warm-gray',
|
|
77
87
|
'tag-background-cool-gray',
|
|
78
88
|
'tag-color-cool-gray',
|
|
79
89
|
'tag-hover-cool-gray',
|
|
@@ -350,26 +350,9 @@ export const ai = TokenGroup.create({
|
|
|
350
350
|
'slug-background-hover',
|
|
351
351
|
'slug-gradient-hover',
|
|
352
352
|
'slug-hollow-hover',
|
|
353
|
-
'slug-callout-gradient-top',
|
|
354
|
-
'slug-callout-gradient-bottom',
|
|
355
|
-
'slug-callout-aura-start',
|
|
356
|
-
'slug-callout-aura-end',
|
|
357
|
-
'slug-callout-gradient-top-hover',
|
|
358
|
-
'slug-callout-gradient-bottom-hover',
|
|
359
|
-
'slug-callout-aura-start-hover-01',
|
|
360
|
-
'slug-callout-aura-start-hover-02',
|
|
361
|
-
'slug-callout-aura-end-hover-01',
|
|
362
|
-
'slug-callout-aura-end-hover-02',
|
|
363
|
-
'slug-callout-gradient-top-selected',
|
|
364
|
-
'slug-callout-gradient-bottom-selected',
|
|
365
|
-
'slug-callout-aura-start-selected',
|
|
366
|
-
'slug-callout-aura-end-selected',
|
|
367
|
-
'ai-gradient-start-01',
|
|
368
|
-
'ai-gradient-start-02',
|
|
369
|
-
'ai-gradient-end',
|
|
370
353
|
// Phase 2
|
|
371
|
-
'
|
|
372
|
-
'
|
|
354
|
+
'ai-popover-shadow-outer-01',
|
|
355
|
+
'ai-popover-shadow-outer-02',
|
|
373
356
|
// Linear gradient refactor
|
|
374
357
|
'ai-inner-shadow',
|
|
375
358
|
'ai-aura-start',
|
|
@@ -386,10 +369,10 @@ export const ai = TokenGroup.create({
|
|
|
386
369
|
'ai-skeleton-element-background',
|
|
387
370
|
'ai-overlay',
|
|
388
371
|
// Caret tokens
|
|
389
|
-
'
|
|
390
|
-
'
|
|
391
|
-
'
|
|
392
|
-
'
|
|
372
|
+
'ai-popover-caret-center',
|
|
373
|
+
'ai-popover-caret-bottom',
|
|
374
|
+
'ai-popover-caret-bottom-background',
|
|
375
|
+
'ai-popover-caret-bottom-background-actions',
|
|
393
376
|
// Chat tokens
|
|
394
377
|
'chat-prompt-background',
|
|
395
378
|
'chat-prompt-border-start',
|
|
@@ -400,6 +383,15 @@ export const ai = TokenGroup.create({
|
|
|
400
383
|
'chat-avatar-bot',
|
|
401
384
|
'chat-avatar-agent',
|
|
402
385
|
'chat-avatar-user',
|
|
386
|
+
'chat-shell-background',
|
|
387
|
+
'chat-header-background',
|
|
388
|
+
// Chat button tokens
|
|
389
|
+
'chat-button',
|
|
390
|
+
'chat-button-hover',
|
|
391
|
+
'chat-button-text-hover',
|
|
392
|
+
'chat-button-active',
|
|
393
|
+
'chat-button-selected',
|
|
394
|
+
'chat-button-text-selected',
|
|
403
395
|
],
|
|
404
396
|
});
|
|
405
397
|
|
package/src/white.js
CHANGED
|
@@ -9,16 +9,12 @@ import {
|
|
|
9
9
|
// Blue
|
|
10
10
|
blue10,
|
|
11
11
|
blue20,
|
|
12
|
-
blue20Hover,
|
|
13
12
|
blue30,
|
|
14
13
|
blue40,
|
|
15
14
|
blue60,
|
|
16
15
|
blue70,
|
|
17
16
|
blue100,
|
|
18
17
|
|
|
19
|
-
// CoolGray
|
|
20
|
-
coolGray10,
|
|
21
|
-
|
|
22
18
|
// Gray
|
|
23
19
|
gray10,
|
|
24
20
|
gray10Hover,
|
|
@@ -230,41 +226,22 @@ export const aiAuraHoverBackground = blue10;
|
|
|
230
226
|
export const aiAuraHoverStart = rgba(blue50, 0.4);
|
|
231
227
|
export const aiAuraHoverEnd = rgba(white, 0);
|
|
232
228
|
|
|
233
|
-
//
|
|
234
|
-
export const
|
|
235
|
-
export const
|
|
229
|
+
// AI Popover
|
|
230
|
+
export const aiPopoverShadowOuter01 = rgba(blue70, 0.25);
|
|
231
|
+
export const aiPopoverShadowOuter02 = rgba(black, 0.1);
|
|
236
232
|
|
|
237
233
|
// AI skeleton
|
|
238
|
-
export const aiSkeletonBackground =
|
|
239
|
-
export const aiSkeletonElementBackground =
|
|
234
|
+
export const aiSkeletonBackground = blue20;
|
|
235
|
+
export const aiSkeletonElementBackground = blue50;
|
|
240
236
|
|
|
241
237
|
// AI Modal tokens
|
|
242
238
|
export const aiOverlay = rgba(blue100, 0.5);
|
|
243
239
|
|
|
244
|
-
//// Not used in phase 2 / possibly remove?
|
|
245
|
-
export const slugCalloutGradientTop = rgba(gray10, 0.85);
|
|
246
|
-
export const slugCalloutGradientBottom = rgba(gray20, 0.85);
|
|
247
|
-
export const aiGradientStart01 = rgba(coolGray10, 0.5);
|
|
248
|
-
export const aiGradientStart02 = rgba(blue10, 0.5);
|
|
249
|
-
export const aiGradientEnd = rgba(white, 0);
|
|
250
|
-
export const slugCalloutAuraStart = aiAuraStart;
|
|
251
|
-
export const slugCalloutAuraEnd = aiAuraEnd;
|
|
252
|
-
export const slugCalloutGradientTopHover = rgba(gray20, 0.55);
|
|
253
|
-
export const slugCalloutGradientBottomHover = rgba(gray20Hover, 0.55);
|
|
254
|
-
export const slugCalloutAuraStartHover01 = rgba(white, 0.5);
|
|
255
|
-
export const slugCalloutAuraEndHover01 = rgba(white, 0);
|
|
256
|
-
export const slugCalloutAuraStartHover02 = rgba(blue20, 0.5);
|
|
257
|
-
export const slugCalloutAuraEndHover02 = rgba(white, 0);
|
|
258
|
-
export const slugCalloutGradientTopSelected = rgba(gray20, 0.85);
|
|
259
|
-
export const slugCalloutGradientBottomSelected = rgba(gray20Hover, 0.85);
|
|
260
|
-
export const slugCalloutAuraStartSelected = rgba(blue10, 0.6);
|
|
261
|
-
export const slugCalloutAuraEndSelected = rgba(white, 0);
|
|
262
|
-
|
|
263
240
|
// One off tokens for caret
|
|
264
|
-
export const
|
|
265
|
-
export const
|
|
266
|
-
export const
|
|
267
|
-
export const
|
|
241
|
+
export const aiPopoverCaretCenter = '#A7C7FF';
|
|
242
|
+
export const aiPopoverCaretBottom = blue20;
|
|
243
|
+
export const aiPopoverCaretBottomBackgroundActions = '#DAE5F8';
|
|
244
|
+
export const aiPopoverCaretBottomBackground = '#D5E5FF';
|
|
268
245
|
|
|
269
246
|
// Chat tokens
|
|
270
247
|
export const chatPromptBackground = white;
|
|
@@ -276,6 +253,16 @@ export const chatBubbleAgentBorder = gray20;
|
|
|
276
253
|
export const chatAvatarBot = gray60;
|
|
277
254
|
export const chatAvatarAgent = gray80;
|
|
278
255
|
export const chatAvatarUser = blue60;
|
|
256
|
+
export const chatShellBackground = white;
|
|
257
|
+
export const chatHeaderBackground = white;
|
|
258
|
+
|
|
259
|
+
// Chat button tokens
|
|
260
|
+
export const chatButton = linkPrimary;
|
|
261
|
+
export const chatButtonHover = backgroundHover;
|
|
262
|
+
export const chatButtonTextHover = linkPrimaryHover;
|
|
263
|
+
export const chatButtonActive = backgroundActive;
|
|
264
|
+
export const chatButtonSelected = backgroundSelected;
|
|
265
|
+
export const chatButtonTextSelected = textSecondary;
|
|
279
266
|
|
|
280
267
|
// Type
|
|
281
268
|
export {
|
package/telemetry.yml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# yaml-language-server: $schema=https://unpkg.com/@ibm/telemetry-config-schema@v1/dist/config.schema.json
|
|
2
|
+
version: 1
|
|
3
|
+
projectId: a56e8642-350a-4ee1-8e04-711cf16f3508
|
|
4
|
+
endpoint: https://collector-prod.1am6wm210aow.us-south.codeengine.appdomain.cloud/v1/metrics
|
|
5
|
+
collect:
|
|
6
|
+
npm:
|
|
7
|
+
dependencies: null
|