@primer/primitives 7.11.8-rc.6e2d282 → 7.11.8-rc.802463c

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.
Files changed (112) hide show
  1. package/package.json +1 -1
  2. package/tokens-next-private/css/functional/themes/dark-colorblind.css +174 -166
  3. package/tokens-next-private/css/functional/themes/dark-dimmed.css +60 -52
  4. package/tokens-next-private/css/functional/themes/dark-high-contrast.css +60 -52
  5. package/tokens-next-private/css/functional/themes/dark-tritanopia.css +60 -52
  6. package/tokens-next-private/css/functional/themes/dark.css +60 -52
  7. package/tokens-next-private/css/functional/themes/light-colorblind.css +136 -128
  8. package/tokens-next-private/css/functional/themes/light-high-contrast.css +8 -0
  9. package/tokens-next-private/css/functional/themes/light-tritanopia.css +8 -0
  10. package/tokens-next-private/css/functional/themes/light.css +8 -0
  11. package/tokens-next-private/docs/functional/themes/dark-colorblind.json +448 -396
  12. package/tokens-next-private/docs/functional/themes/dark-dimmed.json +815 -763
  13. package/tokens-next-private/docs/functional/themes/dark-high-contrast.json +816 -764
  14. package/tokens-next-private/docs/functional/themes/dark-tritanopia.json +815 -763
  15. package/tokens-next-private/docs/functional/themes/dark.json +815 -763
  16. package/tokens-next-private/docs/functional/themes/light-colorblind.json +119 -67
  17. package/tokens-next-private/docs/functional/themes/light-high-contrast.json +53 -1
  18. package/tokens-next-private/docs/functional/themes/light-tritanopia.json +53 -1
  19. package/tokens-next-private/docs/functional/themes/light.json +53 -1
  20. package/tokens-next-private/js/functional/themes/dark-colorblind.js +123 -125
  21. package/tokens-next-private/js/functional/themes/dark-dimmed.js +66 -68
  22. package/tokens-next-private/js/functional/themes/dark-high-contrast.js +66 -68
  23. package/tokens-next-private/js/functional/themes/dark-tritanopia.js +66 -68
  24. package/tokens-next-private/js/functional/themes/dark.js +66 -68
  25. package/tokens-next-private/js/functional/themes/light-colorblind.js +69 -71
  26. package/tokens-next-private/js/functional/themes/light-high-contrast.js +5 -7
  27. package/tokens-next-private/js/functional/themes/light-tritanopia.js +5 -7
  28. package/tokens-next-private/js/functional/themes/light.js +5 -7
  29. package/tokens-next-private/json/functional/themes/dark-colorblind.json +123 -125
  30. package/tokens-next-private/json/functional/themes/dark-dimmed.json +66 -68
  31. package/tokens-next-private/json/functional/themes/dark-high-contrast.json +66 -68
  32. package/tokens-next-private/json/functional/themes/dark-tritanopia.json +66 -68
  33. package/tokens-next-private/json/functional/themes/dark.json +66 -68
  34. package/tokens-next-private/json/functional/themes/light-colorblind.json +69 -71
  35. package/tokens-next-private/json/functional/themes/light-high-contrast.json +5 -7
  36. package/tokens-next-private/json/functional/themes/light-tritanopia.json +5 -7
  37. package/tokens-next-private/json/functional/themes/light.json +5 -7
  38. package/tokens-next-private/scss/functional/themes/dark-colorblind.scss +87 -83
  39. package/tokens-next-private/scss/functional/themes/dark-dimmed.scss +30 -26
  40. package/tokens-next-private/scss/functional/themes/dark-high-contrast.scss +30 -26
  41. package/tokens-next-private/scss/functional/themes/dark-tritanopia.scss +30 -26
  42. package/tokens-next-private/scss/functional/themes/dark.scss +30 -26
  43. package/tokens-next-private/scss/functional/themes/light-colorblind.scss +68 -64
  44. package/tokens-next-private/scss/functional/themes/light-high-contrast.scss +4 -0
  45. package/tokens-next-private/scss/functional/themes/light-tritanopia.scss +4 -0
  46. package/tokens-next-private/scss/functional/themes/light.scss +4 -0
  47. package/tokens-next-private/ts/functional/themes/dark-colorblind.ts +123 -125
  48. package/tokens-next-private/ts/functional/themes/dark-dimmed.ts +66 -68
  49. package/tokens-next-private/ts/functional/themes/dark-high-contrast.ts +66 -68
  50. package/tokens-next-private/ts/functional/themes/dark-tritanopia.ts +66 -68
  51. package/tokens-next-private/ts/functional/themes/dark.ts +66 -68
  52. package/tokens-next-private/ts/functional/themes/light-colorblind.ts +69 -71
  53. package/tokens-next-private/ts/functional/themes/light-high-contrast.ts +5 -7
  54. package/tokens-next-private/ts/functional/themes/light-tritanopia.ts +5 -7
  55. package/tokens-next-private/ts/functional/themes/light.ts +5 -7
  56. package/tokens-next-private/ts/types/BaseColorDesignTokens.d.ts +1 -1
  57. package/tokens-next-private/ts/types/SizeDesignTokens.d.ts +1 -1
  58. package/tokens-next-private/ts/types/ThemeDesignTokens.d.ts +6 -8
  59. package/tokens-next-private/ts/types/TypographyDesignTokens.d.ts +1 -1
  60. package/tokens-v2-private/css/tokens/base/size/size.css +1 -1
  61. package/tokens-v2-private/css/tokens/base/typography/typography.css +1 -1
  62. package/tokens-v2-private/css/tokens/functional/size/border.css +1 -1
  63. package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +1 -1
  64. package/tokens-v2-private/css/tokens/functional/size/size-coarse.css +1 -1
  65. package/tokens-v2-private/css/tokens/functional/size/size-fine.css +1 -1
  66. package/tokens-v2-private/css/tokens/functional/size/size.css +1 -1
  67. package/tokens-v2-private/css/tokens/functional/typography/typography.css +1 -1
  68. package/tokens-v2-private/js/module/tokens/base/size/size.js +1 -1
  69. package/tokens-v2-private/js/module/tokens/base/typography/typography.js +1 -1
  70. package/tokens-v2-private/js/module/tokens/functional/size/border.js +1 -1
  71. package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +1 -1
  72. package/tokens-v2-private/js/module/tokens/functional/size/size-coarse.js +1 -1
  73. package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +1 -1
  74. package/tokens-v2-private/js/module/tokens/functional/size/size.js +1 -1
  75. package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +1 -1
  76. package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +1 -1
  77. package/tokens-v2-private/js/tokens/base/size/size.js +1 -1
  78. package/tokens-v2-private/js/tokens/base/typography/typography.js +1 -1
  79. package/tokens-v2-private/js/tokens/functional/size/border.js +1 -1
  80. package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +1 -1
  81. package/tokens-v2-private/js/tokens/functional/size/size-coarse.js +1 -1
  82. package/tokens-v2-private/js/tokens/functional/size/size-fine.js +1 -1
  83. package/tokens-v2-private/js/tokens/functional/size/size.js +1 -1
  84. package/tokens-v2-private/js/tokens/functional/size/viewport.js +1 -1
  85. package/tokens-v2-private/js/tokens/functional/typography/typography.js +1 -1
  86. package/tokens-v2-private/scss/tokens/base/size/size.scss +1 -1
  87. package/tokens-v2-private/scss/tokens/base/typography/typography.scss +1 -1
  88. package/tokens-v2-private/scss/tokens/functional/size/border.scss +1 -1
  89. package/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +1 -1
  90. package/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +1 -1
  91. package/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +1 -1
  92. package/tokens-v2-private/scss/tokens/functional/size/size.scss +1 -1
  93. package/tokens-v2-private/scss/tokens/functional/size/viewport.scss +1 -1
  94. package/tokens-v2-private/scss/tokens/functional/typography/typography.scss +1 -1
  95. package/tokens-v2-private/ts/tokens/base/size/size.d.ts +1 -1
  96. package/tokens-v2-private/ts/tokens/base/size/size.js +1 -1
  97. package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +1 -1
  98. package/tokens-v2-private/ts/tokens/base/typography/typography.js +1 -1
  99. package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +1 -1
  100. package/tokens-v2-private/ts/tokens/functional/size/border.js +1 -1
  101. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  102. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +1 -1
  103. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  104. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.js +1 -1
  105. package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +1 -1
  106. package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +1 -1
  107. package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +1 -1
  108. package/tokens-v2-private/ts/tokens/functional/size/size.js +1 -1
  109. package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +1 -1
  110. package/tokens-v2-private/ts/tokens/functional/size/viewport.js +1 -1
  111. package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +1 -1
  112. package/tokens-v2-private/ts/tokens/functional/typography/typography.js +1 -1
