@primer/primitives 7.11.3-rc.7a5424f → 7.11.4-rc.d9e91ef

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 (188) hide show
  1. package/dist/js/colors/dark_colorblind.js +4 -4
  2. package/dist/js/colors/dark_high_contrast.js +4 -4
  3. package/dist/js/colors/dark_tritanopia.js +4 -4
  4. package/dist/js/colors/light_colorblind.js +6 -6
  5. package/dist/js/colors/light_tritanopia.js +6 -6
  6. package/dist/json/colors/dark_colorblind.json +4 -4
  7. package/dist/json/colors/dark_high_contrast.json +4 -4
  8. package/dist/json/colors/dark_tritanopia.json +4 -4
  9. package/dist/json/colors/light_colorblind.json +6 -6
  10. package/dist/json/colors/light_tritanopia.json +6 -6
  11. package/dist/scss/colors/_dark_colorblind.scss +4 -4
  12. package/dist/scss/colors/_dark_high_contrast.scss +4 -4
  13. package/dist/scss/colors/_dark_tritanopia.scss +4 -4
  14. package/dist/scss/colors/_light_colorblind.scss +6 -6
  15. package/dist/scss/colors/_light_tritanopia.scss +6 -6
  16. package/dist/ts/colors/dark_colorblind.ts +4 -4
  17. package/dist/ts/colors/dark_high_contrast.ts +4 -4
  18. package/dist/ts/colors/dark_tritanopia.ts +4 -4
  19. package/dist/ts/colors/light_colorblind.ts +6 -6
  20. package/dist/ts/colors/light_tritanopia.ts +6 -6
  21. package/package.json +7 -3
  22. package/tokens-next-private/css/base/color/dark-colorblind.css +1 -1
  23. package/tokens-next-private/css/base/color/dark-dimmed.css +1 -1
  24. package/tokens-next-private/css/base/color/dark-high-contrast.css +1 -1
  25. package/tokens-next-private/css/base/color/dark-tritanopia.css +1 -1
  26. package/tokens-next-private/css/base/color/dark.css +1 -1
  27. package/tokens-next-private/css/base/color/light-colorblind.css +1 -1
  28. package/tokens-next-private/css/base/color/light-high-contrast.css +1 -1
  29. package/tokens-next-private/css/base/color/light-tritanopia.css +1 -1
  30. package/tokens-next-private/css/base/color/light.css +1 -1
  31. package/tokens-next-private/css/base/size/size.css +1 -1
  32. package/tokens-next-private/css/base/typography/typography.css +1 -1
  33. package/tokens-next-private/css/functional/size/border.css +1 -1
  34. package/tokens-next-private/css/functional/size/breakpoints.css +1 -1
  35. package/tokens-next-private/css/functional/size/size-coarse.css +1 -1
  36. package/tokens-next-private/css/functional/size/size-fine.css +1 -1
  37. package/tokens-next-private/css/functional/size/size.css +1 -1
  38. package/tokens-next-private/css/functional/size/viewport.css +7 -9
  39. package/tokens-next-private/css/functional/themes/dark-colorblind.css +1 -1
  40. package/tokens-next-private/css/functional/themes/dark-dimmed.css +1 -1
  41. package/tokens-next-private/css/functional/themes/dark-high-contrast.css +1 -1
  42. package/tokens-next-private/css/functional/themes/dark-tritanopia.css +1 -1
  43. package/tokens-next-private/css/functional/themes/dark.css +1 -1
  44. package/tokens-next-private/css/functional/themes/light-colorblind.css +1 -1
  45. package/tokens-next-private/css/functional/themes/light-high-contrast.css +1 -1
  46. package/tokens-next-private/css/functional/themes/light-tritanopia.css +1 -1
  47. package/tokens-next-private/css/functional/themes/light.css +1 -1
  48. package/tokens-next-private/css/functional/typography/typography.css +1 -1
  49. package/tokens-next-private/docs/functional/size/viewport.json +18 -6
  50. package/tokens-next-private/js/base/color/dark-colorblind.js +1 -1
  51. package/tokens-next-private/js/base/color/dark-dimmed.js +1 -1
  52. package/tokens-next-private/js/base/color/dark-high-contrast.js +1 -1
  53. package/tokens-next-private/js/base/color/dark-tritanopia.js +1 -1
  54. package/tokens-next-private/js/base/color/dark.js +1 -1
  55. package/tokens-next-private/js/base/color/light-colorblind.js +1 -1
  56. package/tokens-next-private/js/base/color/light-high-contrast.js +1 -1
  57. package/tokens-next-private/js/base/color/light-tritanopia.js +1 -1
  58. package/tokens-next-private/js/base/color/light.js +1 -1
  59. package/tokens-next-private/js/base/size/size.js +1 -1
  60. package/tokens-next-private/js/base/typography/typography.js +1 -1
  61. package/tokens-next-private/js/functional/size/border.js +1 -1
  62. package/tokens-next-private/js/functional/size/breakpoints.js +1 -1
  63. package/tokens-next-private/js/functional/size/size-coarse.js +1 -1
  64. package/tokens-next-private/js/functional/size/size-fine.js +1 -1
  65. package/tokens-next-private/js/functional/size/size.js +1 -1
  66. package/tokens-next-private/js/functional/size/viewport.js +1 -1
  67. package/tokens-next-private/js/functional/themes/dark-colorblind.js +1 -1
  68. package/tokens-next-private/js/functional/themes/dark-dimmed.js +1 -1
  69. package/tokens-next-private/js/functional/themes/dark-high-contrast.js +1 -1
  70. package/tokens-next-private/js/functional/themes/dark-tritanopia.js +1 -1
  71. package/tokens-next-private/js/functional/themes/dark.js +1 -1
  72. package/tokens-next-private/js/functional/themes/light-colorblind.js +1 -1
  73. package/tokens-next-private/js/functional/themes/light-high-contrast.js +1 -1
  74. package/tokens-next-private/js/functional/themes/light-tritanopia.js +1 -1
  75. package/tokens-next-private/js/functional/themes/light.js +1 -1
  76. package/tokens-next-private/js/functional/typography/typography.js +1 -1
  77. package/tokens-next-private/scss/base/color/dark-colorblind.scss +1 -1
  78. package/tokens-next-private/scss/base/color/dark-dimmed.scss +1 -1
  79. package/tokens-next-private/scss/base/color/dark-high-contrast.scss +1 -1
  80. package/tokens-next-private/scss/base/color/dark-tritanopia.scss +1 -1
  81. package/tokens-next-private/scss/base/color/dark.scss +1 -1
  82. package/tokens-next-private/scss/base/color/light-colorblind.scss +1 -1
  83. package/tokens-next-private/scss/base/color/light-high-contrast.scss +1 -1
  84. package/tokens-next-private/scss/base/color/light-tritanopia.scss +1 -1
  85. package/tokens-next-private/scss/base/color/light.scss +1 -1
  86. package/tokens-next-private/scss/base/size/size.scss +1 -1
  87. package/tokens-next-private/scss/base/typography/typography.scss +1 -1
  88. package/tokens-next-private/scss/functional/size/border.scss +1 -1
  89. package/tokens-next-private/scss/functional/size/breakpoints.scss +1 -1
  90. package/tokens-next-private/scss/functional/size/size-coarse.scss +1 -1
  91. package/tokens-next-private/scss/functional/size/size-fine.scss +1 -1
  92. package/tokens-next-private/scss/functional/size/size.scss +1 -1
  93. package/tokens-next-private/scss/functional/size/viewport.scss +1 -1
  94. package/tokens-next-private/scss/functional/themes/dark-colorblind.scss +1 -1
  95. package/tokens-next-private/scss/functional/themes/dark-dimmed.scss +1 -1
  96. package/tokens-next-private/scss/functional/themes/dark-high-contrast.scss +1 -1
  97. package/tokens-next-private/scss/functional/themes/dark-tritanopia.scss +1 -1
  98. package/tokens-next-private/scss/functional/themes/dark.scss +1 -1
  99. package/tokens-next-private/scss/functional/themes/light-colorblind.scss +1 -1
  100. package/tokens-next-private/scss/functional/themes/light-high-contrast.scss +1 -1
  101. package/tokens-next-private/scss/functional/themes/light-tritanopia.scss +1 -1
  102. package/tokens-next-private/scss/functional/themes/light.scss +1 -1
  103. package/tokens-next-private/scss/functional/typography/typography.scss +1 -1
  104. package/tokens-next-private/ts/base/color/dark-colorblind.ts +1 -1
  105. package/tokens-next-private/ts/base/color/dark-dimmed.ts +1 -1
  106. package/tokens-next-private/ts/base/color/dark-high-contrast.ts +1 -1
  107. package/tokens-next-private/ts/base/color/dark-tritanopia.ts +1 -1
  108. package/tokens-next-private/ts/base/color/dark.ts +1 -1
  109. package/tokens-next-private/ts/base/color/light-colorblind.ts +1 -1
  110. package/tokens-next-private/ts/base/color/light-high-contrast.ts +1 -1
  111. package/tokens-next-private/ts/base/color/light-tritanopia.ts +1 -1
  112. package/tokens-next-private/ts/base/color/light.ts +1 -1
  113. package/tokens-next-private/ts/base/size/size.ts +1 -1
  114. package/tokens-next-private/ts/base/typography/typography.ts +1 -1
  115. package/tokens-next-private/ts/functional/size/border.ts +1 -1
  116. package/tokens-next-private/ts/functional/size/breakpoints.ts +1 -1
  117. package/tokens-next-private/ts/functional/size/size-coarse.ts +1 -1
  118. package/tokens-next-private/ts/functional/size/size-fine.ts +1 -1
  119. package/tokens-next-private/ts/functional/size/size.ts +1 -1
  120. package/tokens-next-private/ts/functional/size/viewport.ts +1 -1
  121. package/tokens-next-private/ts/functional/themes/dark-colorblind.ts +1 -1
  122. package/tokens-next-private/ts/functional/themes/dark-dimmed.ts +1 -1
  123. package/tokens-next-private/ts/functional/themes/dark-high-contrast.ts +1 -1
  124. package/tokens-next-private/ts/functional/themes/dark-tritanopia.ts +1 -1
  125. package/tokens-next-private/ts/functional/themes/dark.ts +1 -1
  126. package/tokens-next-private/ts/functional/themes/light-colorblind.ts +1 -1
  127. package/tokens-next-private/ts/functional/themes/light-high-contrast.ts +1 -1
  128. package/tokens-next-private/ts/functional/themes/light-tritanopia.ts +1 -1
  129. package/tokens-next-private/ts/functional/themes/light.ts +1 -1
  130. package/tokens-next-private/ts/functional/typography/typography.ts +1 -1
  131. package/tokens-next-private/ts/types/BaseColorDesignTokens.d.ts +1 -1
  132. package/tokens-next-private/ts/types/SizeDesignTokens.d.ts +1 -1
  133. package/tokens-next-private/ts/types/ThemeDesignTokens.d.ts +1 -1
  134. package/tokens-next-private/ts/types/TypographyDesignTokens.d.ts +1 -1
  135. package/tokens-v2-private/css/tokens/base/size/size.css +1 -1
  136. package/tokens-v2-private/css/tokens/base/typography/typography.css +1 -1
  137. package/tokens-v2-private/css/tokens/functional/size/border.css +1 -1
  138. package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +1 -1
  139. package/tokens-v2-private/css/tokens/functional/size/size-coarse.css +1 -1
  140. package/tokens-v2-private/css/tokens/functional/size/size-fine.css +1 -1
  141. package/tokens-v2-private/css/tokens/functional/size/size.css +1 -1
  142. package/tokens-v2-private/css/tokens/functional/typography/typography.css +1 -1
  143. package/tokens-v2-private/js/module/tokens/base/size/size.js +1 -1
  144. package/tokens-v2-private/js/module/tokens/base/typography/typography.js +1 -1
  145. package/tokens-v2-private/js/module/tokens/functional/size/border.js +1 -1
  146. package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +1 -1
  147. package/tokens-v2-private/js/module/tokens/functional/size/size-coarse.js +1 -1
  148. package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +1 -1
  149. package/tokens-v2-private/js/module/tokens/functional/size/size.js +1 -1
  150. package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +1 -1
  151. package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +1 -1
  152. package/tokens-v2-private/js/tokens/base/size/size.js +1 -1
  153. package/tokens-v2-private/js/tokens/base/typography/typography.js +1 -1
  154. package/tokens-v2-private/js/tokens/functional/size/border.js +1 -1
  155. package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +1 -1
  156. package/tokens-v2-private/js/tokens/functional/size/size-coarse.js +1 -1
  157. package/tokens-v2-private/js/tokens/functional/size/size-fine.js +1 -1
  158. package/tokens-v2-private/js/tokens/functional/size/size.js +1 -1
  159. package/tokens-v2-private/js/tokens/functional/size/viewport.js +1 -1
  160. package/tokens-v2-private/js/tokens/functional/typography/typography.js +1 -1
  161. package/tokens-v2-private/scss/tokens/base/size/size.scss +1 -1
  162. package/tokens-v2-private/scss/tokens/base/typography/typography.scss +1 -1
  163. package/tokens-v2-private/scss/tokens/functional/size/border.scss +1 -1
  164. package/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +1 -1
  165. package/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +1 -1
  166. package/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +1 -1
  167. package/tokens-v2-private/scss/tokens/functional/size/size.scss +1 -1
  168. package/tokens-v2-private/scss/tokens/functional/size/viewport.scss +1 -1
  169. package/tokens-v2-private/scss/tokens/functional/typography/typography.scss +1 -1
  170. package/tokens-v2-private/ts/tokens/base/size/size.d.ts +1 -1
  171. package/tokens-v2-private/ts/tokens/base/size/size.js +1 -1
  172. package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +1 -1
  173. package/tokens-v2-private/ts/tokens/base/typography/typography.js +1 -1
  174. package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +1 -1
  175. package/tokens-v2-private/ts/tokens/functional/size/border.js +1 -1
  176. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  177. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +1 -1
  178. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  179. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.js +1 -1
  180. package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +1 -1
  181. package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +1 -1
  182. package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +1 -1
  183. package/tokens-v2-private/ts/tokens/functional/size/size.js +1 -1
  184. package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +1 -1
  185. package/tokens-v2-private/ts/tokens/functional/size/viewport.js +1 -1
  186. package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +1 -1
  187. package/tokens-v2-private/ts/tokens/functional/typography/typography.js +1 -1
  188. package/dist/color-contrast-check.json +0 -1
