@carbon/themes 11.64.0 → 11.66.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 +737 -4
- package/lib/index.js +825 -2
- package/package.json +7 -7
- package/scss/generated/_themes.scss +360 -0
- package/scss/generated/_tokens.scss +270 -0
- package/src/g10.js +100 -1
- package/src/g100.js +97 -0
- package/src/g90.js +98 -0
- package/src/tokens/v11TokenGroup.js +98 -0
- package/src/white.js +100 -1
- package/umd/index.js +825 -2
|
@@ -304,6 +304,264 @@ $support-caution-minor: _get('support-caution-minor') !default;
|
|
|
304
304
|
/// The CSS Custom Property for the `support-caution-undefined` token
|
|
305
305
|
$support-caution-undefined: _get('support-caution-undefined') !default;
|
|
306
306
|
|
|
307
|
+
/// The CSS Custom Property for the `syntax-comment` token
|
|
308
|
+
$syntax-comment: _get('syntax-comment') !default;
|
|
309
|
+
|
|
310
|
+
/// The CSS Custom Property for the `syntax-line-comment` token
|
|
311
|
+
$syntax-line-comment: _get('syntax-line-comment') !default;
|
|
312
|
+
|
|
313
|
+
/// The CSS Custom Property for the `syntax-block-comment` token
|
|
314
|
+
$syntax-block-comment: _get('syntax-block-comment') !default;
|
|
315
|
+
|
|
316
|
+
/// The CSS Custom Property for the `syntax-doc-comment` token
|
|
317
|
+
$syntax-doc-comment: _get('syntax-doc-comment') !default;
|
|
318
|
+
|
|
319
|
+
/// The CSS Custom Property for the `syntax-doc-string` token
|
|
320
|
+
$syntax-doc-string: _get('syntax-doc-string') !default;
|
|
321
|
+
|
|
322
|
+
/// The CSS Custom Property for the `syntax-keyword` token
|
|
323
|
+
$syntax-keyword: _get('syntax-keyword') !default;
|
|
324
|
+
|
|
325
|
+
/// The CSS Custom Property for the `syntax-operator-keyword` token
|
|
326
|
+
$syntax-operator-keyword: _get('syntax-operator-keyword') !default;
|
|
327
|
+
|
|
328
|
+
/// The CSS Custom Property for the `syntax-control-keyword` token
|
|
329
|
+
$syntax-control-keyword: _get('syntax-control-keyword') !default;
|
|
330
|
+
|
|
331
|
+
/// The CSS Custom Property for the `syntax-definition-keyword` token
|
|
332
|
+
$syntax-definition-keyword: _get('syntax-definition-keyword') !default;
|
|
333
|
+
|
|
334
|
+
/// The CSS Custom Property for the `syntax-module-keyword` token
|
|
335
|
+
$syntax-module-keyword: _get('syntax-module-keyword') !default;
|
|
336
|
+
|
|
337
|
+
/// The CSS Custom Property for the `syntax-variable` token
|
|
338
|
+
$syntax-variable: _get('syntax-variable') !default;
|
|
339
|
+
|
|
340
|
+
/// The CSS Custom Property for the `syntax-name` token
|
|
341
|
+
$syntax-name: _get('syntax-name') !default;
|
|
342
|
+
|
|
343
|
+
/// The CSS Custom Property for the `syntax-variable-name` token
|
|
344
|
+
$syntax-variable-name: _get('syntax-variable-name') !default;
|
|
345
|
+
|
|
346
|
+
/// The CSS Custom Property for the `syntax-label-name` token
|
|
347
|
+
$syntax-label-name: _get('syntax-label-name') !default;
|
|
348
|
+
|
|
349
|
+
/// The CSS Custom Property for the `syntax-attribute` token
|
|
350
|
+
$syntax-attribute: _get('syntax-attribute') !default;
|
|
351
|
+
|
|
352
|
+
/// The CSS Custom Property for the `syntax-attribute-name` token
|
|
353
|
+
$syntax-attribute-name: _get('syntax-attribute-name') !default;
|
|
354
|
+
|
|
355
|
+
/// The CSS Custom Property for the `syntax-property-name` token
|
|
356
|
+
$syntax-property-name: _get('syntax-property-name') !default;
|
|
357
|
+
|
|
358
|
+
/// The CSS Custom Property for the `syntax-tag` token
|
|
359
|
+
$syntax-tag: _get('syntax-tag') !default;
|
|
360
|
+
|
|
361
|
+
/// The CSS Custom Property for the `syntax-tag-name` token
|
|
362
|
+
$syntax-tag-name: _get('syntax-tag-name') !default;
|
|
363
|
+
|
|
364
|
+
/// The CSS Custom Property for the `syntax-type` token
|
|
365
|
+
$syntax-type: _get('syntax-type') !default;
|
|
366
|
+
|
|
367
|
+
/// The CSS Custom Property for the `syntax-type-name` token
|
|
368
|
+
$syntax-type-name: _get('syntax-type-name') !default;
|
|
369
|
+
|
|
370
|
+
/// The CSS Custom Property for the `syntax-class-name` token
|
|
371
|
+
$syntax-class-name: _get('syntax-class-name') !default;
|
|
372
|
+
|
|
373
|
+
/// The CSS Custom Property for the `syntax-namespace` token
|
|
374
|
+
$syntax-namespace: _get('syntax-namespace') !default;
|
|
375
|
+
|
|
376
|
+
/// The CSS Custom Property for the `syntax-macro-name` token
|
|
377
|
+
$syntax-macro-name: _get('syntax-macro-name') !default;
|
|
378
|
+
|
|
379
|
+
/// The CSS Custom Property for the `syntax-atom` token
|
|
380
|
+
$syntax-atom: _get('syntax-atom') !default;
|
|
381
|
+
|
|
382
|
+
/// The CSS Custom Property for the `syntax-literal` token
|
|
383
|
+
$syntax-literal: _get('syntax-literal') !default;
|
|
384
|
+
|
|
385
|
+
/// The CSS Custom Property for the `syntax-bool` token
|
|
386
|
+
$syntax-bool: _get('syntax-bool') !default;
|
|
387
|
+
|
|
388
|
+
/// The CSS Custom Property for the `syntax-null` token
|
|
389
|
+
$syntax-null: _get('syntax-null') !default;
|
|
390
|
+
|
|
391
|
+
/// The CSS Custom Property for the `syntax-self` token
|
|
392
|
+
$syntax-self: _get('syntax-self') !default;
|
|
393
|
+
|
|
394
|
+
/// The CSS Custom Property for the `syntax-number` token
|
|
395
|
+
$syntax-number: _get('syntax-number') !default;
|
|
396
|
+
|
|
397
|
+
/// The CSS Custom Property for the `syntax-integer` token
|
|
398
|
+
$syntax-integer: _get('syntax-integer') !default;
|
|
399
|
+
|
|
400
|
+
/// The CSS Custom Property for the `syntax-float` token
|
|
401
|
+
$syntax-float: _get('syntax-float') !default;
|
|
402
|
+
|
|
403
|
+
/// The CSS Custom Property for the `syntax-unit` token
|
|
404
|
+
$syntax-unit: _get('syntax-unit') !default;
|
|
405
|
+
|
|
406
|
+
/// The CSS Custom Property for the `syntax-string` token
|
|
407
|
+
$syntax-string: _get('syntax-string') !default;
|
|
408
|
+
|
|
409
|
+
/// The CSS Custom Property for the `syntax-character` token
|
|
410
|
+
$syntax-character: _get('syntax-character') !default;
|
|
411
|
+
|
|
412
|
+
/// The CSS Custom Property for the `syntax-attribute-value` token
|
|
413
|
+
$syntax-attribute-value: _get('syntax-attribute-value') !default;
|
|
414
|
+
|
|
415
|
+
/// The CSS Custom Property for the `syntax-special-string` token
|
|
416
|
+
$syntax-special-string: _get('syntax-special-string') !default;
|
|
417
|
+
|
|
418
|
+
/// The CSS Custom Property for the `syntax-regexp` token
|
|
419
|
+
$syntax-regexp: _get('syntax-regexp') !default;
|
|
420
|
+
|
|
421
|
+
/// The CSS Custom Property for the `syntax-escape` token
|
|
422
|
+
$syntax-escape: _get('syntax-escape') !default;
|
|
423
|
+
|
|
424
|
+
/// The CSS Custom Property for the `syntax-url` token
|
|
425
|
+
$syntax-url: _get('syntax-url') !default;
|
|
426
|
+
|
|
427
|
+
/// The CSS Custom Property for the `syntax-color` token
|
|
428
|
+
$syntax-color: _get('syntax-color') !default;
|
|
429
|
+
|
|
430
|
+
/// The CSS Custom Property for the `syntax-operator` token
|
|
431
|
+
$syntax-operator: _get('syntax-operator') !default;
|
|
432
|
+
|
|
433
|
+
/// The CSS Custom Property for the `syntax-deref-operator` token
|
|
434
|
+
$syntax-deref-operator: _get('syntax-deref-operator') !default;
|
|
435
|
+
|
|
436
|
+
/// The CSS Custom Property for the `syntax-arithmetic-operator` token
|
|
437
|
+
$syntax-arithmetic-operator: _get('syntax-arithmetic-operator') !default;
|
|
438
|
+
|
|
439
|
+
/// The CSS Custom Property for the `syntax-logic-operator` token
|
|
440
|
+
$syntax-logic-operator: _get('syntax-logic-operator') !default;
|
|
441
|
+
|
|
442
|
+
/// The CSS Custom Property for the `syntax-bitwise-operator` token
|
|
443
|
+
$syntax-bitwise-operator: _get('syntax-bitwise-operator') !default;
|
|
444
|
+
|
|
445
|
+
/// The CSS Custom Property for the `syntax-compare-operator` token
|
|
446
|
+
$syntax-compare-operator: _get('syntax-compare-operator') !default;
|
|
447
|
+
|
|
448
|
+
/// The CSS Custom Property for the `syntax-update-operator` token
|
|
449
|
+
$syntax-update-operator: _get('syntax-update-operator') !default;
|
|
450
|
+
|
|
451
|
+
/// The CSS Custom Property for the `syntax-definition-operator` token
|
|
452
|
+
$syntax-definition-operator: _get('syntax-definition-operator') !default;
|
|
453
|
+
|
|
454
|
+
/// The CSS Custom Property for the `syntax-type-operator` token
|
|
455
|
+
$syntax-type-operator: _get('syntax-type-operator') !default;
|
|
456
|
+
|
|
457
|
+
/// The CSS Custom Property for the `syntax-control-operator` token
|
|
458
|
+
$syntax-control-operator: _get('syntax-control-operator') !default;
|
|
459
|
+
|
|
460
|
+
/// The CSS Custom Property for the `syntax-modifier` token
|
|
461
|
+
$syntax-modifier: _get('syntax-modifier') !default;
|
|
462
|
+
|
|
463
|
+
/// The CSS Custom Property for the `syntax-punctuation` token
|
|
464
|
+
$syntax-punctuation: _get('syntax-punctuation') !default;
|
|
465
|
+
|
|
466
|
+
/// The CSS Custom Property for the `syntax-separator` token
|
|
467
|
+
$syntax-separator: _get('syntax-separator') !default;
|
|
468
|
+
|
|
469
|
+
/// The CSS Custom Property for the `syntax-bracket` token
|
|
470
|
+
$syntax-bracket: _get('syntax-bracket') !default;
|
|
471
|
+
|
|
472
|
+
/// The CSS Custom Property for the `syntax-angle-bracket` token
|
|
473
|
+
$syntax-angle-bracket: _get('syntax-angle-bracket') !default;
|
|
474
|
+
|
|
475
|
+
/// The CSS Custom Property for the `syntax-square-bracket` token
|
|
476
|
+
$syntax-square-bracket: _get('syntax-square-bracket') !default;
|
|
477
|
+
|
|
478
|
+
/// The CSS Custom Property for the `syntax-paren` token
|
|
479
|
+
$syntax-paren: _get('syntax-paren') !default;
|
|
480
|
+
|
|
481
|
+
/// The CSS Custom Property for the `syntax-brace` token
|
|
482
|
+
$syntax-brace: _get('syntax-brace') !default;
|
|
483
|
+
|
|
484
|
+
/// The CSS Custom Property for the `syntax-content` token
|
|
485
|
+
$syntax-content: _get('syntax-content') !default;
|
|
486
|
+
|
|
487
|
+
/// The CSS Custom Property for the `syntax-heading` token
|
|
488
|
+
$syntax-heading: _get('syntax-heading') !default;
|
|
489
|
+
|
|
490
|
+
/// The CSS Custom Property for the `syntax-heading-1` token
|
|
491
|
+
$syntax-heading-1: _get('syntax-heading-1') !default;
|
|
492
|
+
|
|
493
|
+
/// The CSS Custom Property for the `syntax-heading-2` token
|
|
494
|
+
$syntax-heading-2: _get('syntax-heading-2') !default;
|
|
495
|
+
|
|
496
|
+
/// The CSS Custom Property for the `syntax-heading-3` token
|
|
497
|
+
$syntax-heading-3: _get('syntax-heading-3') !default;
|
|
498
|
+
|
|
499
|
+
/// The CSS Custom Property for the `syntax-heading-4` token
|
|
500
|
+
$syntax-heading-4: _get('syntax-heading-4') !default;
|
|
501
|
+
|
|
502
|
+
/// The CSS Custom Property for the `syntax-heading-5` token
|
|
503
|
+
$syntax-heading-5: _get('syntax-heading-5') !default;
|
|
504
|
+
|
|
505
|
+
/// The CSS Custom Property for the `syntax-heading-6` token
|
|
506
|
+
$syntax-heading-6: _get('syntax-heading-6') !default;
|
|
507
|
+
|
|
508
|
+
/// The CSS Custom Property for the `syntax-content-separator` token
|
|
509
|
+
$syntax-content-separator: _get('syntax-content-separator') !default;
|
|
510
|
+
|
|
511
|
+
/// The CSS Custom Property for the `syntax-list` token
|
|
512
|
+
$syntax-list: _get('syntax-list') !default;
|
|
513
|
+
|
|
514
|
+
/// The CSS Custom Property for the `syntax-quote` token
|
|
515
|
+
$syntax-quote: _get('syntax-quote') !default;
|
|
516
|
+
|
|
517
|
+
/// The CSS Custom Property for the `syntax-emphasis` token
|
|
518
|
+
$syntax-emphasis: _get('syntax-emphasis') !default;
|
|
519
|
+
|
|
520
|
+
/// The CSS Custom Property for the `syntax-strong` token
|
|
521
|
+
$syntax-strong: _get('syntax-strong') !default;
|
|
522
|
+
|
|
523
|
+
/// The CSS Custom Property for the `syntax-monospace` token
|
|
524
|
+
$syntax-monospace: _get('syntax-monospace') !default;
|
|
525
|
+
|
|
526
|
+
/// The CSS Custom Property for the `syntax-link` token
|
|
527
|
+
$syntax-link: _get('syntax-link') !default;
|
|
528
|
+
|
|
529
|
+
/// The CSS Custom Property for the `syntax-strikethrough` token
|
|
530
|
+
$syntax-strikethrough: _get('syntax-strikethrough') !default;
|
|
531
|
+
|
|
532
|
+
/// The CSS Custom Property for the `syntax-invalid` token
|
|
533
|
+
$syntax-invalid: _get('syntax-invalid') !default;
|
|
534
|
+
|
|
535
|
+
/// The CSS Custom Property for the `syntax-meta` token
|
|
536
|
+
$syntax-meta: _get('syntax-meta') !default;
|
|
537
|
+
|
|
538
|
+
/// The CSS Custom Property for the `syntax-document-meta` token
|
|
539
|
+
$syntax-document-meta: _get('syntax-document-meta') !default;
|
|
540
|
+
|
|
541
|
+
/// The CSS Custom Property for the `syntax-annotation` token
|
|
542
|
+
$syntax-annotation: _get('syntax-annotation') !default;
|
|
543
|
+
|
|
544
|
+
/// The CSS Custom Property for the `syntax-processing-instruction` token
|
|
545
|
+
$syntax-processing-instruction: _get('syntax-processing-instruction') !default;
|
|
546
|
+
|
|
547
|
+
/// The CSS Custom Property for the `syntax-definition` token
|
|
548
|
+
$syntax-definition: _get('syntax-definition') !default;
|
|
549
|
+
|
|
550
|
+
/// The CSS Custom Property for the `syntax-constant` token
|
|
551
|
+
$syntax-constant: _get('syntax-constant') !default;
|
|
552
|
+
|
|
553
|
+
/// The CSS Custom Property for the `syntax-function` token
|
|
554
|
+
$syntax-function: _get('syntax-function') !default;
|
|
555
|
+
|
|
556
|
+
/// The CSS Custom Property for the `syntax-standard` token
|
|
557
|
+
$syntax-standard: _get('syntax-standard') !default;
|
|
558
|
+
|
|
559
|
+
/// The CSS Custom Property for the `syntax-local` token
|
|
560
|
+
$syntax-local: _get('syntax-local') !default;
|
|
561
|
+
|
|
562
|
+
/// The CSS Custom Property for the `syntax-special` token
|
|
563
|
+
$syntax-special: _get('syntax-special') !default;
|
|
564
|
+
|
|
307
565
|
/// The CSS Custom Property for the `ai-popover-background` token
|
|
308
566
|
$ai-popover-background: _get('ai-popover-background') !default;
|
|
309
567
|
|
|
@@ -382,12 +640,21 @@ $chat-prompt-border-start: _get('chat-prompt-border-start') !default;
|
|
|
382
640
|
/// The CSS Custom Property for the `chat-prompt-border-end` token
|
|
383
641
|
$chat-prompt-border-end: _get('chat-prompt-border-end') !default;
|
|
384
642
|
|
|
643
|
+
/// The CSS Custom Property for the `chat-prompt-text` token
|
|
644
|
+
$chat-prompt-text: _get('chat-prompt-text') !default;
|
|
645
|
+
|
|
385
646
|
/// The CSS Custom Property for the `chat-bubble-user` token
|
|
386
647
|
$chat-bubble-user: _get('chat-bubble-user') !default;
|
|
387
648
|
|
|
649
|
+
/// The CSS Custom Property for the `chat-bubble-user-text` token
|
|
650
|
+
$chat-bubble-user-text: _get('chat-bubble-user-text') !default;
|
|
651
|
+
|
|
388
652
|
/// The CSS Custom Property for the `chat-bubble-agent` token
|
|
389
653
|
$chat-bubble-agent: _get('chat-bubble-agent') !default;
|
|
390
654
|
|
|
655
|
+
/// The CSS Custom Property for the `chat-bubble-agent-text` token
|
|
656
|
+
$chat-bubble-agent-text: _get('chat-bubble-agent-text') !default;
|
|
657
|
+
|
|
391
658
|
/// The CSS Custom Property for the `chat-bubble-border` token
|
|
392
659
|
$chat-bubble-border: _get('chat-bubble-border') !default;
|
|
393
660
|
|
|
@@ -406,6 +673,9 @@ $chat-shell-background: _get('chat-shell-background') !default;
|
|
|
406
673
|
/// The CSS Custom Property for the `chat-header-background` token
|
|
407
674
|
$chat-header-background: _get('chat-header-background') !default;
|
|
408
675
|
|
|
676
|
+
/// The CSS Custom Property for the `chat-header-text` token
|
|
677
|
+
$chat-header-text: _get('chat-header-text') !default;
|
|
678
|
+
|
|
409
679
|
/// The CSS Custom Property for the `chat-button` token
|
|
410
680
|
$chat-button: _get('chat-button') !default;
|
|
411
681
|
|
package/src/g10.js
CHANGED
|
@@ -16,6 +16,8 @@ import {
|
|
|
16
16
|
blue100,
|
|
17
17
|
|
|
18
18
|
// Gray
|
|
19
|
+
coolGray60,
|
|
20
|
+
coolGray80,
|
|
19
21
|
gray10,
|
|
20
22
|
gray10Hover,
|
|
21
23
|
gray20,
|
|
@@ -31,14 +33,19 @@ import {
|
|
|
31
33
|
|
|
32
34
|
// Support
|
|
33
35
|
blue50,
|
|
36
|
+
cyan70,
|
|
34
37
|
green40,
|
|
35
38
|
green50,
|
|
39
|
+
green60,
|
|
36
40
|
yellow30,
|
|
41
|
+
yellow60,
|
|
37
42
|
orange40,
|
|
38
43
|
red50,
|
|
39
44
|
red60,
|
|
40
|
-
purple60,
|
|
41
45
|
purple40,
|
|
46
|
+
purple60,
|
|
47
|
+
purple70,
|
|
48
|
+
teal60,
|
|
42
49
|
|
|
43
50
|
// Constants
|
|
44
51
|
black,
|
|
@@ -209,6 +216,94 @@ export const overlay = rgba(black, 0.6);
|
|
|
209
216
|
export const toggleOff = gray50;
|
|
210
217
|
export const shadow = 'rgba(0, 0, 0, 0.3)';
|
|
211
218
|
|
|
219
|
+
// Syntax highlighting
|
|
220
|
+
export const syntaxComment = green60;
|
|
221
|
+
export const syntaxLineComment = syntaxComment;
|
|
222
|
+
export const syntaxBlockComment = syntaxComment;
|
|
223
|
+
export const syntaxDocComment = syntaxComment;
|
|
224
|
+
export const syntaxString = textPrimary;
|
|
225
|
+
export const syntaxDocString = syntaxString;
|
|
226
|
+
export const syntaxKeyword = blue60;
|
|
227
|
+
export const syntaxOperatorKeyword = syntaxKeyword;
|
|
228
|
+
export const syntaxControlKeyword = purple70;
|
|
229
|
+
export const syntaxDefinitionKeyword = cyan70;
|
|
230
|
+
export const syntaxModuleKeyword = purple70;
|
|
231
|
+
export const syntaxVariable = blue60;
|
|
232
|
+
export const syntaxName = syntaxVariable;
|
|
233
|
+
export const syntaxVariableName = syntaxVariable;
|
|
234
|
+
export const syntaxLabelName = syntaxVariable;
|
|
235
|
+
export const syntaxAttribute = cyan70;
|
|
236
|
+
export const syntaxAttributeName = syntaxAttribute;
|
|
237
|
+
export const syntaxPropertyName = syntaxAttribute;
|
|
238
|
+
export const syntaxTag = teal60;
|
|
239
|
+
export const syntaxTagName = syntaxTag;
|
|
240
|
+
export const syntaxType = teal60;
|
|
241
|
+
export const syntaxTypeName = syntaxType;
|
|
242
|
+
export const syntaxClassName = syntaxType;
|
|
243
|
+
export const syntaxNamespace = syntaxType;
|
|
244
|
+
export const syntaxMacroName = textPrimary;
|
|
245
|
+
export const syntaxAtom = syntaxMacroName;
|
|
246
|
+
export const syntaxLiteral = syntaxAtom;
|
|
247
|
+
export const syntaxBool = syntaxAtom;
|
|
248
|
+
export const syntaxNull = syntaxAtom;
|
|
249
|
+
export const syntaxSelf = syntaxTag;
|
|
250
|
+
export const syntaxNumber = green60;
|
|
251
|
+
export const syntaxInteger = syntaxNumber;
|
|
252
|
+
export const syntaxFloat = syntaxNumber;
|
|
253
|
+
export const syntaxUnit = syntaxNumber;
|
|
254
|
+
export const syntaxCharacter = syntaxString;
|
|
255
|
+
export const syntaxAttributeValue = syntaxString;
|
|
256
|
+
export const syntaxSpecialString = purple60;
|
|
257
|
+
export const syntaxRegexp = purple70;
|
|
258
|
+
export const syntaxEscape = coolGray80;
|
|
259
|
+
export const syntaxUrl = syntaxEscape;
|
|
260
|
+
export const syntaxColor = syntaxMacroName;
|
|
261
|
+
export const syntaxOperator = coolGray80;
|
|
262
|
+
export const syntaxDerefOperator = syntaxOperator;
|
|
263
|
+
export const syntaxArithmeticOperator = syntaxOperator;
|
|
264
|
+
export const syntaxLogicOperator = syntaxOperator;
|
|
265
|
+
export const syntaxBitwiseOperator = syntaxOperator;
|
|
266
|
+
export const syntaxCompareOperator = syntaxOperator;
|
|
267
|
+
export const syntaxUpdateOperator = syntaxOperator;
|
|
268
|
+
export const syntaxDefinitionOperator = syntaxDefinitionKeyword;
|
|
269
|
+
export const syntaxTypeOperator = syntaxTag;
|
|
270
|
+
export const syntaxControlOperator = syntaxModuleKeyword;
|
|
271
|
+
export const syntaxModifier = syntaxKeyword;
|
|
272
|
+
export const syntaxPunctuation = coolGray80;
|
|
273
|
+
export const syntaxSeparator = syntaxPunctuation;
|
|
274
|
+
export const syntaxBracket = syntaxPunctuation;
|
|
275
|
+
export const syntaxAngleBracket = coolGray60;
|
|
276
|
+
export const syntaxSquareBracket = syntaxBracket;
|
|
277
|
+
export const syntaxParen = syntaxBracket;
|
|
278
|
+
export const syntaxBrace = syntaxBracket;
|
|
279
|
+
export const syntaxContent = textPrimary;
|
|
280
|
+
export const syntaxList = syntaxContent;
|
|
281
|
+
export const syntaxEmphasis = syntaxContent;
|
|
282
|
+
export const syntaxStrong = syntaxContent;
|
|
283
|
+
export const syntaxMonospace = syntaxContent;
|
|
284
|
+
export const syntaxStrikethrough = syntaxContent;
|
|
285
|
+
export const syntaxHeading = cyan70;
|
|
286
|
+
export const syntaxHeading1 = syntaxHeading;
|
|
287
|
+
export const syntaxHeading2 = syntaxHeading;
|
|
288
|
+
export const syntaxHeading3 = syntaxHeading;
|
|
289
|
+
export const syntaxHeading4 = syntaxHeading;
|
|
290
|
+
export const syntaxHeading5 = syntaxHeading;
|
|
291
|
+
export const syntaxHeading6 = syntaxHeading;
|
|
292
|
+
export const syntaxContentSeparator = syntaxPunctuation;
|
|
293
|
+
export const syntaxQuote = syntaxComment;
|
|
294
|
+
export const syntaxLink = blue60;
|
|
295
|
+
export const syntaxInvalid = red60;
|
|
296
|
+
export const syntaxMeta = green60;
|
|
297
|
+
export const syntaxDocumentMeta = syntaxMeta;
|
|
298
|
+
export const syntaxAnnotation = teal60;
|
|
299
|
+
export const syntaxProcessingInstruction = syntaxString;
|
|
300
|
+
export const syntaxDefinition = cyan70;
|
|
301
|
+
export const syntaxConstant = blue60;
|
|
302
|
+
export const syntaxFunction = yellow60;
|
|
303
|
+
export const syntaxStandard = blue60;
|
|
304
|
+
export const syntaxLocal = blue60;
|
|
305
|
+
export const syntaxSpecial = blue60;
|
|
306
|
+
|
|
212
307
|
//// AI - Experimental (Use at your own risk)
|
|
213
308
|
//// Phase 2 - new \\\\
|
|
214
309
|
// Shared
|
|
@@ -246,14 +341,18 @@ export const aiPopoverCaretBottomBackground = '#EAF1FF';
|
|
|
246
341
|
export const chatPromptBackground = white;
|
|
247
342
|
export const chatPromptBorderStart = gray10;
|
|
248
343
|
export const chatPromptBorderEnd = rgba(gray10, 0);
|
|
344
|
+
export const chatPromptText = textPrimary;
|
|
249
345
|
export const chatBubbleUser = gray20;
|
|
346
|
+
export const chatBubbleUserText = textPrimary;
|
|
250
347
|
export const chatBubbleAgent = white;
|
|
348
|
+
export const chatBubbleAgentText = textPrimary;
|
|
251
349
|
export const chatBubbleBorder = gray20;
|
|
252
350
|
export const chatAvatarBot = gray60;
|
|
253
351
|
export const chatAvatarAgent = gray80;
|
|
254
352
|
export const chatAvatarUser = blue60;
|
|
255
353
|
export const chatShellBackground = white;
|
|
256
354
|
export const chatHeaderBackground = white;
|
|
355
|
+
export const chatHeaderText = textPrimary;
|
|
257
356
|
|
|
258
357
|
// Chat button tokens
|
|
259
358
|
export const chatButton = linkPrimary;
|
package/src/g100.js
CHANGED
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
// Gray
|
|
16
16
|
gray10,
|
|
17
17
|
gray10Hover,
|
|
18
|
+
gray20,
|
|
18
19
|
gray30,
|
|
19
20
|
gray40,
|
|
20
21
|
gray50,
|
|
@@ -31,6 +32,8 @@ import {
|
|
|
31
32
|
// Support
|
|
32
33
|
blue30,
|
|
33
34
|
blue50,
|
|
35
|
+
cyan40,
|
|
36
|
+
green30,
|
|
34
37
|
green40,
|
|
35
38
|
green50,
|
|
36
39
|
yellow30,
|
|
@@ -41,6 +44,8 @@ import {
|
|
|
41
44
|
purple40,
|
|
42
45
|
purple50,
|
|
43
46
|
purple60,
|
|
47
|
+
teal30,
|
|
48
|
+
teal40,
|
|
44
49
|
|
|
45
50
|
// Constants
|
|
46
51
|
white,
|
|
@@ -212,6 +217,94 @@ export const overlay = rgba(black, 0.6);
|
|
|
212
217
|
export const toggleOff = gray60;
|
|
213
218
|
export const shadow = rgba(black, 0.8);
|
|
214
219
|
|
|
220
|
+
// Syntax highlighting
|
|
221
|
+
export const syntaxComment = green40;
|
|
222
|
+
export const syntaxLineComment = syntaxComment;
|
|
223
|
+
export const syntaxBlockComment = syntaxComment;
|
|
224
|
+
export const syntaxDocComment = syntaxComment;
|
|
225
|
+
export const syntaxString = textPrimary;
|
|
226
|
+
export const syntaxDocString = syntaxString;
|
|
227
|
+
export const syntaxKeyword = blue50;
|
|
228
|
+
export const syntaxOperatorKeyword = syntaxKeyword;
|
|
229
|
+
export const syntaxControlKeyword = purple40;
|
|
230
|
+
export const syntaxDefinitionKeyword = cyan40;
|
|
231
|
+
export const syntaxModuleKeyword = purple40;
|
|
232
|
+
export const syntaxVariable = blue30;
|
|
233
|
+
export const syntaxName = syntaxVariable;
|
|
234
|
+
export const syntaxVariableName = syntaxVariable;
|
|
235
|
+
export const syntaxLabelName = syntaxVariable;
|
|
236
|
+
export const syntaxAttribute = cyan40;
|
|
237
|
+
export const syntaxAttributeName = syntaxAttribute;
|
|
238
|
+
export const syntaxPropertyName = syntaxAttribute;
|
|
239
|
+
export const syntaxTag = teal30;
|
|
240
|
+
export const syntaxTagName = syntaxTag;
|
|
241
|
+
export const syntaxType = teal30;
|
|
242
|
+
export const syntaxTypeName = syntaxType;
|
|
243
|
+
export const syntaxClassName = syntaxType;
|
|
244
|
+
export const syntaxNamespace = syntaxType;
|
|
245
|
+
export const syntaxMacroName = textPrimary;
|
|
246
|
+
export const syntaxAtom = syntaxMacroName;
|
|
247
|
+
export const syntaxLiteral = syntaxAtom;
|
|
248
|
+
export const syntaxBool = syntaxAtom;
|
|
249
|
+
export const syntaxNull = syntaxAtom;
|
|
250
|
+
export const syntaxSelf = syntaxTag;
|
|
251
|
+
export const syntaxNumber = green30;
|
|
252
|
+
export const syntaxInteger = syntaxNumber;
|
|
253
|
+
export const syntaxFloat = syntaxNumber;
|
|
254
|
+
export const syntaxUnit = syntaxNumber;
|
|
255
|
+
export const syntaxCharacter = syntaxString;
|
|
256
|
+
export const syntaxAttributeValue = syntaxString;
|
|
257
|
+
export const syntaxSpecialString = purple40;
|
|
258
|
+
export const syntaxRegexp = purple40;
|
|
259
|
+
export const syntaxEscape = gray20;
|
|
260
|
+
export const syntaxUrl = syntaxEscape;
|
|
261
|
+
export const syntaxColor = syntaxMacroName;
|
|
262
|
+
export const syntaxOperator = gray20;
|
|
263
|
+
export const syntaxDerefOperator = syntaxOperator;
|
|
264
|
+
export const syntaxArithmeticOperator = syntaxOperator;
|
|
265
|
+
export const syntaxLogicOperator = syntaxOperator;
|
|
266
|
+
export const syntaxBitwiseOperator = syntaxOperator;
|
|
267
|
+
export const syntaxCompareOperator = syntaxOperator;
|
|
268
|
+
export const syntaxUpdateOperator = syntaxOperator;
|
|
269
|
+
export const syntaxDefinitionOperator = syntaxDefinitionKeyword;
|
|
270
|
+
export const syntaxTypeOperator = syntaxTag;
|
|
271
|
+
export const syntaxControlOperator = syntaxModuleKeyword;
|
|
272
|
+
export const syntaxModifier = syntaxKeyword;
|
|
273
|
+
export const syntaxPunctuation = gray20;
|
|
274
|
+
export const syntaxSeparator = syntaxPunctuation;
|
|
275
|
+
export const syntaxBracket = syntaxPunctuation;
|
|
276
|
+
export const syntaxAngleBracket = gray50;
|
|
277
|
+
export const syntaxSquareBracket = syntaxBracket;
|
|
278
|
+
export const syntaxParen = syntaxBracket;
|
|
279
|
+
export const syntaxBrace = syntaxBracket;
|
|
280
|
+
export const syntaxContent = textPrimary;
|
|
281
|
+
export const syntaxList = syntaxContent;
|
|
282
|
+
export const syntaxEmphasis = syntaxContent;
|
|
283
|
+
export const syntaxStrong = syntaxContent;
|
|
284
|
+
export const syntaxMonospace = syntaxContent;
|
|
285
|
+
export const syntaxStrikethrough = syntaxContent;
|
|
286
|
+
export const syntaxHeading = cyan40;
|
|
287
|
+
export const syntaxHeading1 = syntaxHeading;
|
|
288
|
+
export const syntaxHeading2 = syntaxHeading;
|
|
289
|
+
export const syntaxHeading3 = syntaxHeading;
|
|
290
|
+
export const syntaxHeading4 = syntaxHeading;
|
|
291
|
+
export const syntaxHeading5 = syntaxHeading;
|
|
292
|
+
export const syntaxHeading6 = syntaxHeading;
|
|
293
|
+
export const syntaxContentSeparator = syntaxPunctuation;
|
|
294
|
+
export const syntaxQuote = syntaxComment;
|
|
295
|
+
export const syntaxLink = blue50;
|
|
296
|
+
export const syntaxInvalid = red50;
|
|
297
|
+
export const syntaxMeta = green40;
|
|
298
|
+
export const syntaxDocumentMeta = syntaxMeta;
|
|
299
|
+
export const syntaxAnnotation = teal40;
|
|
300
|
+
export const syntaxProcessingInstruction = syntaxString;
|
|
301
|
+
export const syntaxDefinition = cyan40;
|
|
302
|
+
export const syntaxConstant = blue50;
|
|
303
|
+
export const syntaxFunction = yellow30;
|
|
304
|
+
export const syntaxStandard = blue50;
|
|
305
|
+
export const syntaxLocal = blue30;
|
|
306
|
+
export const syntaxSpecial = blue50;
|
|
307
|
+
|
|
215
308
|
//// AI - Experimental (Use at your own risk)
|
|
216
309
|
//// Phase 2 - new \\\\
|
|
217
310
|
// Shared
|
|
@@ -249,14 +342,18 @@ export const aiPopoverCaretBottomBackground = '#202D45';
|
|
|
249
342
|
export const chatPromptBackground = gray100;
|
|
250
343
|
export const chatPromptBorderStart = gray90;
|
|
251
344
|
export const chatPromptBorderEnd = rgba(gray90, 0);
|
|
345
|
+
export const chatPromptText = textPrimary;
|
|
252
346
|
export const chatBubbleUser = gray80;
|
|
347
|
+
export const chatBubbleUserText = textPrimary;
|
|
253
348
|
export const chatBubbleAgent = gray90;
|
|
349
|
+
export const chatBubbleAgentText = textPrimary;
|
|
254
350
|
export const chatBubbleBorder = gray70;
|
|
255
351
|
export const chatAvatarBot = gray50;
|
|
256
352
|
export const chatAvatarAgent = gray30;
|
|
257
353
|
export const chatAvatarUser = blue50;
|
|
258
354
|
export const chatShellBackground = gray90;
|
|
259
355
|
export const chatHeaderBackground = gray90;
|
|
356
|
+
export const chatHeaderText = textPrimary;
|
|
260
357
|
|
|
261
358
|
// Chat button tokens
|
|
262
359
|
export const chatButton = linkPrimary;
|