@primer/primitives 7.11.2-rc.04c9ed2 → 7.11.2-rc.0832cd6

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 (222) hide show
  1. package/README.md +53 -1
  2. package/package.json +9 -8
  3. package/tokens-next-private/css/base/color/dark-colorblind.css +198 -0
  4. package/tokens-next-private/css/base/color/dark-dimmed.css +198 -0
  5. package/tokens-next-private/css/base/color/dark-high-contrast.css +198 -0
  6. package/tokens-next-private/css/base/color/dark-tritanopia.css +198 -0
  7. package/tokens-next-private/css/base/color/dark.css +198 -0
  8. package/tokens-next-private/css/base/color/light-colorblind.css +198 -0
  9. package/tokens-next-private/css/base/color/light-high-contrast.css +198 -0
  10. package/tokens-next-private/css/base/color/light-tritanopia.css +198 -0
  11. package/tokens-next-private/css/base/color/light.css +198 -0
  12. package/tokens-next-private/css/base/size/size.css +24 -0
  13. package/tokens-next-private/css/base/typography/typography.css +11 -0
  14. package/tokens-next-private/css/functional/size/border.css +18 -0
  15. package/tokens-next-private/css/functional/size/breakpoints.css +13 -0
  16. package/tokens-next-private/css/functional/size/size-coarse.css +10 -0
  17. package/tokens-next-private/css/functional/size/size-fine.css +10 -0
  18. package/tokens-next-private/css/functional/size/size.css +54 -0
  19. package/tokens-next-private/css/functional/size/viewport.css +13 -0
  20. package/tokens-next-private/css/functional/themes/dark-colorblind.css +666 -0
  21. package/tokens-next-private/css/functional/themes/dark-dimmed.css +666 -0
  22. package/tokens-next-private/css/functional/themes/dark-high-contrast.css +666 -0
  23. package/tokens-next-private/css/functional/themes/dark-tritanopia.css +666 -0
  24. package/tokens-next-private/css/functional/themes/dark.css +666 -0
  25. package/tokens-next-private/css/functional/themes/light-colorblind.css +668 -0
  26. package/tokens-next-private/css/functional/themes/light-high-contrast.css +668 -0
  27. package/tokens-next-private/css/functional/themes/light-tritanopia.css +668 -0
  28. package/tokens-next-private/css/functional/themes/light.css +668 -0
  29. package/tokens-next-private/css/functional/typography/typography.css +47 -0
  30. package/tokens-next-private/docs/base/color/dark-colorblind.json +1419 -0
  31. package/tokens-next-private/docs/base/color/dark-dimmed.json +1419 -0
  32. package/tokens-next-private/docs/base/color/dark-high-contrast.json +1419 -0
  33. package/tokens-next-private/docs/base/color/dark-tritanopia.json +1419 -0
  34. package/tokens-next-private/docs/base/color/dark.json +1419 -0
  35. package/tokens-next-private/docs/base/color/light-colorblind.json +1419 -0
  36. package/tokens-next-private/docs/base/color/light-high-contrast.json +1419 -0
  37. package/tokens-next-private/docs/base/color/light-tritanopia.json +1419 -0
  38. package/tokens-next-private/docs/base/color/light.json +1419 -0
  39. package/tokens-next-private/docs/base/size/size.json +227 -0
  40. package/tokens-next-private/docs/base/typography/typography.json +60 -0
  41. package/tokens-next-private/docs/functional/size/border.json +135 -0
  42. package/tokens-next-private/docs/functional/size/breakpoints.json +82 -0
  43. package/tokens-next-private/docs/functional/size/size-coarse.json +55 -0
  44. package/tokens-next-private/docs/functional/size/size-fine.json +55 -0
  45. package/tokens-next-private/docs/functional/size/size.json +647 -0
  46. package/tokens-next-private/docs/functional/size/viewport.json +70 -0
  47. package/tokens-next-private/docs/functional/themes/dark-colorblind.json +4572 -0
  48. package/tokens-next-private/docs/functional/themes/dark-dimmed.json +4572 -0
  49. package/tokens-next-private/docs/functional/themes/dark-high-contrast.json +4582 -0
  50. package/tokens-next-private/docs/functional/themes/dark-tritanopia.json +4572 -0
  51. package/tokens-next-private/docs/functional/themes/dark.json +4572 -0
  52. package/tokens-next-private/docs/functional/themes/light-colorblind.json +4575 -0
  53. package/tokens-next-private/docs/functional/themes/light-high-contrast.json +4569 -0
  54. package/tokens-next-private/docs/functional/themes/light-tritanopia.json +4575 -0
  55. package/tokens-next-private/docs/functional/themes/light.json +4569 -0
  56. package/tokens-next-private/docs/functional/typography/typography.json +581 -0
  57. package/tokens-next-private/js/base/color/dark-colorblind.js +122 -0
  58. package/tokens-next-private/js/base/color/dark-dimmed.js +122 -0
  59. package/tokens-next-private/js/base/color/dark-high-contrast.js +122 -0
  60. package/tokens-next-private/js/base/color/dark-tritanopia.js +122 -0
  61. package/tokens-next-private/js/base/color/dark.js +122 -0
  62. package/tokens-next-private/js/base/color/light-colorblind.js +122 -0
  63. package/tokens-next-private/js/base/color/light-high-contrast.js +122 -0
  64. package/tokens-next-private/js/base/color/light-tritanopia.js +122 -0
  65. package/tokens-next-private/js/base/color/light.js +122 -0
  66. package/tokens-next-private/js/base/size/size.js +28 -0
  67. package/tokens-next-private/js/base/typography/typography.js +17 -0
  68. package/tokens-next-private/js/functional/size/border.js +28 -0
  69. package/tokens-next-private/js/functional/size/breakpoints.js +15 -0
  70. package/tokens-next-private/js/functional/size/size-coarse.js +24 -0
  71. package/tokens-next-private/js/functional/size/size-fine.js +24 -0
  72. package/tokens-next-private/js/functional/size/size.js +98 -0
  73. package/tokens-next-private/js/functional/size/viewport.js +15 -0
  74. package/tokens-next-private/js/functional/themes/dark-colorblind.js +472 -0
  75. package/tokens-next-private/js/functional/themes/dark-dimmed.js +472 -0
  76. package/tokens-next-private/js/functional/themes/dark-high-contrast.js +472 -0
  77. package/tokens-next-private/js/functional/themes/dark-tritanopia.js +472 -0
  78. package/tokens-next-private/js/functional/themes/dark.js +472 -0
  79. package/tokens-next-private/js/functional/themes/light-colorblind.js +471 -0
  80. package/tokens-next-private/js/functional/themes/light-high-contrast.js +471 -0
  81. package/tokens-next-private/js/functional/themes/light-tritanopia.js +471 -0
  82. package/tokens-next-private/js/functional/themes/light.js +471 -0
  83. package/tokens-next-private/js/functional/typography/typography.js +77 -0
  84. package/tokens-next-private/json/base/color/dark-colorblind.json +117 -0
  85. package/tokens-next-private/json/base/color/dark-dimmed.json +117 -0
  86. package/tokens-next-private/json/base/color/dark-high-contrast.json +117 -0
  87. package/tokens-next-private/json/base/color/dark-tritanopia.json +117 -0
  88. package/tokens-next-private/json/base/color/dark.json +117 -0
  89. package/tokens-next-private/json/base/color/light-colorblind.json +117 -0
  90. package/tokens-next-private/json/base/color/light-high-contrast.json +117 -0
  91. package/tokens-next-private/json/base/color/light-tritanopia.json +117 -0
  92. package/tokens-next-private/json/base/color/light.json +117 -0
  93. package/tokens-next-private/json/base/size/size.json +23 -0
  94. package/tokens-next-private/json/base/typography/typography.json +12 -0
  95. package/tokens-next-private/json/functional/size/border.json +23 -0
  96. package/tokens-next-private/json/functional/size/breakpoints.json +10 -0
  97. package/tokens-next-private/json/functional/size/size-coarse.json +19 -0
  98. package/tokens-next-private/json/functional/size/size-fine.json +19 -0
  99. package/tokens-next-private/json/functional/size/size.json +93 -0
  100. package/tokens-next-private/json/functional/size/viewport.json +10 -0
  101. package/tokens-next-private/json/functional/themes/dark-colorblind.json +467 -0
  102. package/tokens-next-private/json/functional/themes/dark-dimmed.json +467 -0
  103. package/tokens-next-private/json/functional/themes/dark-high-contrast.json +467 -0
  104. package/tokens-next-private/json/functional/themes/dark-tritanopia.json +467 -0
  105. package/tokens-next-private/json/functional/themes/dark.json +467 -0
  106. package/tokens-next-private/json/functional/themes/light-colorblind.json +466 -0
  107. package/tokens-next-private/json/functional/themes/light-high-contrast.json +466 -0
  108. package/tokens-next-private/json/functional/themes/light-tritanopia.json +466 -0
  109. package/tokens-next-private/json/functional/themes/light.json +466 -0
  110. package/tokens-next-private/json/functional/typography/typography.json +72 -0
  111. package/tokens-next-private/removed/color.json +421 -0
  112. package/tokens-next-private/scss/base/color/dark-colorblind.scss +102 -0
  113. package/tokens-next-private/scss/base/color/dark-dimmed.scss +102 -0
  114. package/tokens-next-private/scss/base/color/dark-high-contrast.scss +102 -0
  115. package/tokens-next-private/scss/base/color/dark-tritanopia.scss +102 -0
  116. package/tokens-next-private/scss/base/color/dark.scss +102 -0
  117. package/tokens-next-private/scss/base/color/light-colorblind.scss +102 -0
  118. package/tokens-next-private/scss/base/color/light-high-contrast.scss +102 -0
  119. package/tokens-next-private/scss/base/color/light-tritanopia.scss +102 -0
  120. package/tokens-next-private/scss/base/color/light.scss +102 -0
  121. package/tokens-next-private/scss/base/size/size.scss +26 -0
  122. package/tokens-next-private/scss/base/typography/typography.scss +13 -0
  123. package/tokens-next-private/scss/functional/size/border.scss +20 -0
  124. package/tokens-next-private/scss/functional/size/breakpoints.scss +15 -0
  125. package/tokens-next-private/scss/functional/size/size-coarse.scss +12 -0
  126. package/tokens-next-private/scss/functional/size/size-fine.scss +12 -0
  127. package/tokens-next-private/scss/functional/size/size.scss +56 -0
  128. package/tokens-next-private/scss/functional/size/viewport.scss +24 -0
  129. package/tokens-next-private/scss/functional/themes/dark-colorblind.scss +336 -0
  130. package/tokens-next-private/scss/functional/themes/dark-dimmed.scss +336 -0
  131. package/tokens-next-private/scss/functional/themes/dark-high-contrast.scss +336 -0
  132. package/tokens-next-private/scss/functional/themes/dark-tritanopia.scss +336 -0
  133. package/tokens-next-private/scss/functional/themes/dark.scss +336 -0
  134. package/tokens-next-private/scss/functional/themes/light-colorblind.scss +337 -0
  135. package/tokens-next-private/scss/functional/themes/light-high-contrast.scss +337 -0
  136. package/tokens-next-private/scss/functional/themes/light-tritanopia.scss +337 -0
  137. package/tokens-next-private/scss/functional/themes/light.scss +337 -0
  138. package/tokens-next-private/scss/functional/typography/typography.scss +49 -0
  139. package/tokens-next-private/ts/base/color/dark-colorblind.ts +122 -0
  140. package/tokens-next-private/ts/base/color/dark-dimmed.ts +122 -0
  141. package/tokens-next-private/ts/base/color/dark-high-contrast.ts +122 -0
  142. package/tokens-next-private/ts/base/color/dark-tritanopia.ts +122 -0
  143. package/tokens-next-private/ts/base/color/dark.ts +122 -0
  144. package/tokens-next-private/ts/base/color/light-colorblind.ts +122 -0
  145. package/tokens-next-private/ts/base/color/light-high-contrast.ts +122 -0
  146. package/tokens-next-private/ts/base/color/light-tritanopia.ts +122 -0
  147. package/tokens-next-private/ts/base/color/light.ts +122 -0
  148. package/tokens-next-private/ts/base/size/size.ts +28 -0
  149. package/tokens-next-private/ts/base/typography/typography.ts +17 -0
  150. package/tokens-next-private/ts/functional/size/border.ts +28 -0
  151. package/tokens-next-private/ts/functional/size/breakpoints.ts +15 -0
  152. package/tokens-next-private/ts/functional/size/size-coarse.ts +24 -0
  153. package/tokens-next-private/ts/functional/size/size-fine.ts +24 -0
  154. package/tokens-next-private/ts/functional/size/size.ts +98 -0
  155. package/tokens-next-private/ts/functional/size/viewport.ts +15 -0
  156. package/tokens-next-private/ts/functional/themes/dark-colorblind.ts +472 -0
  157. package/tokens-next-private/ts/functional/themes/dark-dimmed.ts +472 -0
  158. package/tokens-next-private/ts/functional/themes/dark-high-contrast.ts +472 -0
  159. package/tokens-next-private/ts/functional/themes/dark-tritanopia.ts +472 -0
  160. package/tokens-next-private/ts/functional/themes/dark.ts +472 -0
  161. package/tokens-next-private/ts/functional/themes/light-colorblind.ts +471 -0
  162. package/tokens-next-private/ts/functional/themes/light-high-contrast.ts +471 -0
  163. package/tokens-next-private/ts/functional/themes/light-tritanopia.ts +471 -0
  164. package/tokens-next-private/ts/functional/themes/light.ts +471 -0
  165. package/tokens-next-private/ts/functional/typography/typography.ts +77 -0
  166. package/tokens-next-private/ts/types/BaseColorDesignTokens.d.ts +125 -0
  167. package/tokens-next-private/ts/types/SizeDesignTokens.d.ts +143 -0
  168. package/tokens-next-private/ts/types/ThemeDesignTokens.d.ts +488 -0
  169. package/tokens-next-private/ts/types/TypographyDesignTokens.d.ts +87 -0
  170. package/tokens-v2-private/css/tokens/base/size/size.css +1 -1
  171. package/tokens-v2-private/css/tokens/base/typography/typography.css +1 -1
  172. package/tokens-v2-private/css/tokens/functional/size/border.css +1 -1
  173. package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +1 -1
  174. package/tokens-v2-private/css/tokens/functional/size/size-coarse.css +1 -1
  175. package/tokens-v2-private/css/tokens/functional/size/size-fine.css +1 -1
  176. package/tokens-v2-private/css/tokens/functional/size/size.css +1 -1
  177. package/tokens-v2-private/css/tokens/functional/typography/typography.css +1 -1
  178. package/tokens-v2-private/js/module/tokens/base/size/size.js +1 -1
  179. package/tokens-v2-private/js/module/tokens/base/typography/typography.js +1 -1
  180. package/tokens-v2-private/js/module/tokens/functional/size/border.js +1 -1
  181. package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +1 -1
  182. package/tokens-v2-private/js/module/tokens/functional/size/size-coarse.js +1 -1
  183. package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +1 -1
  184. package/tokens-v2-private/js/module/tokens/functional/size/size.js +1 -1
  185. package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +1 -1
  186. package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +1 -1
  187. package/tokens-v2-private/js/tokens/base/size/size.js +1 -1
  188. package/tokens-v2-private/js/tokens/base/typography/typography.js +1 -1
  189. package/tokens-v2-private/js/tokens/functional/size/border.js +1 -1
  190. package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +1 -1
  191. package/tokens-v2-private/js/tokens/functional/size/size-coarse.js +1 -1
  192. package/tokens-v2-private/js/tokens/functional/size/size-fine.js +1 -1
  193. package/tokens-v2-private/js/tokens/functional/size/size.js +1 -1
  194. package/tokens-v2-private/js/tokens/functional/size/viewport.js +1 -1
  195. package/tokens-v2-private/js/tokens/functional/typography/typography.js +1 -1
  196. package/tokens-v2-private/scss/tokens/base/size/size.scss +1 -1
  197. package/tokens-v2-private/scss/tokens/base/typography/typography.scss +1 -1
  198. package/tokens-v2-private/scss/tokens/functional/size/border.scss +1 -1
  199. package/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +1 -1
  200. package/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +1 -1
  201. package/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +1 -1
  202. package/tokens-v2-private/scss/tokens/functional/size/size.scss +1 -1
  203. package/tokens-v2-private/scss/tokens/functional/size/viewport.scss +1 -1
  204. package/tokens-v2-private/scss/tokens/functional/typography/typography.scss +1 -1
  205. package/tokens-v2-private/ts/tokens/base/size/size.d.ts +1 -1
  206. package/tokens-v2-private/ts/tokens/base/size/size.js +1 -1
  207. package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +1 -1
  208. package/tokens-v2-private/ts/tokens/base/typography/typography.js +1 -1
  209. package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +1 -1
  210. package/tokens-v2-private/ts/tokens/functional/size/border.js +1 -1
  211. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  212. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +1 -1
  213. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  214. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.js +1 -1
  215. package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +1 -1
  216. package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +1 -1
  217. package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +1 -1
  218. package/tokens-v2-private/ts/tokens/functional/size/size.js +1 -1
  219. package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +1 -1
  220. package/tokens-v2-private/ts/tokens/functional/size/viewport.js +1 -1
  221. package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +1 -1
  222. package/tokens-v2-private/ts/tokens/functional/typography/typography.js +1 -1
