@primer/primitives 7.17.0-rc.34cd1021 → 7.17.0-rc.39874fc0

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 (231) hide show
  1. package/README.md +1 -1
  2. package/build.js +578 -0
  3. package/dist/css/functional/themes/dark-colorblind.css +0 -10
  4. package/dist/css/functional/themes/dark-dimmed.css +0 -10
  5. package/dist/css/functional/themes/dark-high-contrast.css +0 -10
  6. package/dist/css/functional/themes/dark-tritanopia.css +0 -10
  7. package/dist/css/functional/themes/dark.css +0 -10
  8. package/dist/css/functional/themes/light-colorblind.css +0 -10
  9. package/dist/css/functional/themes/light-high-contrast.css +0 -10
  10. package/dist/css/functional/themes/light-tritanopia.css +0 -10
  11. package/dist/css/functional/themes/light.css +0 -10
  12. package/dist/css/functional/typography/typography.css +1 -1
  13. package/dist/deprecated/colors.json +7 -0
  14. package/dist/docs/base/typography/typography.json +4 -52
  15. package/dist/docs/functional/themes/dark-colorblind.json +78 -223
  16. package/dist/docs/functional/themes/dark-dimmed.json +73 -218
  17. package/dist/docs/functional/themes/dark-high-contrast.json +75 -220
  18. package/dist/docs/functional/themes/dark-tritanopia.json +78 -223
  19. package/dist/docs/functional/themes/dark.json +73 -218
  20. package/dist/docs/functional/themes/light-colorblind.json +76 -221
  21. package/dist/docs/functional/themes/light-high-contrast.json +70 -215
  22. package/dist/docs/functional/themes/light-tritanopia.json +76 -221
  23. package/dist/docs/functional/themes/light.json +71 -216
  24. package/dist/docs/functional/typography/typography.json +36 -494
  25. package/dist/fallbacks/functional/typography/typography.json +1 -1
  26. package/dist/figma/figma.json +1 -18
  27. package/dist/figma/scales/dark-dimmed.json +20 -20
  28. package/dist/figma/scales/dark-high-constrast.json +20 -20
  29. package/dist/figma/scales/dark.json +20 -20
  30. package/dist/figma/scales/light-high-constrast.json +20 -20
  31. package/dist/figma/scales/light.json +20 -20
  32. package/dist/figma/themes/dark-colorblind.json +70 -150
  33. package/dist/figma/themes/dark-dimmed.json +65 -145
  34. package/dist/figma/themes/dark-high-contrast.json +69 -149
  35. package/dist/figma/themes/dark-tritanopia.json +70 -150
  36. package/dist/figma/themes/dark.json +65 -145
  37. package/dist/figma/themes/light-colorblind.json +59 -139
  38. package/dist/figma/themes/light-high-contrast.json +55 -135
  39. package/dist/figma/themes/light-tritanopia.json +59 -139
  40. package/dist/figma/themes/light.json +54 -134
  41. package/dist/internalCss/dark-colorblind.css +20 -30
  42. package/dist/internalCss/dark-dimmed.css +20 -30
  43. package/dist/internalCss/dark-high-contrast.css +20 -30
  44. package/dist/internalCss/dark-tritanopia.css +20 -30
  45. package/dist/internalCss/dark.css +20 -30
  46. package/dist/internalCss/light-colorblind.css +20 -30
  47. package/dist/internalCss/light-high-contrast.css +20 -30
  48. package/dist/internalCss/light-tritanopia.css +20 -30
  49. package/dist/internalCss/light.css +20 -30
  50. package/dist/js/colors/dark.d.ts +516 -0
  51. package/dist/js/colors/dark.js +616 -0
  52. package/dist/js/colors/dark_colorblind.d.ts +516 -0
  53. package/dist/js/colors/dark_colorblind.js +616 -0
  54. package/dist/js/colors/dark_dimmed.d.ts +516 -0
  55. package/dist/js/colors/dark_dimmed.js +616 -0
  56. package/dist/js/colors/dark_high_contrast.d.ts +516 -0
  57. package/dist/js/colors/dark_high_contrast.js +616 -0
  58. package/dist/js/colors/dark_tritanopia.d.ts +516 -0
  59. package/dist/js/colors/dark_tritanopia.js +616 -0
  60. package/dist/js/colors/index.d.ts +4638 -0
  61. package/dist/js/colors/index.js +15 -0
  62. package/dist/js/colors/light.d.ts +516 -0
  63. package/dist/js/colors/light.js +616 -0
  64. package/dist/js/colors/light_colorblind.d.ts +516 -0
  65. package/dist/js/colors/light_colorblind.js +616 -0
  66. package/dist/js/colors/light_high_contrast.d.ts +516 -0
  67. package/dist/js/colors/light_high_contrast.js +616 -0
  68. package/dist/js/colors/light_tritanopia.d.ts +516 -0
  69. package/dist/js/colors/light_tritanopia.js +616 -0
  70. package/dist/js/index.d.ts +4655 -0
  71. package/dist/js/index.js +9 -0
  72. package/dist/js/spacing/index.d.ts +6 -0
  73. package/dist/js/spacing/index.js +7 -0
  74. package/dist/js/spacing/normal.d.ts +4 -0
  75. package/dist/js/spacing/normal.js +13 -0
  76. package/dist/js/typography/index.d.ts +11 -0
  77. package/dist/js/typography/index.js +7 -0
  78. package/dist/js/typography/normal.d.ts +9 -0
  79. package/dist/js/typography/normal.js +19 -0
  80. package/dist/json/colors/dark.json +614 -0
  81. package/dist/json/colors/dark_colorblind.json +614 -0
  82. package/dist/json/colors/dark_dimmed.json +614 -0
  83. package/dist/json/colors/dark_high_contrast.json +614 -0
  84. package/dist/json/colors/dark_tritanopia.json +614 -0
  85. package/dist/json/colors/light.json +614 -0
  86. package/dist/json/colors/light_colorblind.json +614 -0
  87. package/dist/json/colors/light_high_contrast.json +614 -0
  88. package/dist/json/colors/light_tritanopia.json +614 -0
  89. package/dist/json/spacing/normal.json +11 -0
  90. package/dist/json/typography/normal.json +17 -0
  91. package/dist/removed/colors.json +432 -0
  92. package/dist/scss/colors/_dark.scss +452 -0
  93. package/dist/scss/colors/_dark_colorblind.scss +452 -0
  94. package/dist/scss/colors/_dark_dimmed.scss +452 -0
  95. package/dist/scss/colors/_dark_high_contrast.scss +452 -0
  96. package/dist/scss/colors/_dark_tritanopia.scss +452 -0
  97. package/dist/scss/colors/_light.scss +452 -0
  98. package/dist/scss/colors/_light_colorblind.scss +452 -0
  99. package/dist/scss/colors/_light_high_contrast.scss +452 -0
  100. package/dist/scss/colors/_light_tritanopia.scss +452 -0
  101. package/dist/scss/spacing/_normal.scss +11 -0
  102. package/dist/scss/typography/_normal.scss +15 -0
  103. package/dist/styleLint/base/typography/typography.json +4 -52
  104. package/dist/styleLint/functional/themes/dark-colorblind.json +78 -223
  105. package/dist/styleLint/functional/themes/dark-dimmed.json +73 -218
  106. package/dist/styleLint/functional/themes/dark-high-contrast.json +75 -220
  107. package/dist/styleLint/functional/themes/dark-tritanopia.json +78 -223
  108. package/dist/styleLint/functional/themes/dark.json +73 -218
  109. package/dist/styleLint/functional/themes/light-colorblind.json +76 -221
  110. package/dist/styleLint/functional/themes/light-high-contrast.json +70 -215
  111. package/dist/styleLint/functional/themes/light-tritanopia.json +76 -221
  112. package/dist/styleLint/functional/themes/light.json +71 -216
  113. package/dist/styleLint/functional/typography/typography.json +36 -494
  114. package/dist/ts/colors/dark.ts +614 -0
  115. package/dist/ts/colors/dark_colorblind.ts +614 -0
  116. package/dist/ts/colors/dark_dimmed.ts +614 -0
  117. package/dist/ts/colors/dark_high_contrast.ts +614 -0
  118. package/dist/ts/colors/dark_tritanopia.ts +614 -0
  119. package/dist/ts/colors/index.ts +10 -0
  120. package/dist/ts/colors/light.ts +614 -0
  121. package/dist/ts/colors/light_colorblind.ts +614 -0
  122. package/dist/ts/colors/light_high_contrast.ts +614 -0
  123. package/dist/ts/colors/light_tritanopia.ts +614 -0
  124. package/dist/ts/index.ts +4 -0
  125. package/dist/ts/spacing/index.ts +2 -0
  126. package/dist/ts/spacing/normal.ts +11 -0
  127. package/dist/ts/typography/index.ts +2 -0
  128. package/dist/ts/typography/normal.ts +17 -0
  129. package/package.json +12 -5
  130. package/src/PrimerStyleDictionary.ts +0 -12
  131. package/src/filters/index.ts +0 -1
  132. package/src/formats/jsonFigma.ts +0 -1
  133. package/src/platforms/figma.ts +1 -10
  134. package/src/schemas/numberToken.ts +0 -17
  135. package/src/tokens/base/color/dark/dark.dimmed.json5 +1 -1
  136. package/src/tokens/base/color/dark/dark.high-contrast.json5 +1 -1
  137. package/src/tokens/base/color/dark/dark.json5 +1 -1
  138. package/src/tokens/base/color/light/light.high-contrast.json5 +1 -1
  139. package/src/tokens/base/color/light/light.json5 +1 -1
  140. package/src/tokens/base/typography/typography.json +4 -28
  141. package/src/tokens/functional/color/dark/app-dark.json5 +5 -5
  142. package/src/tokens/functional/color/dark/display-dark.json5 +0 -66
  143. package/src/tokens/functional/color/dark/overrides/dark.high-contrast.json5 +17 -17
  144. package/src/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 +5 -5
  145. package/src/tokens/functional/color/dark/overrides/dark.tritanopia.json5 +5 -5
  146. package/src/tokens/functional/color/dark/patterns-dark.json5 +42 -42
  147. package/src/tokens/functional/color/dark/primitives-dark.json5 +16 -16
  148. package/src/tokens/functional/color/dark/syntax-dark.json5 +13 -13
  149. package/src/tokens/functional/color/light/app-light.json5 +5 -5
  150. package/src/tokens/functional/color/light/display-light.json5 +0 -66
  151. package/src/tokens/functional/color/light/overrides/light.high-contrast.json5 +25 -25
  152. package/src/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 +5 -5
  153. package/src/tokens/functional/color/light/overrides/light.tritanopia.json5 +5 -5
  154. package/src/tokens/functional/color/light/patterns-light.json5 +30 -30
  155. package/src/tokens/functional/color/light/primitives-light.json5 +15 -15
  156. package/src/tokens/functional/color/light/syntax-light.json5 +14 -14
  157. package/src/tokens/functional/shadow/dark.json5 +1 -1
  158. package/src/tokens/functional/shadow/light.json5 +11 -11
  159. package/src/tokens/functional/typography/typography.json +34 -263
  160. package/src/transformers/fontFamilyToCss.ts +4 -3
  161. package/src/transformers/index.ts +0 -2
  162. package/tokens/base/size/size.json +57 -0
  163. package/tokens/base/typography/typography.json +20 -0
  164. package/tokens/functional/size/border.json +48 -0
  165. package/tokens/functional/size/breakpoints.json +24 -0
  166. package/tokens/functional/size/size-coarse.json +27 -0
  167. package/tokens/functional/size/size-fine.json +27 -0
  168. package/tokens/functional/size/size.json +189 -0
  169. package/tokens/functional/size/viewport.json +24 -0
  170. package/tokens/functional/typography/typography.json +213 -0
  171. package/tokens/removed/color.json +421 -0
  172. package/tokens-v2-private/css/tokens/base/size/size.css +24 -0
  173. package/tokens-v2-private/css/tokens/base/typography/typography.css +11 -0
  174. package/tokens-v2-private/css/tokens/functional/size/border.css +17 -0
  175. package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +13 -0
  176. package/tokens-v2-private/css/tokens/functional/size/size-coarse.css +11 -0
  177. package/tokens-v2-private/css/tokens/functional/size/size-fine.css +11 -0
  178. package/tokens-v2-private/css/tokens/functional/size/size.css +54 -0
  179. package/tokens-v2-private/css/tokens/functional/size/viewport.css +6 -0
  180. package/tokens-v2-private/css/tokens/functional/typography/typography.css +47 -0
  181. package/tokens-v2-private/docs/docValues.json +2209 -0
  182. package/tokens-v2-private/js/module/tokens/base/size/size.js +266 -0
  183. package/tokens-v2-private/js/module/tokens/base/typography/typography.js +77 -0
  184. package/tokens-v2-private/js/module/tokens/functional/size/border.js +165 -0
  185. package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +101 -0
  186. package/tokens-v2-private/js/module/tokens/functional/size/size-coarse.js +73 -0
  187. package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +73 -0
  188. package/tokens-v2-private/js/module/tokens/functional/size/size.js +824 -0
  189. package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +101 -0
  190. package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +809 -0
  191. package/tokens-v2-private/js/tokens/base/size/size.js +22 -0
  192. package/tokens-v2-private/js/tokens/base/typography/typography.js +9 -0
  193. package/tokens-v2-private/js/tokens/functional/size/border.js +15 -0
  194. package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +11 -0
  195. package/tokens-v2-private/js/tokens/functional/size/size-coarse.js +8 -0
  196. package/tokens-v2-private/js/tokens/functional/size/size-fine.js +8 -0
  197. package/tokens-v2-private/js/tokens/functional/size/size.js +52 -0
  198. package/tokens-v2-private/js/tokens/functional/size/viewport.js +11 -0
  199. package/tokens-v2-private/js/tokens/functional/typography/typography.js +45 -0
  200. package/tokens-v2-private/scss/tokens/base/size/size.scss +21 -0
  201. package/tokens-v2-private/scss/tokens/base/typography/typography.scss +8 -0
  202. package/tokens-v2-private/scss/tokens/functional/size/border.scss +14 -0
  203. package/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +10 -0
  204. package/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +7 -0
  205. package/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +7 -0
  206. package/tokens-v2-private/scss/tokens/functional/size/size.scss +51 -0
  207. package/tokens-v2-private/scss/tokens/functional/size/viewport.scss +10 -0
  208. package/tokens-v2-private/scss/tokens/functional/typography/typography.scss +44 -0
  209. package/tokens-v2-private/ts/tokens/base/size/size.d.ts +31 -0
  210. package/tokens-v2-private/ts/tokens/base/size/size.js +30 -0
  211. package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +20 -0
  212. package/tokens-v2-private/ts/tokens/base/typography/typography.js +19 -0
  213. package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +28 -0
  214. package/tokens-v2-private/ts/tokens/functional/size/border.js +27 -0
  215. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +20 -0
  216. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +19 -0
  217. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.d.ts +29 -0
  218. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.js +28 -0
  219. package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +29 -0
  220. package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +28 -0
  221. package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +103 -0
  222. package/tokens-v2-private/ts/tokens/functional/size/size.js +102 -0
  223. package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +20 -0
  224. package/tokens-v2-private/ts/tokens/functional/size/viewport.js +19 -0
  225. package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +131 -0
  226. package/tokens-v2-private/ts/tokens/functional/typography/typography.js +130 -0
  227. package/dist/figma/typography/typography.json +0 -370
  228. package/src/filters/isNumber.ts +0 -8
  229. package/src/transformers/floatToPixel.ts +0 -33
  230. package/src/transformers/fontFamilyToFigma.ts +0 -47
  231. package/src/transformers/utilities/hasSpaceInString.ts +0 -6