@@ -30,9 +30,9 @@ exports.default = {
30
30
  num: "#1f2328",
31
31
  },
32
32
  bgColor: {
33
- num: "#f7993966",
34
- line: "#fff5e880",
35
- word: "#ffbc6d80",
33
+ num: "#fb8f4466",
34
+ line: "#fff1e580",
35
+ word: "#ffb77c80",
36
36
  },
37
37
  },
38
38
  hunk: {
@@ -84,11 +84,11 @@ exports.default = {
84
84
  comment: "#24292f",
85
85
  constant: "#0550ae",
86
86
  entity: "#8250df",
87
- keyword: "#b35900",
88
- storage: "#b35900",
87
+ keyword: "#bc4c00",
88
+ storage: "#bc4c00",
89
89
  string: "#0a3069",
90
90
  support: "#0550ae",
91
- variable: "#8a4600",
91
+ variable: "#953800",
92
92
  },
93
93
  },
94
94
  },
@@ -138,7 +138,7 @@ exports.default = {
138
138
  disabled: "#d0d7de",
139
139
  selected: "#f6f8fa",
140
140
  success: "#218bff",
141
- danger: "#b35900",
141
+ danger: "#bc4c00",
142
142
  warning: "#bf8700",
143
143
  },
144
144
  iconColor: {
@@ -160,12 +160,12 @@ exports.default = {
160
160
  },
161
161
  danger: {
162
162
  fgColor: {
163
- rest: "#b55b01",
164
- hover: "#b55b01",
163
+ rest: "#be4e02",
164
+ hover: "#be4e02",
165
165
  },
166
166
  bgColor: {
167
- hover: "#fff5e8",
168
- active: "#fff5e866",
167
+ hover: "#fff1e5",
168
+ active: "#fff1e566",
169
169
  },
170
170
  },
171
171
  checked: {
@@ -301,19 +301,19 @@ exports.default = {
301
301
  },
302
302
  danger: {
303
303
  fgColor: {
304
- rest: "#b55b01",
304
+ rest: "#be4e02",
305
305
  hover: "#ffffff",
306
306
  active: "#ffffff",
307
- disabled: "#b55b0180",
307
+ disabled: "#be4e0280",
308
308
  },
309
309
  iconColor: {
310
- rest: "#b55b01",
310
+ rest: "#be4e02",
311
311
  hover: "#ffffff",
312
312
  },
313
313
  bgColor: {
314
314
  rest: "#f6f8fa",
315
- hover: "#8a4600",
316
- active: "#763c00",
315
+ hover: "#953800",
316
+ active: "#7e2f00",
317
317
  disabled: "#f6f8fa",
318
318
  },
319
319
  borderColor: {
@@ -322,7 +322,7 @@ exports.default = {
322
322
  active: "#d0d7de",
323
323
  },
324
324
  shadow: {
325
- selected: "inset 0px 1px 0px 0px #41200033",
325
+ selected: "inset 0px 1px 0px 0px #47170033",
326
326
  },
327
327
  },
328
328
  },
@@ -347,8 +347,8 @@ exports.default = {
347
347
  danger: {
348
348
  bgColor: {
349
349
  hover: "#ffffff33",
350
- disabled: "#b359000d",
351
- rest: "#b359001a",
350
+ disabled: "#bc4c000d",
351
+ rest: "#bc4c001a",
352
352
  },
353
353
  },
354
354
  },
@@ -412,9 +412,9 @@ exports.default = {
412
412
  accent: "#0969da",
413
413
  success: "#0969da",
414
414
  attention: "#9a6700",
415
- severe: "#b35900",
416
- danger: "#b55b01",
417
- open: "#b35900",
415
+ severe: "#bc4c00",
416
+ danger: "#be4e02",
417
+ open: "#bc4c00",
418
418
  closed: "#6e7781",
419
419
  done: "#8250df",
420
420
  sponsors: "#bf3989",
@@ -441,16 +441,16 @@ exports.default = {
441
441
  emphasis: "#9a6700",
442
442
  },
443
443
  severe: {
444
- muted: "#fff5e8",
445
- emphasis: "#b35900",
444
+ muted: "#fff1e5",
445
+ emphasis: "#bc4c00",
446
446
  },
447
447
  danger: {
448
- muted: "#fff5e8",
449
- emphasis: "#b35900",
448
+ muted: "#fff1e5",
449
+ emphasis: "#bc4c00",
450
450
  },
451
451
  open: {
452
- muted: "#f7993966",
453
- emphasis: "#dd7815",
452
+ muted: "#fb8f4466",
453
+ emphasis: "#e16f24",
454
454
  },
455
455
  closed: {
456
456
  muted: "#afb8c166",
@@ -487,16 +487,16 @@ exports.default = {
487
487
  emphasis: "#bf8700",
488
488
  },
489
489
  severe: {
490
- muted: "#f7993966",
491
- emphasis: "#b35900",
490
+ muted: "#fb8f4466",
491
+ emphasis: "#bc4c00",
492
492
  },
493
493
  danger: {
494
- muted: "#f7993966",
495
- emphasis: "#b35900",
494
+ muted: "#fb8f4466",
495
+ emphasis: "#bc4c00",
496
496
  },
497
497
  open: {
498
- muted: "#f7993966",
499
- emphasis: "#dd7815",
498
+ muted: "#fb8f4466",
499
+ emphasis: "#e16f24",
500
500
  },
501
501
  closed: {
502
502
  muted: "#afb8c166",
@@ -518,8 +518,8 @@ exports.default = {
518
518
  white: "#6e7781",
519
519
  "white-bright": "#8c959f",
520
520
  gray: "#6e7781",
521
- red: "#b35900",
522
- "red-bright": "#8a4600",
521
+ red: "#bc4c00",
522
+ "red-bright": "#953800",
523
523
  green: "#0550ae",
524
524
  "green-bright": "#0969da",
525
525
  yellow: "#4d2d00",
@@ -534,13 +534,8 @@ exports.default = {
534
534
  prettylights: {
535
535
  syntax: {
536
536
  comment: "#6e7781",
537
- constant: {
538
- other: {
539
- reference: {
540
- link: "#0a3069",
541
- },
542
- },
543
- },
537
+ constant: "#0550ae",
538
+ "constant-other-reference-link": "#0a3069",
544
539
  entity: "#8250df",
545
540
  storage: {
546
541
  modifier: {
@@ -548,20 +543,23 @@ exports.default = {
548
543
  },
549
544
  },
550
545
  "entity-tag": "#0550ae",
551
- keyword: "#b35900",
546
+ keyword: "#bc4c00",
552
547
  string: "#0a3069",
553
- variable: "#8a4600",
548
+ variable: "#953800",
554
549
  brackethighlighter: {
550
+ unmatched: "#762c00",
555
551
  angle: "#57606a",
556
552
  },
557
553
  invalid: {
558
554
  illegal: {
559
- bg: "#6f3800",
555
+ text: "#f6f8fa",
556
+ bg: "#762c00",
560
557
  },
561
558
  },
562
559
  carriage: {
563
560
  return: {
564
- bg: "#b35900",
561
+ text: "#f6f8fa",
562
+ bg: "#bc4c00",
565
563
  },
566
564
  },
567
565
  "string-regexp": "#0550ae",
@@ -571,16 +569,16 @@ exports.default = {
571
569
  italic: "#24292f",
572
570
  bold: "#24292f",
573
571
  deleted: {
574
- text: "#6f3800",
575
- bg: "#fff5e8",
572
+ text: "#762c00",
573
+ bg: "#fff1e5",
576
574
  },
577
575
  inserted: {
578
576
  text: "#0550ae",
579
577
  bg: "#ddf4ff",
580
578
  },
581
579
  changed: {
582
- text: "#8a4600",
583
- bg: "#ffddb0",
580
+ text: "#953800",
581
+ bg: "#ffd8b5",
584
582
  },
585
583
  ignored: {
586
584
  text: "#eaeef2",
@@ -652,28 +650,28 @@ exports.default = {
652
650
  "9": "#3b2300",
653
651
  },
654
652
  orange: {
655
- "0": "#fff5e8",
656
- "1": "#ffddb0",
657
- "2": "#ffbc6d",
658
- "3": "#f79939",
659
- "4": "#dd7815",
660
- "5": "#b35900",
661
- "6": "#8a4600",
662
- "7": "#6f3800",
663
- "8": "#572c00",
664
- "9": "#412000",
653
+ "0": "#fff1e5",
654
+ "1": "#ffd8b5",
655
+ "2": "#ffb77c",
656
+ "3": "#fb8f44",
657
+ "4": "#e16f24",
658
+ "5": "#bc4c00",
659
+ "6": "#953800",
660
+ "7": "#762c00",
661
+ "8": "#5c2200",
662
+ "9": "#471700",
665
663
  },
666
664
  red: {
667
- "0": "#fff5e8",
668
- "1": "#ffddb0",
669
- "2": "#ffbc6d",
670
- "3": "#f79939",
671
- "4": "#dd7815",
672
- "5": "#b35900",
673
- "6": "#8a4600",
674
- "7": "#6f3800",
675
- "8": "#572c00",
676
- "9": "#412000",
665
+ "0": "#fff1e5",
666
+ "1": "#ffd8b5",
667
+ "2": "#ffb77c",
668
+ "3": "#fb8f44",
669
+ "4": "#e16f24",
670
+ "5": "#bc4c00",
671
+ "6": "#953800",
672
+ "7": "#762c00",
673
+ "8": "#5c2200",
674
+ "9": "#471700",
677
675
  },
678
676
  purple: {
679
677
  "0": "#fbefff",
@@ -534,13 +534,8 @@ exports.default = {
534
534
  prettylights: {
535
535
  syntax: {
536
536
  comment: "#66707b",
537
- constant: {
538
- other: {
539
- reference: {
540
- link: "#032563",
541
- },
542
- },
543
- },
537
+ constant: "#023b95",
538
+ "constant-other-reference-link": "#032563",
544
539
  entity: "#622cbc",
545
540
  storage: {
546
541
  modifier: {
@@ -552,15 +547,18 @@ exports.default = {
552
547
  string: "#032563",
553
548
  variable: "#702c00",
554
549
  brackethighlighter: {
550
+ unmatched: "#6e011a",
555
551
  angle: "#4b535d",
556
552
  },
557
553
  invalid: {
558
554
  illegal: {
555
+ text: "#ffffff",
559
556
  bg: "#6e011a",
560
557
  },
561
558
  },
562
559
  carriage: {
563
560
  return: {
561
+ text: "#ffffff",
564
562
  bg: "#a0111f",
565
563
  },
566
564
  },
@@ -534,13 +534,8 @@ exports.default = {
534
534
  prettylights: {
535
535
  syntax: {
536
536
  comment: "#6e7781",
537
- constant: {
538
- other: {
539
- reference: {
540
- link: "#0a3069",
541
- },
542
- },
543
- },
537
+ constant: "#0550ae",
538
+ "constant-other-reference-link": "#0a3069",
544
539
  entity: "#8250df",
545
540
  storage: {
546
541
  modifier: {
@@ -552,15 +547,18 @@ exports.default = {
552
547
  string: "#0a3069",
553
548
  variable: "#a40e26",
554
549
  brackethighlighter: {
550
+ unmatched: "#82071e",
555
551
  angle: "#57606a",
556
552
  },
557
553
  invalid: {
558
554
  illegal: {
555
+ text: "#f6f8fa",
559
556
  bg: "#82071e",
560
557
  },
561
558
  },
562
559
  carriage: {
563
560
  return: {
561
+ text: "#f6f8fa",
564
562
  bg: "#cf222e",
565
563
  },
566
564
  },
@@ -534,13 +534,8 @@ exports.default = {
534
534
  prettylights: {
535
535
  syntax: {
536
536
  comment: "#6e7781",
537
- constant: {
538
- other: {
539
- reference: {
540
- link: "#0a3069",
541
- },
542
- },
543
- },
537
+ constant: "#0550ae",
538
+ "constant-other-reference-link": "#0a3069",
544
539
  entity: "#8250df",
545
540
  storage: {
546
541
  modifier: {
@@ -552,15 +547,18 @@ exports.default = {
552
547
  string: "#0a3069",
553
548
  variable: "#953800",
554
549
  brackethighlighter: {
550
+ unmatched: "#82071e",
555
551
  angle: "#57606a",
556
552
  },
557
553
  invalid: {
558
554
  illegal: {
555
+ text: "#f6f8fa",
559
556
  bg: "#82071e",
560
557
  },
561
558
  },
562
559
  carriage: {
563
560
  return: {
561
+ text: "#f6f8fa",
564
562
  bg: "#cf222e",
565
563
  },
566
564
  },