@@ -0,0 +1,47 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Tue, 28 Mar 2023 12:06:56 GMT
4
+ */
5
+
6
+ :root {
7
+ --fontStack-system: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
8
+ --fontStack-sansSerif: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
9
+ --fontStack-monospace: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
10
+ --text-display-lineBoxHeight: 3.5rem;
11
+ --text-display-size: 2.5rem;
12
+ --text-display-lineHeight: calc(56/40);
13
+ --text-display-weight: 500;
14
+ --text-display-shorthand: 500 2.5rem/calc(56/40) -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
15
+ --text-title-size-large: 2rem;
16
+ --text-title-size-medium: 1.25rem;
17
+ --text-title-lineHeight-large: calc(48/32);
18
+ --text-title-lineHeight-medium: calc(32/20);
19
+ --text-title-weight: 600;
20
+ --text-title-shorthand-large: 600 2rem/calc(48/32) -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
21
+ --text-title-shorthand-medium: 600 1.25rem/calc(32/20) -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
22
+ --text-subtitle-size: 1.25rem;
23
+ --text-subtitle-lineHeight: calc(32/20);
24
+ --text-subtitle-weight: 400;
25
+ --text-subtitle-shorthand: 400 1.25rem/calc(32/20) -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
26
+ --text-body-size-large: 1rem;
27
+ --text-body-size-medium: 0.875rem;
28
+ --text-body-size-small: 0.75rem;
29
+ --text-body-lineHeight-large: calc(24/16);
30
+ --text-body-lineHeight-medium: calc(20/14);
31
+ --text-body-lineHeight-small: calc(20/12);
32
+ --text-body-weight: 400;
33
+ --text-body-shorthand-large: 400 1rem/calc(24/16) -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
34
+ --text-body-shorthand-medium: 400 0.875rem/calc(20/14) -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
35
+ --text-body-shorthand-small: 400 0.75rem/calc(20/12) -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
36
+ --text-caption-size: 0.75rem;
37
+ --text-caption-lineHeight: calc(16/12);
38
+ --text-caption-weight: 400;
39
+ --text-caption-shorthand: 400 0.75rem/calc(16/12) -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
40
+ --text-codeBlock-size: 0.8125rem;
41
+ --text-codeBlock-lineHeight: calc(20/13);
42
+ --text-codeBlock-weight: 400;
43
+ --text-codeBlock-shorthand: 400 0.8125rem/calc(20/13) ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
44
+ --text-codeInline-size: 0.05803125rem;
45
+ --text-codeInline-weight: 400;
46
+ --text-codeInline-shorthand: 400 0.05803125rem ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
47
+ }