@primer/primitives 7.11.8-rc.d8dbbf1 → 7.11.8-rc.ec564b0

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 +136 -132
  3. package/tokens-next-private/css/functional/themes/dark-dimmed.css +6 -2
  4. package/tokens-next-private/css/functional/themes/dark-high-contrast.css +6 -2
  5. package/tokens-next-private/css/functional/themes/dark-tritanopia.css +6 -2
  6. package/tokens-next-private/css/functional/themes/dark.css +6 -2
  7. package/tokens-next-private/css/functional/themes/light-colorblind.css +138 -130
  8. package/tokens-next-private/css/functional/themes/light-high-contrast.css +10 -2
  9. package/tokens-next-private/css/functional/themes/light-tritanopia.css +10 -2
  10. package/tokens-next-private/css/functional/themes/light.css +10 -2
  11. package/tokens-next-private/docs/functional/themes/dark-colorblind.json +97 -71
  12. package/tokens-next-private/docs/functional/themes/dark-dimmed.json +31 -5
  13. package/tokens-next-private/docs/functional/themes/dark-high-contrast.json +31 -5
  14. package/tokens-next-private/docs/functional/themes/dark-tritanopia.json +31 -5
  15. package/tokens-next-private/docs/functional/themes/dark.json +31 -5
  16. package/tokens-next-private/docs/functional/themes/light-colorblind.json +123 -71
  17. package/tokens-next-private/docs/functional/themes/light-high-contrast.json +57 -5
  18. package/tokens-next-private/docs/functional/themes/light-tritanopia.json +57 -5
  19. package/tokens-next-private/docs/functional/themes/light.json +57 -5
  20. package/tokens-next-private/js/functional/themes/dark-colorblind.js +68 -72
  21. package/tokens-next-private/js/functional/themes/dark-dimmed.js +3 -7
  22. package/tokens-next-private/js/functional/themes/dark-high-contrast.js +3 -7
  23. package/tokens-next-private/js/functional/themes/dark-tritanopia.js +3 -7
  24. package/tokens-next-private/js/functional/themes/dark.js +3 -7
  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 +69 -73
  30. package/tokens-next-private/json/functional/themes/dark-dimmed.json +4 -8
  31. package/tokens-next-private/json/functional/themes/dark-high-contrast.json +4 -8
  32. package/tokens-next-private/json/functional/themes/dark-tritanopia.json +4 -8
  33. package/tokens-next-private/json/functional/themes/dark.json +4 -8
  34. package/tokens-next-private/json/functional/themes/light-colorblind.json +70 -72
  35. package/tokens-next-private/json/functional/themes/light-high-contrast.json +6 -8
  36. package/tokens-next-private/json/functional/themes/light-tritanopia.json +6 -8
  37. package/tokens-next-private/json/functional/themes/light.json +6 -8
  38. package/tokens-next-private/scss/functional/themes/dark-colorblind.scss +68 -66
  39. package/tokens-next-private/scss/functional/themes/dark-dimmed.scss +3 -1
  40. package/tokens-next-private/scss/functional/themes/dark-high-contrast.scss +3 -1
  41. package/tokens-next-private/scss/functional/themes/dark-tritanopia.scss +3 -1
  42. package/tokens-next-private/scss/functional/themes/dark.scss +3 -1
  43. package/tokens-next-private/scss/functional/themes/light-colorblind.scss +69 -65
  44. package/tokens-next-private/scss/functional/themes/light-high-contrast.scss +5 -1
  45. package/tokens-next-private/scss/functional/themes/light-tritanopia.scss +5 -1
  46. package/tokens-next-private/scss/functional/themes/light.scss +5 -1
  47. package/tokens-next-private/ts/functional/themes/dark-colorblind.ts +68 -72
  48. package/tokens-next-private/ts/functional/themes/dark-dimmed.ts +3 -7
  49. package/tokens-next-private/ts/functional/themes/dark-high-contrast.ts +3 -7
  50. package/tokens-next-private/ts/functional/themes/dark-tritanopia.ts +3 -7
  51. package/tokens-next-private/ts/functional/themes/dark.ts +3 -7
  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
@@ -3591,18 +3591,18 @@
3591
3591
  "attributes": {},