@@ -2,23 +2,11 @@
2
2
  "fontStack-system": {
3
3
  "value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
4
4
  "$type": "fontFamily",
5
- "$extensions": {
6
- "org.primer.figma": {
7
- "collection": "typography",
8
- "scopes": ["all"]
9
- }
10
- },
11
5
  "filePath": "src/tokens/functional/typography/typography.json",
12
6
  "isSource": true,
13
7
  "original": {
14
8
  "value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
15
- "$type": "fontFamily",
16
- "$extensions": {
17
- "org.primer.figma": {
18
- "collection": "typography",
19
- "scopes": ["all"]
20
- }
21
- }
9
+ "$type": "fontFamily"
22
10
  },
23
11
  "name": "fontStack-system",
24
12
  "attributes": {},
@@ -27,23 +15,11 @@
27
15
  "fontStack-sansSerif": {
28
16
  "value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
29
17
  "$type": "fontFamily",
30
- "$extensions": {
31
- "org.primer.figma": {
32
- "collection": "typography",
33
- "scopes": ["all"]
34
- }
35
- },
36
18
  "filePath": "src/tokens/functional/typography/typography.json",
37
19
  "isSource": true,
38
20
  "original": {
39
21
  "value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
40
- "$type": "fontFamily",
41
- "$extensions": {
42
- "org.primer.figma": {
43
- "collection": "typography",
44
- "scopes": ["all"]
45
- }
46
- }
22
+ "$type": "fontFamily"
47
23
  },
48
24
  "name": "fontStack-sansSerif",
49
25
  "attributes": {},
@@ -52,56 +28,24 @@
52
28
  "fontStack-monospace": {
53
29
  "value": "ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",
54
30
  "$type": "fontFamily",
55
- "$extensions": {
56
- "org.primer.figma": {
57
- "collection": "typography",
58
- "scopes": ["all"]
59
- }
60
- },
61
31
  "filePath": "src/tokens/functional/typography/typography.json",
62
32
  "isSource": true,
63
33
  "original": {
64
34
  "value": "ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",
65
- "$type": "fontFamily",
66
- "$extensions": {
67
- "org.primer.figma": {
68
- "collection": "typography",
69
- "scopes": ["all"]
70
- }
71
- }
35
+ "$type": "fontFamily"
72
36
  },
73
37
  "name": "fontStack-monospace",
74
38
  "attributes": {},
75
39
  "path": ["fontStack", "monospace"]
76
40
  },
77
41
  "text-display-lineBoxHeight": {
78
- "value": 1.4,
79
- "$type": "number",
80
- "$extensions": {
81
- "org.primer.data": {
82
- "fontSize": 40
83
- },
84
- "org.primer.figma": {
85
- "collection": "typography",
86
- "scopes": ["all"],
87
- "fontSizeInPx": 40
88
- }
89
- },
42
+ "value": "3.5rem",
43
+ "$type": "dimension",
90
44
  "filePath": "src/tokens/functional/typography/typography.json",
91
45
  "isSource": true,
92
46
  "original": {
93
- "value": 1.4,
94
- "$type": "number",
95
- "$extensions": {
96
- "org.primer.data": {
97
- "fontSize": 40
98
- },
99
- "org.primer.figma": {
100
- "collection": "typography",
101
- "scopes": ["all"],
102
- "fontSizeInPx": 40
103
- }
104
- }
47
+ "value": "56px",
48
+ "$type": "dimension"
105
49
  },
106
50
  "name": "text-display-lineBoxHeight",
107
51
  "attributes": {},
@@ -110,23 +54,11 @@
110
54
  "text-display-size": {
111
55
  "value": "2.5rem",
112
56
  "$type": "dimension",
113
- "$extensions": {
114
- "org.primer.figma": {
115
- "collection": "typography",
116
- "scopes": ["all"]
117
- }
118
- },
119
57
  "filePath": "src/tokens/functional/typography/typography.json",
120
58
  "isSource": true,
121
59
  "original": {
122
60
  "value": "40px",
123
- "$type": "dimension",
124
- "$extensions": {
125
- "org.primer.figma": {
126
- "collection": "typography",
127
- "scopes": ["all"]
128
- }
129
- }
61
+ "$type": "dimension"
130
62
  },
131
63
  "name": "text-display-size",
132
64
  "attributes": {},
@@ -135,29 +67,11 @@
135
67
  "text-display-lineHeight": {
136
68
  "value": 1.4,
137
69
  "$type": "number",
138
- "$extensions": {
139
- "org.primer.data": {
140
- "fontSize": 40
141
- },
142
- "org.primer.figma": {
143
- "collection": "typography",
144
- "scopes": ["all"]
145
- }
146
- },
147
70
  "filePath": "src/tokens/functional/typography/typography.json",
148
71
  "isSource": true,
149
72
  "original": {
150
73
  "value": 1.4,
151
- "$type": "number",
152
- "$extensions": {
153
- "org.primer.data": {
154
- "fontSize": 40
155
- },
156
- "org.primer.figma": {
157
- "collection": "typography",
158
- "scopes": ["all"]
159
- }
160
- }
74
+ "$type": "number"
161
75
  },
162
76
  "name": "text-display-lineHeight",
163
77
  "attributes": {},
@@ -166,23 +80,11 @@
166
80
  "text-display-weight": {
167
81
  "value": 500,
168
82
  "$type": "fontWeight",
169
- "$extensions": {
170
- "org.primer.figma": {
171
- "collection": "typography",
172
- "scopes": ["all"]
173
- }
174
- },
175
83
  "filePath": "src/tokens/functional/typography/typography.json",
176
84
  "isSource": true,
177
85
  "original": {
178
86
  "value": "{base.text.weight.medium}",
179
- "$type": "fontWeight",
180
- "$extensions": {
181
- "org.primer.figma": {
182
- "collection": "typography",
183
- "scopes": ["all"]
184
- }
185
- }
87
+ "$type": "fontWeight"
186
88
  },
187
89
  "name": "text-display-weight",
188
90
  "attributes": {},
@@ -211,23 +113,11 @@
211
113
  "text-title-size-large": {
212
114
  "value": "2rem",
213
115
  "$type": "dimension",
214
- "$extensions": {
215
- "org.primer.figma": {
216
- "collection": "typography",
217
- "scopes": ["all"]
218
- }
219
- },
220
116
  "filePath": "src/tokens/functional/typography/typography.json",
221
117
  "isSource": true,
222
118
  "original": {
223
119
  "value": "32px",
224
- "$type": "dimension",
225
- "$extensions": {
226
- "org.primer.figma": {
227
- "collection": "typography",
228
- "scopes": ["all"]
229
- }
230
- }
120
+ "$type": "dimension"
231
121
  },
232
122
  "name": "text-title-size-large",
233
123
  "attributes": {},
@@ -236,23 +126,11 @@
236
126
  "text-title-size-medium": {
237
127
  "value": "1.25rem",
238
128
  "$type": "dimension",
239
- "$extensions": {
240
- "org.primer.figma": {
241
- "collection": "typography",
242
- "scopes": ["all"]
243
- }
244
- },
245
129
  "filePath": "src/tokens/functional/typography/typography.json",
246
130
  "isSource": true,
247
131
  "original": {
248
132
  "value": "20px",
249
- "$type": "dimension",
250
- "$extensions": {
251
- "org.primer.figma": {
252
- "collection": "typography",
253
- "scopes": ["all"]
254
- }
255
- }
133
+ "$type": "dimension"
256
134
  },
257
135
  "name": "text-title-size-medium",
258
136
  "attributes": {},
@@ -261,23 +139,11 @@
261
139
  "text-title-size-small": {
262
140
  "value": "1rem",
263
141
  "$type": "dimension",
264
- "$extensions": {
265
- "org.primer.figma": {
266
- "collection": "typography",
267
- "scopes": ["all"]
268
- }
269
- },
270
142
  "filePath": "src/tokens/functional/typography/typography.json",
271
143
  "isSource": true,
272
144
  "original": {
273
145
  "value": "16px",
274
- "$type": "dimension",
275
- "$extensions": {
276
- "org.primer.figma": {
277
- "collection": "typography",
278
- "scopes": ["all"]
279
- }
280
- }
146
+ "$type": "dimension"
281
147
  },
282
148
  "name": "text-title-size-small",
283
149
  "attributes": {},
@@ -286,29 +152,11 @@
286
152
  "text-title-lineHeight-large": {
287
153
  "value": 1.5,
288
154
  "$type": "number",
289
- "$extensions": {
290
- "org.primer.data": {
291
- "fontSize": 32
292
- },
293
- "org.primer.figma": {
294
- "collection": "typography",
295
- "scopes": ["all"]
296
- }
297
- },
298
155
  "filePath": "src/tokens/functional/typography/typography.json",
299
156
  "isSource": true,
300
157
  "original": {
301
158
  "value": 1.5,
302
- "$type": "number",
303
- "$extensions": {
304
- "org.primer.data": {
305
- "fontSize": 32
306
- },
307
- "org.primer.figma": {
308
- "collection": "typography",
309
- "scopes": ["all"]
310
- }
311
- }
159
+ "$type": "number"
312
160
  },
313
161
  "name": "text-title-lineHeight-large",
314
162
  "attributes": {},
@@ -317,29 +165,11 @@
317
165
  "text-title-lineHeight-medium": {
318
166
  "value": 1.6,
319
167
  "$type": "number",
320
- "$extensions": {
321
- "org.primer.data": {
322
- "fontSize": 20
323
- },
324
- "org.primer.figma": {
325
- "collection": "typography",
326
- "scopes": ["all"]
327
- }
328
- },
329
168
  "filePath": "src/tokens/functional/typography/typography.json",
330
169
  "isSource": true,
331
170
  "original": {
332
171
  "value": 1.6,
333
- "$type": "number",
334
- "$extensions": {
335
- "org.primer.data": {
336
- "fontSize": 20
337
- },
338
- "org.primer.figma": {
339
- "collection": "typography",
340
- "scopes": ["all"]
341
- }
342
- }
172
+ "$type": "number"
343
173
  },
344
174
  "name": "text-title-lineHeight-medium",
345
175
  "attributes": {},
@@ -348,29 +178,11 @@
348
178
  "text-title-lineHeight-small": {
349
179
  "value": 1.5,
350
180
  "$type": "number",
351
- "$extensions": {
352
- "org.primer.data": {
353
- "fontSize": 16
354
- },
355
- "org.primer.figma": {
356
- "collection": "typography",
357
- "scopes": ["all"]
358
- }
359
- },
360
181
  "filePath": "src/tokens/functional/typography/typography.json",
361
182
  "isSource": true,
362
183
  "original": {
363
184
  "value": 1.5,
364
- "$type": "number",
365
- "$extensions": {
366
- "org.primer.data": {
367
- "fontSize": 16
368
- },
369
- "org.primer.figma": {
370
- "collection": "typography",
371
- "scopes": ["all"]
372
- }
373
- }
185
+ "$type": "number"
374
186
  },
375
187
  "name": "text-title-lineHeight-small",
376
188
  "attributes": {},
@@ -379,23 +191,11 @@
379
191
  "text-title-weight-large": {
380
192
  "value": 600,
381
193
  "$type": "fontWeight",
382
- "$extensions": {
383
- "org.primer.figma": {
384
- "collection": "typography",
385
- "scopes": ["all"]
386
- }
387
- },
388
194
  "filePath": "src/tokens/functional/typography/typography.json",
389
195
  "isSource": true,
390
196
  "original": {
391
197
  "value": "{base.text.weight.semibold}",
392
- "$type": "fontWeight",
393
- "$extensions": {
394
- "org.primer.figma": {
395
- "collection": "typography",
396
- "scopes": ["all"]
397
- }
398
- }
198
+ "$type": "fontWeight"
399
199
  },
400
200
  "name": "text-title-weight-large",
401
201
  "attributes": {},
@@ -404,23 +204,11 @@
404
204
  "text-title-weight-medium": {
405
205
  "value": 600,
406
206
  "$type": "fontWeight",
407
- "$extensions": {
408
- "org.primer.figma": {
409
- "collection": "typography",
410
- "scopes": ["all"]
411
- }
412
- },
413
207
  "filePath": "src/tokens/functional/typography/typography.json",
414
208
  "isSource": true,
415
209
  "original": {
416
210
  "value": "{base.text.weight.semibold}",
417
- "$type": "fontWeight",
418
- "$extensions": {
419
- "org.primer.figma": {
420
- "collection": "typography",
421
- "scopes": ["all"]
422
- }
423
- }
211
+ "$type": "fontWeight"
424
212
  },
425
213
  "name": "text-title-weight-medium",
426
214
  "attributes": {},
@@ -429,23 +217,11 @@
429
217
  "text-title-weight-small": {
430
218
  "value": 600,
431
219
  "$type": "fontWeight",
432
- "$extensions": {
433
- "org.primer.figma": {
434
- "collection": "typography",
435
- "scopes": ["all"]
436
- }
437
- },
438
220
  "filePath": "src/tokens/functional/typography/typography.json",
439
221
  "isSource": true,
440
222
  "original": {
441
223
  "value": "{base.text.weight.semibold}",
442
- "$type": "fontWeight",
443
- "$extensions": {
444
- "org.primer.figma": {
445
- "collection": "typography",
446
- "scopes": ["all"]
447
- }
448
- }
224
+ "$type": "fontWeight"
449
225
  },
450
226
  "name": "text-title-weight-small",
451
227
  "attributes": {},
@@ -514,23 +290,11 @@
514
290
  "text-subtitle-size": {
515
291
  "value": "1.25rem",
516
292
  "$type": "dimension",
517
- "$extensions": {
518
- "org.primer.figma": {
519
- "collection": "typography",
520
- "scopes": ["all"]
521
- }
522
- },
523
293
  "filePath": "src/tokens/functional/typography/typography.json",
524
294
  "isSource": true,
525
295
  "original": {
526
296
  "value": "20px",
527
- "$type": "dimension",
528
- "$extensions": {
529
- "org.primer.figma": {
530
- "collection": "typography",
531
- "scopes": ["all"]
532
- }
533
- }
297
+ "$type": "dimension"
534
298
  },
535
299
  "name": "text-subtitle-size",
536
300
  "attributes": {},
@@ -539,23 +303,11 @@
539
303
  "text-subtitle-lineHeight": {
540
304
  "value": 1.6,
541
305
  "$type": "number",
542
- "$extensions": {
543
- "org.primer.figma": {
544
- "collection": "typography",
545
- "scopes": ["all"]
546
- }
547
- },
548
306
  "filePath": "src/tokens/functional/typography/typography.json",
549
307
  "isSource": true,
550
308
  "original": {
551
309
  "value": 1.6,
552
- "$type": "number",
553
- "$extensions": {
554
- "org.primer.figma": {
555
- "collection": "typography",
556
- "scopes": ["all"]
557
- }
558
- }
310
+ "$type": "number"
559
311
  },
560
312
  "name": "text-subtitle-lineHeight",
561
313
  "attributes": {},
@@ -564,23 +316,11 @@
564
316
  "text-subtitle-weight": {
565
317
  "value": 400,
566
318
  "$type": "fontWeight",
567
- "$extensions": {
568
- "org.primer.figma": {
569
- "collection": "typography",
570
- "scopes": ["all"]
571
- }
572
- },
573
319
  "filePath": "src/tokens/functional/typography/typography.json",
574
320
  "isSource": true,
575
321
  "original": {
576
322
  "value": "{base.text.weight.normal}",
577
- "$type": "fontWeight",
578
- "$extensions": {
579
- "org.primer.figma": {
580
- "collection": "typography",
581
- "scopes": ["all"]
582
- }
583
- }
323
+ "$type": "fontWeight"
584
324
  },
585
325
  "name": "text-subtitle-weight",
586
326
  "attributes": {},
@@ -609,23 +349,11 @@
609
349
  "text-body-size-large": {
610
350
  "value": "1rem",
611
351
  "$type": "dimension",
612
- "$extensions": {
613
- "org.primer.figma": {
614
- "collection": "typography",
615
- "scopes": ["all"]
616
- }
617
- },
618
352
  "filePath": "src/tokens/functional/typography/typography.json",
619
353
  "isSource": true,
620
354
  "original": {
621
355
  "value": "16px",
622
- "$type": "dimension",
623
- "$extensions": {
624
- "org.primer.figma": {
625
- "collection": "typography",
626
- "scopes": ["all"]
627
- }
628
- }
356
+ "$type": "dimension"
629
357
  },
630
358
  "name": "text-body-size-large",
631
359
  "attributes": {},
@@ -634,23 +362,11 @@
634
362
  "text-body-size-medium": {
635
363
  "value": "0.875rem",
636
364
  "$type": "dimension",
637
- "$extensions": {
638
- "org.primer.figma": {
639
- "collection": "typography",
640
- "scopes": ["all"]
641
- }
642
- },
643
365
  "filePath": "src/tokens/functional/typography/typography.json",
644
366
  "isSource": true,
645
367
  "original": {
646
368
  "value": "14px",
647
- "$type": "dimension",
648
- "$extensions": {
649
- "org.primer.figma": {
650
- "collection": "typography",
651
- "scopes": ["all"]
652
- }
653
- }
369
+ "$type": "dimension"
654
370
  },
655
371
  "name": "text-body-size-medium",
656
372
  "attributes": {},
@@ -659,23 +375,11 @@
659
375
  "text-body-size-small": {
660
376
  "value": "0.75rem",
661
377
  "$type": "dimension",
662
- "$extensions": {
663
- "org.primer.figma": {
664
- "collection": "typography",
665
- "scopes": ["all"]
666
- }
667
- },
668
378
  "filePath": "src/tokens/functional/typography/typography.json",
669
379
  "isSource": true,
670
380
  "original": {
671
381
  "value": "12px",
672
- "$type": "dimension",
673
- "$extensions": {
674
- "org.primer.figma": {
675
- "collection": "typography",
676
- "scopes": ["all"]
677
- }
678
- }
382
+ "$type": "dimension"
679
383
  },
680
384
  "name": "text-body-size-small",
681
385
  "attributes": {},
@@ -684,29 +388,11 @@
684
388
  "text-body-lineHeight-large": {
685
389
  "value": 1.5,
686
390
  "$type": "number",
687
- "$extensions": {
688
- "org.primer.data": {
689
- "fontSize": 16
690
- },
691
- "org.primer.figma": {
692
- "collection": "typography",
693
- "scopes": ["all"]
694
- }
695
- },
696
391
  "filePath": "src/tokens/functional/typography/typography.json",
697
392
  "isSource": true,
698
393
  "original": {
699
394
  "value": 1.5,
700
- "$type": "number",
701
- "$extensions": {
702
- "org.primer.data": {
703
- "fontSize": 16
704
- },
705
- "org.primer.figma": {
706
- "collection": "typography",
707
- "scopes": ["all"]
708
- }
709
- }
395
+ "$type": "number"
710
396
  },
711
397
  "name": "text-body-lineHeight-large",
712
398
  "attributes": {},
@@ -715,29 +401,11 @@
715
401
  "text-body-lineHeight-medium": {
716
402
  "value": 1.4285,
717
403
  "$type": "number",
718
- "$extensions": {
719
- "org.primer.data": {
720
- "fontSize": 14
721
- },
722
- "org.primer.figma": {
723
- "collection": "typography",
724
- "scopes": ["all"]
725
- }
726
- },
727
404
  "filePath": "src/tokens/functional/typography/typography.json",
728
405
  "isSource": true,
729
406
  "original": {
730
407
  "value": 1.4285,
731
- "$type": "number",
732
- "$extensions": {
733
- "org.primer.data": {
734
- "fontSize": 14
735
- },
736
- "org.primer.figma": {
737
- "collection": "typography",
738
- "scopes": ["all"]
739
- }
740
- }
408
+ "$type": "number"
741
409
  },
742
410
  "name": "text-body-lineHeight-medium",
743
411
  "attributes": {},
@@ -746,29 +414,11 @@
746
414
  "text-body-lineHeight-small": {
747
415
  "value": 1.6666,
748
416
  "$type": "number",
749
- "$extensions": {
750
- "org.primer.data": {
751
- "fontSize": 12
752
- },
753
- "org.primer.figma": {
754
- "collection": "typography",
755
- "scopes": ["all"]
756
- }
757
- },
758
417
  "filePath": "src/tokens/functional/typography/typography.json",
759
418
  "isSource": true,
760
419
  "original": {
761
420
  "value": 1.6666,
762
- "$type": "number",
763
- "$extensions": {
764
- "org.primer.data": {
765
- "fontSize": 12
766
- },
767
- "org.primer.figma": {
768
- "collection": "typography",
769
- "scopes": ["all"]
770
- }
771
- }
421
+ "$type": "number"
772
422
  },
773
423
  "name": "text-body-lineHeight-small",
774
424
  "attributes": {},
@@ -850,23 +500,11 @@
850
500
  "text-caption-size": {
851
501
  "value": "0.75rem",
852
502
  "$type": "dimension",
853
- "$extensions": {
854
- "org.primer.figma": {
855
- "collection": "typography",
856
- "scopes": ["all"]
857
- }
858
- },
859
503
  "filePath": "src/tokens/functional/typography/typography.json",
860
504
  "isSource": true,
861
505
  "original": {
862
506
  "value": "12px",
863
- "$type": "dimension",
864
- "$extensions": {
865
- "org.primer.figma": {
866
- "collection": "typography",
867
- "scopes": ["all"]
868
- }
869
- }
507
+ "$type": "dimension"
870
508
  },
871
509
  "name": "text-caption-size",
872
510
  "attributes": {},
@@ -875,29 +513,11 @@
875
513
  "text-caption-lineHeight": {
876
514
  "value": 1.3333,
877
515
  "$type": "number",
878
- "$extensions": {
879
- "org.primer.data": {
880
- "fontSize": 12
881
- },
882
- "org.primer.figma": {
883
- "collection": "typography",
884
- "scopes": ["all"]
885
- }
886
- },
887
516
  "filePath": "src/tokens/functional/typography/typography.json",
888
517
  "isSource": true,
889
518
  "original": {
890
519
  "value": 1.3333,
891
- "$type": "number",
892
- "$extensions": {
893
- "org.primer.data": {
894
- "fontSize": 12
895
- },
896
- "org.primer.figma": {
897
- "collection": "typography",
898
- "scopes": ["all"]
899
- }
900
- }
520
+ "$type": "number"
901
521
  },
902
522
  "name": "text-caption-lineHeight",
903
523
  "attributes": {},
@@ -906,23 +526,11 @@
906
526
  "text-caption-weight": {
907
527
  "value": 400,
908
528
  "$type": "fontWeight",
909
- "$extensions": {
910
- "org.primer.figma": {
911
- "collection": "typography",
912
- "scopes": ["all"]
913
- }
914
- },
915
529
  "filePath": "src/tokens/functional/typography/typography.json",
916
530
  "isSource": true,
917
531
  "original": {
918
532
  "value": "{base.text.weight.normal}",
919
- "$type": "fontWeight",
920
- "$extensions": {
921
- "org.primer.figma": {
922
- "collection": "typography",
923
- "scopes": ["all"]
924
- }
925
- }
533
+ "$type": "fontWeight"
926
534
  },
927
535
  "name": "text-caption-weight",
928
536
  "attributes": {},
@@ -951,23 +559,11 @@
951
559
  "text-codeBlock-size": {
952
560
  "value": "0.8125rem",
953
561
  "$type": "dimension",
954
- "$extensions": {
955
- "org.primer.figma": {
956
- "collection": "typography",
957
- "scopes": ["all"]
958
- }
959
- },
960
562
  "filePath": "src/tokens/functional/typography/typography.json",
961
563
  "isSource": true,
962
564
  "original": {
963
565
  "value": "13px",
964
- "$type": "dimension",
965
- "$extensions": {
966
- "org.primer.figma": {
967
- "collection": "typography",
968
- "scopes": ["all"]
969
- }
970
- }
566
+ "$type": "dimension"
971
567
  },
972
568
  "name": "text-codeBlock-size",
973
569
  "attributes": {},
@@ -976,29 +572,11 @@
976
572
  "text-codeBlock-lineHeight": {
977
573
  "value": 1.5385,
978
574
  "$type": "number",
979
- "$extensions": {
980
- "org.primer.data": {
981
- "fontSize": 13
982
- },
983
- "org.primer.figma": {
984
- "collection": "typography",
985
- "scopes": ["all"]
986
- }
987
- },
988
575
  "filePath": "src/tokens/functional/typography/typography.json",
989
576
  "isSource": true,
990
577
  "original": {
991
578
  "value": 1.5385,
992
- "$type": "number",
993
- "$extensions": {
994
- "org.primer.data": {
995
- "fontSize": 13
996
- },
997
- "org.primer.figma": {
998
- "collection": "typography",
999
- "scopes": ["all"]
1000
- }
1001
- }
579
+ "$type": "number"
1002
580
  },
1003
581
  "name": "text-codeBlock-lineHeight",
1004
582
  "attributes": {},
@@ -1007,23 +585,11 @@
1007
585
  "text-codeBlock-weight": {
1008
586
  "value": 400,
1009
587
  "$type": "fontWeight",
1010
- "$extensions": {
1011
- "org.primer.figma": {
1012
- "collection": "typography",
1013
- "scopes": ["all"]
1014
- }
1015
- },
1016
588
  "filePath": "src/tokens/functional/typography/typography.json",
1017
589
  "isSource": true,
1018
590
  "original": {
1019
591
  "value": "{base.text.weight.normal}",
1020
- "$type": "fontWeight",
1021
- "$extensions": {
1022
- "org.primer.figma": {
1023
- "collection": "typography",
1024
- "scopes": ["all"]
1025
- }
1026
- }
592
+ "$type": "fontWeight"
1027
593
  },
1028
594
  "name": "text-codeBlock-weight",
1029
595
  "attributes": {},
@@ -1052,23 +618,11 @@
1052
618
  "text-codeInline-size": {
1053
619
  "value": "0.9285em",
1054
620
  "$type": "dimension",
1055
- "$extensions": {
1056
- "org.primer.figma": {
1057
- "collection": "typography",
1058
- "scopes": ["all"]
1059
- }
1060
- },
1061
621
  "filePath": "src/tokens/functional/typography/typography.json",
1062
622
  "isSource": true,
1063
623
  "original": {
1064
624
  "value": "0.9285em",
1065
- "$type": "dimension",
1066
- "$extensions": {
1067
- "org.primer.figma": {
1068
- "collection": "typography",
1069
- "scopes": ["all"]
1070
- }
1071
- }
625
+ "$type": "dimension"
1072
626
  },
1073
627
  "name": "text-codeInline-size",
1074
628
  "attributes": {},
@@ -1077,23 +631,11 @@
1077
631
  "text-codeInline-weight": {
1078
632
  "value": 400,
1079
633
  "$type": "fontWeight",
1080
- "$extensions": {
1081
- "org.primer.figma": {
1082
- "collection": "typography",
1083
- "scopes": ["all"]
1084
- }
1085
- },
1086
634
  "filePath": "src/tokens/functional/typography/typography.json",
1087
635
  "isSource": true,
1088
636
  "original": {
1089
637
  "value": "{base.text.weight.normal}",
1090
- "$type": "fontWeight",
1091
- "$extensions": {
1092
- "org.primer.figma": {
1093
- "collection": "typography",
1094
- "scopes": ["all"]
1095
- }
1096
- }
638
+ "$type": "fontWeight"
1097
639
  },
1098
640
  "name": "text-codeInline-weight",
1099
641
  "attributes": {},