@@ -99,7 +99,7 @@ export default {
99
99
  "containerBorderWidth": "1px",
100
100
  "textPrimary": "#e6edf3",
101
101
  "textSecondary": "#7d8590",
102
- "textLink": "#2f81f7",
102
+ "textLink": "#58a6ff",
103
103
  "btnIcon": "#7d8590",
104
104
  "btnHoverIcon": "#e6edf3",
105
105
  "btnHoverBg": "rgba(110,118,129,0.1)",
@@ -130,7 +130,7 @@ export default {
130
130
  "lineTimestampText": "#6e7681",
131
131
  "lineHoverBg": "rgba(110,118,129,0.1)",
132
132
  "lineSelectedBg": "rgba(56,139,253,0.1)",
133
- "lineSelectedNumText": "#2f81f7",
133
+ "lineSelectedNumText": "#58a6ff",
134
134
  "lineDtFmText": "#ffffff",
135
135
  "lineDtFmBg": "#9e6a03",
136
136
  "gateBg": "rgba(187,128,9,0.15)",
@@ -148,7 +148,7 @@ export default {
148
148
  "loglineWarningText": "#7d8590",
149
149
  "loglineWarningNumText": "#d29922",
150
150
  "loglineWarningBg": "rgba(187,128,9,0.15)",
151
- "loglineCommandText": "#2f81f7",
151
+ "loglineCommandText": "#58a6ff",
152
152
  "loglineSectionText": "#58a6ff",
153
153
  "ansi": {
154
154
  "black": "#0d1117",
@@ -418,7 +418,7 @@ export default {
418
418
  "subtle": "rgba(110,118,129,0.1)"
419
419
  },
420
420
  "accent": {
421
- "fg": "#2f81f7",
421
+ "fg": "#58a6ff",
422
422
  "emphasis": "#1f6feb",
423
423
  "muted": "rgba(56,139,253,0.4)",
424
424
  "subtle": "rgba(56,139,253,0.1)"
@@ -99,7 +99,7 @@ export default {
99
99
  "containerBorderWidth": "1px",
100
100
  "textPrimary": "#e6edf3",
101
101
  "textSecondary": "#f0f3f6",
102
- "textLink": "#2f81f7",
102
+ "textLink": "#71b7ff",
103
103
  "btnIcon": "#f0f3f6",
104
104
  "btnHoverIcon": "#e6edf3",
105
105
  "btnHoverBg": "rgba(158,167,179,0.1)",
@@ -130,7 +130,7 @@ export default {
130
130
  "lineTimestampText": "#9ea7b3",
131
131
  "lineHoverBg": "rgba(158,167,179,0.1)",
132
132
  "lineSelectedBg": "rgba(64,158,255,0.1)",
133
- "lineSelectedNumText": "#2f81f7",
133
+ "lineSelectedNumText": "#71b7ff",
134
134
  "lineDtFmText": "#0a0c10",
135
135
  "lineDtFmBg": "#e09b13",
136
136
  "gateBg": "rgba(224,155,19,0.15)",
@@ -148,7 +148,7 @@ export default {
148
148
  "loglineWarningText": "#f0f3f6",
149
149
  "loglineWarningNumText": "#f0b72f",
150
150
  "loglineWarningBg": "rgba(224,155,19,0.15)",
151
- "loglineCommandText": "#2f81f7",
151
+ "loglineCommandText": "#71b7ff",
152
152
  "loglineSectionText": "#26cd4d",
153
153
  "ansi": {
154
154
  "black": "#0a0c10",
@@ -418,7 +418,7 @@ export default {
418
418
  "subtle": "rgba(158,167,179,0.1)"
419
419
  },
420
420
  "accent": {
421
- "fg": "#2f81f7",
421
+ "fg": "#71b7ff",
422
422
  "emphasis": "#409eff",
423
423
  "muted": "#409eff",
424
424
  "subtle": "rgba(64,158,255,0.1)"
@@ -99,7 +99,7 @@ export default {
99
99
  "containerBorderWidth": "1px",
100
100
  "textPrimary": "#e6edf3",
101
101
  "textSecondary": "#7d8590",
102
- "textLink": "#2f81f7",
102
+ "textLink": "#58a6ff",
103
103
  "btnIcon": "#7d8590",
104
104
  "btnHoverIcon": "#e6edf3",
105
105
  "btnHoverBg": "rgba(110,118,129,0.1)",
@@ -130,7 +130,7 @@ export default {
130
130
  "lineTimestampText": "#6e7681",
131
131
  "lineHoverBg": "rgba(110,118,129,0.1)",
132
132
  "lineSelectedBg": "rgba(56,139,253,0.1)",
133
- "lineSelectedNumText": "#2f81f7",
133
+ "lineSelectedNumText": "#58a6ff",
134
134
  "lineDtFmText": "#ffffff",
135
135
  "lineDtFmBg": "#9e6a03",
136
136
  "gateBg": "rgba(187,128,9,0.15)",
@@ -148,7 +148,7 @@ export default {
148
148
  "loglineWarningText": "#7d8590",
149
149
  "loglineWarningNumText": "#d29922",
150
150
  "loglineWarningBg": "rgba(187,128,9,0.15)",
151
- "loglineCommandText": "#2f81f7",
151
+ "loglineCommandText": "#58a6ff",
152
152
  "loglineSectionText": "#58a6ff",
153
153
  "ansi": {
154
154
  "black": "#0d1117",
@@ -418,7 +418,7 @@ export default {
418
418
  "subtle": "rgba(110,118,129,0.1)"
419
419
  },
420
420
  "accent": {
421
- "fg": "#2f81f7",
421
+ "fg": "#58a6ff",
422
422
  "emphasis": "#1f6feb",
423
423
  "muted": "rgba(56,139,253,0.4)",
424
424
  "subtle": "rgba(56,139,253,0.1)"
@@ -31,7 +31,7 @@ export default {
31
31
  "diffstat": {
32
32
  "deletionBorder": "rgba(27,31,36,0.15)",
33
33
  "additionBorder": "rgba(27,31,36,0.15)",
34
- "additionBg": "#1f883d"
34
+ "additionBg": "#0969da"
35
35
  },
36
36
  "searchKeyword": {
37
37
  "hl": "#fff8c5"
@@ -110,7 +110,7 @@ export default {
110
110
  "inputShadow": "none",
111
111
  "donutError": "#dd7815",
112
112
  "donutPending": "#bf8700",
113
- "donutSuccess": "#1f883d",
113
+ "donutSuccess": "#0969da",
114
114
  "donutNeutral": "#afb8c1",
115
115
  "dropdownText": "#afb8c1",
116
116
  "dropdownBg": "#32383f",
@@ -268,7 +268,7 @@ export default {
268
268
  "counterBg": "rgba(27,31,36,0.08)",
269
269
  "primary": {
270
270
  "text": "#ffffff",
271
- "bg": "#1f883d",
271
+ "bg": "#0969da",
272
272
  "border": "rgba(27,31,36,0.15)",
273
273
  "shadow": "0 1px 0 rgba(27,31,36,0.1)",
274
274
  "insetShadow": "inset 0 1px 0 rgba(255,255,255,0.03)",
@@ -335,7 +335,7 @@ export default {
335
335
  "danger": {
336
336
  "hoverBg": "rgba(255,245,232,0.64)",
337
337
  "activeBg": "#fff5e8",
338
- "hoverText": "#d1242f"
338
+ "hoverText": "#b35900"
339
339
  }
340
340
  },
341
341
  "switchTrack": {
@@ -425,7 +425,7 @@ export default {
425
425
  },
426
426
  "success": {
427
427
  "fg": "#0969da",
428
- "emphasis": "#1f883d",
428
+ "emphasis": "#0969da",
429
429
  "muted": "rgba(84,174,255,0.4)",
430
430
  "subtle": "#ddf4ff"
431
431
  },
@@ -442,7 +442,7 @@ export default {
442
442
  "subtle": "#fff5e8"
443
443
  },
444
444
  "danger": {
445
- "fg": "#d1242f",
445
+ "fg": "#b35900",
446
446
  "emphasis": "#b35900",
447
447
  "muted": "rgba(247,153,57,0.4)",
448
448
  "subtle": "#fff5e8"
@@ -31,7 +31,7 @@ export default {
31
31
  "diffstat": {
32
32
  "deletionBorder": "rgba(27,31,36,0.15)",
33
33
  "additionBorder": "rgba(27,31,36,0.15)",
34
- "additionBg": "#1f883d"
34
+ "additionBg": "#0969da"
35
35
  },
36
36
  "searchKeyword": {
37
37
  "hl": "#fff8c5"
@@ -110,7 +110,7 @@ export default {
110
110
  "inputShadow": "none",
111
111
  "donutError": "#fa4549",
112
112
  "donutPending": "#bf8700",
113
- "donutSuccess": "#1f883d",
113
+ "donutSuccess": "#0969da",
114
114
  "donutNeutral": "#afb8c1",
115
115
  "dropdownText": "#afb8c1",
116
116
  "dropdownBg": "#32383f",
@@ -268,7 +268,7 @@ export default {
268
268
  "counterBg": "rgba(27,31,36,0.08)",
269
269
  "primary": {
270
270
  "text": "#ffffff",
271
- "bg": "#1f883d",
271
+ "bg": "#0969da",
272
272
  "border": "rgba(27,31,36,0.15)",
273
273
  "shadow": "0 1px 0 rgba(27,31,36,0.1)",
274
274
  "insetShadow": "inset 0 1px 0 rgba(255,255,255,0.03)",
@@ -335,7 +335,7 @@ export default {
335
335
  "danger": {
336
336
  "hoverBg": "rgba(255,235,233,0.64)",
337
337
  "activeBg": "#ffebe9",
338
- "hoverText": "#d1242f"
338
+ "hoverText": "#cf222e"
339
339
  }
340
340
  },
341
341
  "switchTrack": {
@@ -425,7 +425,7 @@ export default {
425
425
  },
426
426
  "success": {
427
427
  "fg": "#0969da",
428
- "emphasis": "#1f883d",
428
+ "emphasis": "#0969da",
429
429
  "muted": "rgba(84,174,255,0.4)",
430
430
  "subtle": "#ddf4ff"
431
431
  },
@@ -442,7 +442,7 @@ export default {
442
442
  "subtle": "#ffebe9"
443
443
  },
444
444
  "danger": {
445
- "fg": "#d1242f",
445
+ "fg": "#cf222e",
446
446
  "emphasis": "#cf222e",
447
447
  "muted": "rgba(255,129,130,0.4)",
448
448
  "subtle": "#ffebe9"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/primitives",
3
- "version": "7.11.3-rc.7a5424f",
3
+ "version": "7.11.4-rc.d9e91ef",
4
4
  "description": "Typography, spacing, and color primitives for Primer design system",
5
5
  "files": [
6
6
  "dist",
@@ -31,8 +31,8 @@
31
31
  "build:next": "ts-node -r tsconfig-paths/register ./scripts/buildTokens.ts",
32
32
  "build:tokens": "node -e \"require('./build')._init()\"",
33
33
  "build:new-tokens": "npm run build:tokens && npm run build:next",
34
- "check:tokenJson": "ts-node scripts/diffThemes.ts && ts-node scripts/diffTokenProps.ts",
35
- "contrast-check": "npx ts-node ./scripts/color-contrast.ts",
34
+ "tokenJson:check": "ts-node scripts/diffThemes.ts && ts-node scripts/diffTokenProps.ts",
35
+ "contrast:check": "ts-node -e \"require('./scripts/color-contrast').check()\"",
36
36
  "format": "prettier --write '**/*.{js,jsx,ts,tsx,md,mdx,css}'",
37
37
  "format:check": "prettier --check '**/*.{js,jsx,ts,tsx,md,mdx,css}'",
38
38
  "install:docs": "cd docs && npm ci --legacy-peer-deps --no-audit --no-fund --include=dev",
@@ -52,6 +52,7 @@
52
52
  },
53
53
  "prettier": "@github/prettier-config",
54
54
  "devDependencies": {
55
+ "@actions/github": "^5.1.1",
55
56
  "@changesets/changelog-github": "^0.4.8",
56
57
  "@changesets/cli": "^2.22.0",
57
58
  "@github/prettier-config": "^0.0.6",
@@ -88,5 +89,8 @@
88
89
  "ts-node": "^10.9.1",
89
90
  "tsconfig-paths": "^4.1.0",
90
91
  "typescript": "^4.9.3"
92
+ },
93
+ "dependencies": {
94
+ "markdown-table-ts": "^1.0.3"
91
95
  }
92
96
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 29 Mar 2023 13:05:47 GMT
3
+ * Generated on Wed, 05 Apr 2023 02:07:16 GMT
4
4
  */
5
5
 
6
6
  [data-color-mode="dark"][data-dark-theme="dark_colorblind"],
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 29 Mar 2023 13:05:46 GMT
3
+ * Generated on Wed, 05 Apr 2023 02:07:15 GMT
4
4
  */
5
5
 
6
6
  [data-color-mode="dark"][data-dark-theme="dark_dimmed"],
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 29 Mar 2023 13:05:48 GMT
3
+ * Generated on Wed, 05 Apr 2023 02:07:17 GMT
4
4
  */
5
5
 
6
6
  [data-color-mode="dark"][data-dark-theme="dark_high_contrast"],
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 29 Mar 2023 13:05:47 GMT
3
+ * Generated on Wed, 05 Apr 2023 02:07:16 GMT
4
4
  */
5
5
 
6
6
  [data-color-mode="dark"][data-dark-theme="dark_tritanopia"],
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 29 Mar 2023 13:05:46 GMT
3
+ * Generated on Wed, 05 Apr 2023 02:07:14 GMT
4
4
  */
5
5
 
6
6
  [data-color-mode="dark"][data-dark-theme="dark"],
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 29 Mar 2023 13:05:44 GMT
3
+ * Generated on Wed, 05 Apr 2023 02:07:13 GMT
4
4
  */
5
5
 
6
6
  [data-color-mode="light"][data-light-theme="light_colorblind"],
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 29 Mar 2023 13:05:45 GMT
3
+ * Generated on Wed, 05 Apr 2023 02:07:14 GMT
4
4
  */
5
5
 
6
6
  [data-color-mode="light"][data-light-theme="light_high_contrast"],
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 29 Mar 2023 13:05:44 GMT
3
+ * Generated on Wed, 05 Apr 2023 02:07:12 GMT
4
4
  */
5
5
 
6
6
  [data-color-mode="light"][data-light-theme="light_tritanopia"],
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 29 Mar 2023 13:05:43 GMT
3
+ * Generated on Wed, 05 Apr 2023 02:07:11 GMT
4
4
  */
5
5
 
6
6
  [data-color-mode="light"][data-light-theme="light"],
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 29 Mar 2023 13:05:48 GMT
3
+ * Generated on Wed, 05 Apr 2023 02:07:17 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 29 Mar 2023 13:05:48 GMT
3
+ * Generated on Wed, 05 Apr 2023 02:07:17 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 29 Mar 2023 13:05:48 GMT
3
+ * Generated on Wed, 05 Apr 2023 02:07:17 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 29 Mar 2023 13:05:48 GMT
3
+ * Generated on Wed, 05 Apr 2023 02:07:17 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 29 Mar 2023 13:05:48 GMT
3
+ * Generated on Wed, 05 Apr 2023 02:07:17 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 29 Mar 2023 13:05:48 GMT
3
+ * Generated on Wed, 05 Apr 2023 02:07:17 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 29 Mar 2023 13:05:48 GMT
3
+ * Generated on Wed, 05 Apr 2023 02:07:17 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,13 +1,11 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 29 Mar 2023 13:05:48 GMT
3
+ * Generated on Wed, 05 Apr 2023 02:07:17 GMT
4
4
  */
5
5
 
6
- :root {
7
- --viewportRange-narrow: (max-width: calc(48rem - 0.02px));
8
- --viewportRange-narrowLandscape: (max-width: calc(63.25rem - 0.02px) and (max-height: calc(34rem - 0.02px)) and (orientation: landscape));
9
- --viewportRange-regular: (min-width: 48rem);
10
- --viewportRange-wide: (min-width: 90rem);
11
- --viewportRange-portrait: (orientation: portrait);
12
- --viewportRange-landscape: (orientation: landscape);
13
- }
6
+ @custom-media --viewportRange-narrow-viewport (max-width: calc(48rem - 0.02px));
7
+ @custom-media --viewportRange-narrowLandscape-viewport (max-width: calc(63.25rem - 0.02px) and (max-height: calc(34rem - 0.02px)) and (orientation: landscape));
8
+ @custom-media --viewportRange-regular-viewport (min-width: 48rem);
9
+ @custom-media --viewportRange-wide-viewport (min-width: 90rem);
10
+ @custom-media --viewportRange-portrait-viewport (orientation: portrait);
11
+ @custom-media --viewportRange-landscape-viewport (orientation: landscape);
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 29 Mar 2023 13:05:47 GMT
3
+ * Generated on Wed, 05 Apr 2023 02:07:16 GMT
4
4
  */
5
5
 
6
6
  [data-color-mode="dark"][data-dark-theme="dark_colorblind"],
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 29 Mar 2023 13:05:46 GMT
3
+ * Generated on Wed, 05 Apr 2023 02:07:14 GMT
4
4
  */
5
5
 
6
6
  [data-color-mode="dark"][data-dark-theme="dark_dimmed"],
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 29 Mar 2023 13:05:47 GMT
3
+ * Generated on Wed, 05 Apr 2023 02:07:16 GMT
4
4
  */
5
5
 
6
6
  [data-color-mode="dark"][data-dark-theme="dark_high_contrast"],
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 29 Mar 2023 13:05:46 GMT
3
+ * Generated on Wed, 05 Apr 2023 02:07:15 GMT
4
4
  */
5
5
 
6
6
  [data-color-mode="dark"][data-dark-theme="dark_tritanopia"],
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 29 Mar 2023 13:05:45 GMT
3
+ * Generated on Wed, 05 Apr 2023 02:07:14 GMT
4
4
  */
5
5
 
6
6
  [data-color-mode="dark"][data-dark-theme="dark"],
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 29 Mar 2023 13:05:44 GMT
3
+ * Generated on Wed, 05 Apr 2023 02:07:12 GMT
4
4
  */
5
5
 
6
6
  [data-color-mode="light"][data-light-theme="light_colorblind"],
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 29 Mar 2023 13:05:45 GMT
3
+ * Generated on Wed, 05 Apr 2023 02:07:13 GMT
4
4
  */
5
5
 
6
6
  [data-color-mode="light"][data-light-theme="light_high_contrast"],
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 29 Mar 2023 13:05:43 GMT
3
+ * Generated on Wed, 05 Apr 2023 02:07:12 GMT
4
4
  */
5
5
 
6
6
  [data-color-mode="light"][data-light-theme="light_tritanopia"],
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 29 Mar 2023 13:05:41 GMT
3
+ * Generated on Wed, 05 Apr 2023 02:07:10 GMT
4
4
  */
5
5
 
6
6
  [data-color-mode="light"][data-light-theme="light"],
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 29 Mar 2023 13:05:48 GMT
3
+ * Generated on Wed, 05 Apr 2023 02:07:17 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -2,10 +2,12 @@
2
2
  "viewportRange": {
3
3
  "narrow": {
4
4
  "value": "(max-width: calc(48rem - 0.02px))",
5
+ "$type": "custom-viewportRange",
5
6
  "filePath": "src/tokens/functional/size/viewport.json",
6
7
  "isSource": true,
7
8
  "original": {
8
- "value": "(max-width: calc({breakpoint.medium} - 0.02px))"
9
+ "value": "(max-width: calc({breakpoint.medium} - 0.02px))",
10
+ "$type": "custom-viewportRange"
9
11
  },
10
12
  "name": "viewportRange-narrow",
11
13
  "attributes": {},
@@ -13,10 +15,12 @@
13
15
  },
14
16
  "narrowLandscape": {
15
17
  "value": "(max-width: calc(63.25rem - 0.02px) and (max-height: calc(34rem - 0.02px)) and (orientation: landscape))",
18
+ "$type": "custom-viewportRange",
16
19
  "filePath": "src/tokens/functional/size/viewport.json",
17
20
  "isSource": true,
18
21
  "original": {
19
- "value": "(max-width: calc({breakpoint.large} - 0.02px) and (max-height: calc({breakpoint.small} - 0.02px)) and (orientation: landscape))"
22
+ "value": "(max-width: calc({breakpoint.large} - 0.02px) and (max-height: calc({breakpoint.small} - 0.02px)) and (orientation: landscape))",
23
+ "$type": "custom-viewportRange"
20
24
  },
21
25
  "name": "viewportRange-narrowLandscape",
22
26
  "attributes": {},
@@ -24,10 +28,12 @@
24
28
  },
25
29
  "regular": {
26
30
  "value": "(min-width: 48rem)",
31
+ "$type": "custom-viewportRange",
27
32
  "filePath": "src/tokens/functional/size/viewport.json",
28
33
  "isSource": true,
29
34
  "original": {
30
- "value": "(min-width: {breakpoint.medium})"
35
+ "value": "(min-width: {breakpoint.medium})",
36
+ "$type": "custom-viewportRange"
31
37
  },
32
38
  "name": "viewportRange-regular",
33
39
  "attributes": {},
@@ -35,10 +41,12 @@
35
41
  },
36
42
  "wide": {
37
43
  "value": "(min-width: 90rem)",
44
+ "$type": "custom-viewportRange",
38
45
  "filePath": "src/tokens/functional/size/viewport.json",
39
46
  "isSource": true,
40
47
  "original": {
41
- "value": "(min-width: {breakpoint.xxlarge})"
48
+ "value": "(min-width: {breakpoint.xxlarge})",
49
+ "$type": "custom-viewportRange"
42
50
  },
43
51
  "name": "viewportRange-wide",
44
52
  "attributes": {},
@@ -46,10 +54,12 @@
46
54
  },
47
55
  "portrait": {
48
56
  "value": "(orientation: portrait)",
57
+ "$type": "custom-viewportRange",
49
58
  "filePath": "src/tokens/functional/size/viewport.json",
50
59
  "isSource": true,
51
60
  "original": {
52
- "value": "(orientation: portrait)"
61
+ "value": "(orientation: portrait)",
62
+ "$type": "custom-viewportRange"
53
63
  },
54
64
  "name": "viewportRange-portrait",
55
65
  "attributes": {},
@@ -57,10 +67,12 @@
57
67
  },
58
68
  "landscape": {
59
69
  "value": "(orientation: landscape)",
70
+ "$type": "custom-viewportRange",
60
71
  "filePath": "src/tokens/functional/size/viewport.json",
61
72
  "isSource": true,
62
73
  "original": {
63
- "value": "(orientation: landscape)"
74
+ "value": "(orientation: landscape)",
75
+ "$type": "custom-viewportRange"
64
76
  },
65
77
  "name": "viewportRange-landscape",
66
78
  "attributes": {},
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 29 Mar 2023 13:05:47 GMT
3
+ * Generated on Wed, 05 Apr 2023 02:07:16 GMT
4
4
  */
5
5
 
6
6
  exports.default = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 29 Mar 2023 13:05:46 GMT
3
+ * Generated on Wed, 05 Apr 2023 02:07:15 GMT
4
4
  */
5
5
 
6
6
  exports.default = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 29 Mar 2023 13:05:48 GMT
3
+ * Generated on Wed, 05 Apr 2023 02:07:17 GMT
4
4
  */
5
5
 
6
6
  exports.default = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 29 Mar 2023 13:05:47 GMT
3
+ * Generated on Wed, 05 Apr 2023 02:07:16 GMT
4
4
  */
5
5
 
6
6
  exports.default = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 29 Mar 2023 13:05:46 GMT
3
+ * Generated on Wed, 05 Apr 2023 02:07:14 GMT
4
4
  */
5
5
 
6
6
  exports.default = {