3592
3592
  "path": ["color", "prettylights", "syntax", "comment"]
3593
3593
  },
3594
- "color-prettylights-syntax-constant-other-reference-link": {
3595
- "value": "#96d0ff",
3594
+ "color-prettylights-syntax-constant": {
3595
+ "value": "#6cb6ff",
3596
3596
  "$type": "color",
3597
3597
  "filePath": "src/tokens/functional/color/dark/syntax-dark.json5",
3598
3598
  "isSource": true,
3599
3599
  "original": {
3600
- "value": "{base.color.blue.1}",
3600
+ "value": "{base.color.blue.2}",
3601
3601
  "$type": "color"
3602
3602
  },
3603
- "name": "color-prettylights-syntax-constant-other-reference-link",
3603
+ "name": "color-prettylights-syntax-constant",
3604
3604
  "attributes": {},
3605
- "path": ["color", "prettylights", "syntax", "constant", "other", "reference", "link"]
3605
+ "path": ["color", "prettylights", "syntax", "constant"]
3606
3606
  },
3607
3607
  "color-prettylights-syntax-entity": {
3608
3608
  "value": "#dcbdfb",
@@ -3682,6 +3682,19 @@
3682
3682
  "attributes": {},
3683
3683
  "path": ["color", "prettylights", "syntax", "variable"]
3684
3684
  },
3685
+ "color-prettylights-syntax-brackethighlighter-unmatched": {
3686
+ "value": "#e5534b",
3687
+ "$type": "color",
3688
+ "filePath": "src/tokens/functional/color/dark/syntax-dark.json5",
3689
+ "isSource": true,
3690
+ "original": {
3691
+ "value": "{base.color.red.4}",
3692
+ "$type": "color"
3693
+ },
3694
+ "name": "color-prettylights-syntax-brackethighlighter-unmatched",
3695
+ "attributes": {},
3696
+ "path": ["color", "prettylights", "syntax", "brackethighlighter", "unmatched"]
3697
+ },
3685
3698
  "color-prettylights-syntax-brackethighlighter-angle": {
3686
3699
  "value": "#768390",
3687
3700
  "$type": "color",
@@ -3916,6 +3929,19 @@
3916
3929
  "attributes": {},
3917
3930
  "path": ["color", "prettylights", "syntax", "sublimelinter", "gutter", "mark"]
3918
3931
  },
3932
+ "color-prettylights-syntax-constant-other-reference-link": {
3933
+ "value": "#96d0ff",
3934
+ "$type": "color",
3935
+ "filePath": "src/tokens/functional/color/dark/syntax-dark.json5",
3936
+ "isSource": true,
3937
+ "original": {
3938
+ "value": "{base.color.blue.1}",
3939
+ "$type": "color"
3940
+ },
3941
+ "name": "color-prettylights-syntax-constant-other-reference-link",
3942
+ "attributes": {},
3943
+ "path": ["color", "prettylights", "syntax", "constant-other-reference-link"]
3944
+ },
3919
3945
  "color-scale-black": {
3920
3946
  "value": "#1c2128",
3921
3947
  "$type": "color",
@@ -3595,18 +3595,18 @@
3595
3595
  "attributes": {},
3596
3596
  "path": ["color", "prettylights", "syntax", "comment"]
3597
3597
  },
3598
- "color-prettylights-syntax-constant-other-reference-link": {
3599
- "value": "#addcff",
3598
+ "color-prettylights-syntax-constant": {
3599
+ "value": "#91cbff",
3600
3600
  "$type": "color",
3601
3601
  "filePath": "src/tokens/functional/color/dark/syntax-dark.json5",
3602
3602
  "isSource": true,
3603
3603
  "original": {
3604
- "value": "{base.color.blue.1}",
3604
+ "value": "{base.color.blue.2}",
3605
3605
  "$type": "color"
3606
3606
  },
3607
- "name": "color-prettylights-syntax-constant-other-reference-link",
3607
+ "name": "color-prettylights-syntax-constant",
3608
3608
  "attributes": {},
3609
- "path": ["color", "prettylights", "syntax", "constant", "other", "reference", "link"]
3609
+ "path": ["color", "prettylights", "syntax", "constant"]
3610
3610
  },
3611
3611
  "color-prettylights-syntax-entity": {
3612
3612
  "value": "#dbb7ff",
@@ -3686,6 +3686,19 @@
3686
3686
  "attributes": {},
3687
3687
  "path": ["color", "prettylights", "syntax", "variable"]
3688
3688
  },
3689
+ "color-prettylights-syntax-brackethighlighter-unmatched": {
3690
+ "value": "#ff6a69",
3691
+ "$type": "color",
3692
+ "filePath": "src/tokens/functional/color/dark/syntax-dark.json5",
3693
+ "isSource": true,
3694
+ "original": {
3695
+ "value": "{base.color.red.4}",
3696
+ "$type": "color"
3697
+ },
3698
+ "name": "color-prettylights-syntax-brackethighlighter-unmatched",
3699
+ "attributes": {},
3700
+ "path": ["color", "prettylights", "syntax", "brackethighlighter", "unmatched"]
3701
+ },
3689
3702
  "color-prettylights-syntax-brackethighlighter-angle": {
3690
3703
  "value": "#bdc4cc",
3691
3704
  "$type": "color",
@@ -3920,6 +3933,19 @@
3920
3933
  "attributes": {},
3921
3934
  "path": ["color", "prettylights", "syntax", "sublimelinter", "gutter", "mark"]
3922
3935
  },
3936
+ "color-prettylights-syntax-constant-other-reference-link": {
3937
+ "value": "#addcff",
3938
+ "$type": "color",
3939
+ "filePath": "src/tokens/functional/color/dark/syntax-dark.json5",
3940
+ "isSource": true,
3941
+ "original": {
3942
+ "value": "{base.color.blue.1}",
3943
+ "$type": "color"
3944
+ },
3945
+ "name": "color-prettylights-syntax-constant-other-reference-link",
3946
+ "attributes": {},
3947
+ "path": ["color", "prettylights", "syntax", "constant-other-reference-link"]
3948
+ },
3923
3949
  "color-scale-black": {
3924
3950
  "value": "#010409",
3925
3951
  "$type": "color",
@@ -3591,18 +3591,18 @@
3591
3591
  "attributes": {},
3592
3592
  "path": ["color", "prettylights", "syntax", "comment"]
3593
3593
  },
3594
- "color-prettylights-syntax-constant-other-reference-link": {
3595
- "value": "#a5d6ff",
3594
+ "color-prettylights-syntax-constant": {
3595
+ "value": "#79c0ff",
3596
3596
  "$type": "color",
3597
3597
  "filePath": "src/tokens/functional/color/dark/syntax-dark.json5",
3598
3598
  "isSource": true,
3599
3599
  "original": {
3600
- "value": "{base.color.blue.1}",
3600
+ "value": "{base.color.blue.2}",
3601
3601
  "$type": "color"
3602
3602
  },
3603
- "name": "color-prettylights-syntax-constant-other-reference-link",
3603
+ "name": "color-prettylights-syntax-constant",
3604
3604
  "attributes": {},
3605
- "path": ["color", "prettylights", "syntax", "constant", "other", "reference", "link"]
3605
+ "path": ["color", "prettylights", "syntax", "constant"]
3606
3606
  },
3607
3607
  "color-prettylights-syntax-entity": {
3608
3608
  "value": "#d2a8ff",
@@ -3682,6 +3682,19 @@
3682
3682
  "attributes": {},
3683
3683
  "path": ["color", "prettylights", "syntax", "variable"]
3684
3684
  },
3685
+ "color-prettylights-syntax-brackethighlighter-unmatched": {
3686
+ "value": "#f85149",
3687
+ "$type": "color",
3688
+ "filePath": "src/tokens/functional/color/dark/syntax-dark.json5",
3689
+ "isSource": true,
3690
+ "original": {
3691
+ "value": "{base.color.red.4}",
3692
+ "$type": "color"
3693
+ },
3694
+ "name": "color-prettylights-syntax-brackethighlighter-unmatched",
3695
+ "attributes": {},
3696
+ "path": ["color", "prettylights", "syntax", "brackethighlighter", "unmatched"]
3697
+ },
3685
3698
  "color-prettylights-syntax-brackethighlighter-angle": {
3686
3699
  "value": "#8b949e",
3687
3700
  "$type": "color",
@@ -3916,6 +3929,19 @@
3916
3929
  "attributes": {},
3917
3930
  "path": ["color", "prettylights", "syntax", "sublimelinter", "gutter", "mark"]
3918
3931
  },
3932
+ "color-prettylights-syntax-constant-other-reference-link": {
3933
+ "value": "#a5d6ff",
3934
+ "$type": "color",
3935
+ "filePath": "src/tokens/functional/color/dark/syntax-dark.json5",
3936
+ "isSource": true,
3937
+ "original": {
3938
+ "value": "{base.color.blue.1}",
3939
+ "$type": "color"
3940
+ },
3941
+ "name": "color-prettylights-syntax-constant-other-reference-link",
3942
+ "attributes": {},
3943
+ "path": ["color", "prettylights", "syntax", "constant-other-reference-link"]
3944
+ },
3919
3945
  "color-scale-black": {
3920
3946
  "value": "#010409",
3921
3947
  "$type": "color",
@@ -3591,18 +3591,18 @@
3591
3591
  "attributes": {},
3592
3592
  "path": ["color", "prettylights", "syntax", "comment"]
3593
3593
  },
3594
- "color-prettylights-syntax-constant-other-reference-link": {
3595
- "value": "#a5d6ff",
3594
+ "color-prettylights-syntax-constant": {
3595
+ "value": "#79c0ff",
3596
3596
  "$type": "color",
3597
3597
  "filePath": "src/tokens/functional/color/dark/syntax-dark.json5",
3598
3598
  "isSource": true,
3599
3599
  "original": {
3600
- "value": "{base.color.blue.1}",
3600
+ "value": "{base.color.blue.2}",
3601
3601
  "$type": "color"
3602
3602
  },
3603
- "name": "color-prettylights-syntax-constant-other-reference-link",
3603
+ "name": "color-prettylights-syntax-constant",
3604
3604
  "attributes": {},
3605
- "path": ["color", "prettylights", "syntax", "constant", "other", "reference", "link"]
3605
+ "path": ["color", "prettylights", "syntax", "constant"]
3606
3606
  },
3607
3607
  "color-prettylights-syntax-entity": {
3608
3608
  "value": "#d2a8ff",
@@ -3682,6 +3682,19 @@
3682
3682
  "attributes": {},
3683
3683
  "path": ["color", "prettylights", "syntax", "variable"]
3684
3684
  },
3685
+ "color-prettylights-syntax-brackethighlighter-unmatched": {
3686
+ "value": "#f85149",
3687
+ "$type": "color",
3688
+ "filePath": "src/tokens/functional/color/dark/syntax-dark.json5",
3689
+ "isSource": true,
3690
+ "original": {
3691
+ "value": "{base.color.red.4}",
3692
+ "$type": "color"
3693
+ },
3694
+ "name": "color-prettylights-syntax-brackethighlighter-unmatched",
3695
+ "attributes": {},
3696
+ "path": ["color", "prettylights", "syntax", "brackethighlighter", "unmatched"]
3697
+ },
3685
3698
  "color-prettylights-syntax-brackethighlighter-angle": {
3686
3699
  "value": "#8b949e",
3687
3700
  "$type": "color",
@@ -3916,6 +3929,19 @@
3916
3929
  "attributes": {},
3917
3930
  "path": ["color", "prettylights", "syntax", "sublimelinter", "gutter", "mark"]
3918
3931
  },
3932
+ "color-prettylights-syntax-constant-other-reference-link": {
3933
+ "value": "#a5d6ff",
3934
+ "$type": "color",
3935
+ "filePath": "src/tokens/functional/color/dark/syntax-dark.json5",
3936
+ "isSource": true,
3937
+ "original": {
3938
+ "value": "{base.color.blue.1}",
3939
+ "$type": "color"
3940
+ },
3941
+ "name": "color-prettylights-syntax-constant-other-reference-link",
3942
+ "attributes": {},
3943
+ "path": ["color", "prettylights", "syntax", "constant-other-reference-link"]
3944
+ },
3919
3945
  "color-scale-black": {
3920
3946
  "value": "#010409",
3921
3947
  "$type": "color",