@primer/primitives 9.1.2 → 10.0.0-rc.29e661a3

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 (289) hide show
  1. package/dist/build/PrimerStyleDictionary.d.ts +1 -2
  2. package/dist/build/PrimerStyleDictionary.js +51 -64
  3. package/dist/build/filters/index.d.ts +14 -13
  4. package/dist/build/filters/index.js +14 -29
  5. package/dist/build/filters/isBorder.d.ts +3 -3
  6. package/dist/build/filters/isBorder.js +2 -6
  7. package/dist/build/filters/isColor.d.ts +3 -3
  8. package/dist/build/filters/isColor.js +8 -7
  9. package/dist/build/filters/isColorWithAlpha.d.ts +3 -3
  10. package/dist/build/filters/isColorWithAlpha.js +4 -8
  11. package/dist/build/filters/isColorWithMix.d.ts +3 -3
  12. package/dist/build/filters/isColorWithMix.js +4 -8
  13. package/dist/build/filters/isDeprecated.d.ts +3 -3
  14. package/dist/build/filters/isDeprecated.js +2 -6
  15. package/dist/build/filters/isDimension.d.ts +3 -3
  16. package/dist/build/filters/isDimension.js +2 -6
  17. package/dist/build/filters/isDuration.d.ts +3 -3
  18. package/dist/build/filters/isDuration.js +2 -6
  19. package/dist/build/filters/isFontFamily.d.ts +3 -3
  20. package/dist/build/filters/isFontFamily.js +2 -6
  21. package/dist/build/filters/isFontWeight.d.ts +3 -3
  22. package/dist/build/filters/isFontWeight.js +2 -6
  23. package/dist/build/filters/isFromFile.d.ts +3 -3
  24. package/dist/build/filters/isFromFile.js +2 -6
  25. package/dist/build/filters/isNumber.d.ts +3 -3
  26. package/dist/build/filters/isNumber.js +4 -6
  27. package/dist/build/filters/isShadow.d.ts +3 -3
  28. package/dist/build/filters/isShadow.js +2 -6
  29. package/dist/build/filters/isSource.d.ts +3 -3
  30. package/dist/build/filters/isSource.js +2 -6
  31. package/dist/build/filters/isTypography.d.ts +3 -3
  32. package/dist/build/filters/isTypography.js +2 -6
  33. package/dist/build/formats/cssAdvanced.d.ts +2 -2
  34. package/dist/build/formats/cssAdvanced.js +22 -20
  35. package/dist/build/formats/cssCustomMedia.d.ts +2 -2
  36. package/dist/build/formats/cssCustomMedia.js +16 -15
  37. package/dist/build/formats/index.d.ts +9 -9
  38. package/dist/build/formats/index.js +9 -21
  39. package/dist/build/formats/javascriptCommonJs.d.ts +2 -2
  40. package/dist/build/formats/javascriptCommonJs.js +17 -16
  41. package/dist/build/formats/javascriptEsm.d.ts +2 -2
  42. package/dist/build/formats/javascriptEsm.js +17 -16
  43. package/dist/build/formats/jsonFigma.d.ts +2 -2
  44. package/dist/build/formats/jsonFigma.js +27 -22
  45. package/dist/build/formats/jsonNestedPrefixed.d.ts +3 -3
  46. package/dist/build/formats/jsonNestedPrefixed.js +17 -15
  47. package/dist/build/formats/jsonOneDimensional.d.ts +3 -3
  48. package/dist/build/formats/jsonOneDimensional.js +24 -16
  49. package/dist/build/formats/jsonPostCssFallback.d.ts +3 -3
  50. package/dist/build/formats/jsonPostCssFallback.js +5 -12
  51. package/dist/build/formats/typescriptExportDefinition.d.ts +2 -2
  52. package/dist/build/formats/typescriptExportDefinition.js +48 -44
  53. package/dist/build/formats/utilities/getPropName.d.ts +1 -0
  54. package/dist/build/formats/utilities/getPropName.js +16 -0
  55. package/dist/build/formats/utilities/jsonToFlat.d.ts +2 -2
  56. package/dist/build/formats/utilities/jsonToFlat.js +1 -5
  57. package/dist/build/formats/utilities/jsonToNestedValue.d.ts +2 -2
  58. package/dist/build/formats/utilities/jsonToNestedValue.js +4 -6
  59. package/dist/build/formats/utilities/prefixTokens.d.ts +2 -2
  60. package/dist/build/formats/utilities/prefixTokens.js +1 -5
  61. package/dist/build/parsers/index.d.ts +1 -1
  62. package/dist/build/parsers/index.js +1 -5
  63. package/dist/build/parsers/w3cJsonParser.d.ts +2 -2
  64. package/dist/build/parsers/w3cJsonParser.js +5 -7
  65. package/dist/build/platforms/css.d.ts +1 -1
  66. package/dist/build/platforms/css.js +19 -11
  67. package/dist/build/platforms/deprecatedJson.d.ts +1 -1
  68. package/dist/build/platforms/deprecatedJson.js +3 -7
  69. package/dist/build/platforms/docJson.d.ts +1 -1
  70. package/dist/build/platforms/docJson.js +8 -7
  71. package/dist/build/platforms/fallbacks.d.ts +1 -1
  72. package/dist/build/platforms/fallbacks.js +3 -7
  73. package/dist/build/platforms/figma.d.ts +1 -1
  74. package/dist/build/platforms/figma.js +21 -14
  75. package/dist/build/platforms/index.d.ts +10 -10
  76. package/dist/build/platforms/index.js +10 -23
  77. package/dist/build/platforms/javascript.d.ts +1 -1
  78. package/dist/build/platforms/javascript.js +3 -7
  79. package/dist/build/platforms/json.d.ts +1 -1
  80. package/dist/build/platforms/json.js +3 -7
  81. package/dist/build/platforms/styleLint.d.ts +1 -1
  82. package/dist/build/platforms/styleLint.js +3 -7
  83. package/dist/build/platforms/typeDefinitions.d.ts +1 -1
  84. package/dist/build/platforms/typeDefinitions.js +6 -10
  85. package/dist/build/platforms/typescript.d.ts +1 -1
  86. package/dist/build/platforms/typescript.js +3 -7
  87. package/dist/build/schemas/alphaValue.js +4 -7
  88. package/dist/build/schemas/baseToken.d.ts +2 -2
  89. package/dist/build/schemas/baseToken.js +4 -7
  90. package/dist/build/schemas/borderToken.d.ts +5 -5
  91. package/dist/build/schemas/borderToken.js +13 -16
  92. package/dist/build/schemas/collections.js +8 -14
  93. package/dist/build/schemas/colorHexValue.js +4 -7
  94. package/dist/build/schemas/colorToken.d.ts +20 -15
  95. package/dist/build/schemas/colorToken.js +24 -24
  96. package/dist/build/schemas/designToken.js +28 -31
  97. package/dist/build/schemas/dimensionToken.d.ts +5 -5
  98. package/dist/build/schemas/dimensionToken.js +14 -17
  99. package/dist/build/schemas/dimensionValue.js +7 -10
  100. package/dist/build/schemas/durationToken.d.ts +5 -5
  101. package/dist/build/schemas/durationToken.js +8 -11
  102. package/dist/build/schemas/durationValue.js +4 -7
  103. package/dist/build/schemas/fontFamilyToken.d.ts +5 -5
  104. package/dist/build/schemas/fontFamilyToken.js +13 -16
  105. package/dist/build/schemas/fontWeightToken.d.ts +5 -5
  106. package/dist/build/schemas/fontWeightToken.js +14 -17
  107. package/dist/build/schemas/fontWeightValue.js +4 -7
  108. package/dist/build/schemas/numberToken.d.ts +5 -5
  109. package/dist/build/schemas/numberToken.js +15 -18
  110. package/dist/build/schemas/referenceValue.js +4 -7
  111. package/dist/build/schemas/scopes.js +5 -10
  112. package/dist/build/schemas/shadowToken.d.ts +5 -5
  113. package/dist/build/schemas/shadowToken.js +23 -26
  114. package/dist/build/schemas/stringToken.d.ts +5 -5
  115. package/dist/build/schemas/stringToken.js +7 -10
  116. package/dist/build/schemas/tokenName.js +4 -7
  117. package/dist/build/schemas/tokenType.d.ts +2 -2
  118. package/dist/build/schemas/tokenType.js +2 -6
  119. package/dist/build/schemas/typographyToken.d.ts +5 -5
  120. package/dist/build/schemas/typographyToken.js +14 -17
  121. package/dist/build/schemas/validTokenType.js +9 -13
  122. package/dist/build/schemas/viewportRangeToken.d.ts +5 -5
  123. package/dist/build/schemas/viewportRangeToken.js +7 -10
  124. package/dist/build/transformers/borderToCss.d.ts +3 -3
  125. package/dist/build/transformers/borderToCss.js +16 -16
  126. package/dist/build/transformers/colorToHex.d.ts +2 -2
  127. package/dist/build/transformers/colorToHex.js +11 -13
  128. package/dist/build/transformers/colorToHexMix.d.ts +2 -2
  129. package/dist/build/transformers/colorToHexMix.js +10 -15
  130. package/dist/build/transformers/colorToRgbAlpha.d.ts +2 -2
  131. package/dist/build/transformers/colorToRgbAlpha.js +10 -12
  132. package/dist/build/transformers/colorToRgbaFloat.d.ts +2 -2
  133. package/dist/build/transformers/colorToRgbaFloat.js +24 -28
  134. package/dist/build/transformers/dimensionToPixelUnitless.d.ts +2 -2
  135. package/dist/build/transformers/dimensionToPixelUnitless.js +13 -14
  136. package/dist/build/transformers/dimensionToRem.d.ts +2 -2
  137. package/dist/build/transformers/dimensionToRem.js +12 -13
  138. package/dist/build/transformers/dimensionToRemPxArray.d.ts +2 -2
  139. package/dist/build/transformers/dimensionToRemPxArray.js +11 -12
  140. package/dist/build/transformers/durationToCss.d.ts +2 -2
  141. package/dist/build/transformers/durationToCss.js +9 -10
  142. package/dist/build/transformers/figmaAttributes.d.ts +2 -2
  143. package/dist/build/transformers/figmaAttributes.js +3 -5
  144. package/dist/build/transformers/floatToPixel.d.ts +4 -4
  145. package/dist/build/transformers/floatToPixel.js +12 -14
  146. package/dist/build/transformers/fontFamilyToCss.d.ts +2 -2
  147. package/dist/build/transformers/fontFamilyToCss.js +10 -13
  148. package/dist/build/transformers/fontFamilyToFigma.d.ts +3 -3
  149. package/dist/build/transformers/fontFamilyToFigma.js +15 -17
  150. package/dist/build/transformers/fontWeightToNumber.d.ts +2 -2
  151. package/dist/build/transformers/fontWeightToNumber.js +8 -11
  152. package/dist/build/transformers/index.d.ts +24 -24
  153. package/dist/build/transformers/index.js +24 -51
  154. package/dist/build/transformers/jsonDeprecated.d.ts +2 -2
  155. package/dist/build/transformers/jsonDeprecated.js +6 -8
  156. package/dist/build/transformers/namePathToCamelCase.d.ts +2 -2
  157. package/dist/build/transformers/namePathToCamelCase.js +5 -7
  158. package/dist/build/transformers/namePathToDotNotation.d.ts +2 -2
  159. package/dist/build/transformers/namePathToDotNotation.js +6 -8
  160. package/dist/build/transformers/namePathToFigma.d.ts +3 -3
  161. package/dist/build/transformers/namePathToFigma.js +5 -8
  162. package/dist/build/transformers/namePathToKebabCase.d.ts +2 -2
  163. package/dist/build/transformers/namePathToKebabCase.js +4 -6
  164. package/dist/build/transformers/namePathToPascalCase.d.ts +2 -2
  165. package/dist/build/transformers/namePathToPascalCase.js +5 -7
  166. package/dist/build/transformers/namePathToSlashNotation.d.ts +2 -2
  167. package/dist/build/transformers/namePathToSlashNotation.js +4 -6
  168. package/dist/build/transformers/shadowToCss.d.ts +2 -2
  169. package/dist/build/transformers/shadowToCss.js +14 -15
  170. package/dist/build/transformers/typographyToCss.d.ts +2 -2
  171. package/dist/build/transformers/typographyToCss.js +13 -15
  172. package/dist/build/transformers/utilities/alpha.d.ts +1 -1
  173. package/dist/build/transformers/utilities/alpha.js +4 -8
  174. package/dist/build/transformers/utilities/checkRequiredTokenProperties.js +1 -5
  175. package/dist/build/transformers/utilities/getTokenValue.d.ts +2 -2
  176. package/dist/build/transformers/utilities/getTokenValue.js +10 -12
  177. package/dist/build/transformers/utilities/hasSpaceInString.js +1 -5
  178. package/dist/build/transformers/utilities/hexToRgbaFloat.d.ts +1 -1
  179. package/dist/build/transformers/utilities/hexToRgbaFloat.js +1 -5
  180. package/dist/build/transformers/utilities/invalidTokenError.d.ts +1 -1
  181. package/dist/build/transformers/utilities/invalidTokenError.js +11 -10
  182. package/dist/build/transformers/utilities/isRgbaFloat.js +1 -5
  183. package/dist/build/transformers/utilities/mix.js +5 -7
  184. package/dist/build/transformers/utilities/rgbaFloatToHex.js +1 -5
  185. package/dist/build/types/Border.d.ts +5 -0
  186. package/dist/build/types/BorderTokenValue.d.ts +10 -0
  187. package/dist/build/types/ColorHex.d.ts +4 -0
  188. package/dist/build/types/PlatformInitializer.d.ts +11 -0
  189. package/dist/build/types/Shadow.d.ts +5 -0
  190. package/dist/build/types/ShadowTokenValue.d.ts +14 -0
  191. package/dist/build/types/SizeEm.d.ts +4 -0
  192. package/dist/build/types/SizePx.d.ts +4 -0
  193. package/dist/build/types/SizeRem.d.ts +4 -0
  194. package/dist/build/types/StyleDictionaryConfigGenerator.d.ts +15 -0
  195. package/dist/build/types/TokenBuildInput.d.ts +8 -0
  196. package/dist/build/types/TypographyTokenValue.d.ts +12 -0
  197. package/dist/build/types/w3cTransformedToken.d.ts +8 -0
  198. package/dist/build/utilities/copyFromDir.d.ts +2 -2
  199. package/dist/build/utilities/copyFromDir.js +7 -10
  200. package/dist/build/utilities/filterStringArray.js +1 -5
  201. package/dist/build/utilities/getFlag.js +1 -5
  202. package/dist/build/utilities/index.d.ts +9 -3
  203. package/dist/build/utilities/index.js +9 -9
  204. package/dist/build/utilities/joinFriendly.js +1 -5
  205. package/dist/build/utilities/schemaErrorMessage.js +1 -5
  206. package/dist/build/utilities/toCamelCase.js +5 -9
  207. package/dist/build/utilities/toPascalCase.js +5 -9
  208. package/dist/build/utilities/treeWalker.js +2 -6
  209. package/dist/build/utilities/upperCaseFirstCharacter.js +1 -5
  210. package/dist/css/functional/themes/dark-colorblind.css +4 -4
  211. package/dist/css/functional/themes/dark-high-contrast.css +20 -20
  212. package/dist/css/functional/themes/light-high-contrast.css +14 -14
  213. package/dist/css/functional/typography/typography.css +20 -20
  214. package/dist/css/primitives.css +20 -20
  215. package/dist/docs/base/size/size.json +76 -76
  216. package/dist/docs/base/typography/typography.json +16 -16
  217. package/dist/docs/functional/motion/motion.json +18 -18
  218. package/dist/docs/functional/size/border.json +56 -56
  219. package/dist/docs/functional/size/breakpoints.json +24 -24
  220. package/dist/docs/functional/size/size-coarse.json +12 -12
  221. package/dist/docs/functional/size/size-fine.json +12 -12
  222. package/dist/docs/functional/size/size.json +264 -264
  223. package/dist/docs/functional/size/viewport.json +24 -24
  224. package/dist/docs/functional/themes/dark-colorblind.json +2310 -3186
  225. package/dist/docs/functional/themes/dark-dimmed.json +2300 -2794
  226. package/dist/docs/functional/themes/dark-high-contrast.json +2520 -5038
  227. package/dist/docs/functional/themes/dark-tritanopia.json +2351 -3003
  228. package/dist/docs/functional/themes/dark.json +2270 -2270
  229. package/dist/docs/functional/themes/light-colorblind.json +2298 -3124
  230. package/dist/docs/functional/themes/light-high-contrast.json +2419 -4645
  231. package/dist/docs/functional/themes/light-tritanopia.json +2330 -2990
  232. package/dist/docs/functional/themes/light.json +2260 -2260
  233. package/dist/docs/functional/typography/typography.json +206 -206
  234. package/dist/figma/dimension/dimension.json +489 -489
  235. package/dist/figma/figma.json +11 -3
  236. package/dist/figma/scales/dark-dimmed.json +38 -38
  237. package/dist/figma/scales/dark-high-constrast.json +38 -38
  238. package/dist/figma/scales/dark.json +35 -35
  239. package/dist/figma/scales/light-high-constrast.json +40 -40
  240. package/dist/figma/scales/light.json +40 -40
  241. package/dist/figma/shadows/dark-colorblind.json +280 -280
  242. package/dist/figma/shadows/dark-dimmed.json +280 -280
  243. package/dist/figma/shadows/dark-high-contrast.json +280 -280
  244. package/dist/figma/shadows/dark-tritanopia.json +280 -280
  245. package/dist/figma/shadows/dark.json +280 -280
  246. package/dist/figma/shadows/light-colorblind.json +281 -281
  247. package/dist/figma/shadows/light-high-contrast.json +281 -281
  248. package/dist/figma/shadows/light-tritanopia.json +281 -281
  249. package/dist/figma/shadows/light.json +281 -281
  250. package/dist/figma/themes/dark-colorblind.json +4991 -5854
  251. package/dist/figma/themes/dark-dimmed.json +5314 -5799
  252. package/dist/figma/themes/dark-high-contrast.json +4210 -6679
  253. package/dist/figma/themes/dark-tritanopia.json +5165 -5817
  254. package/dist/figma/themes/dark.json +5534 -5537
  255. package/dist/figma/themes/light-colorblind.json +4857 -5669
  256. package/dist/figma/themes/light-high-contrast.json +4198 -6372
  257. package/dist/figma/themes/light-tritanopia.json +4901 -5529
  258. package/dist/figma/themes/light.json +5349 -5349
  259. package/dist/figma/typography/typography.json +112 -156
  260. package/dist/internalCss/dark-colorblind.css +4 -4
  261. package/dist/internalCss/dark-high-contrast.css +20 -20
  262. package/dist/internalCss/light-high-contrast.css +14 -14
  263. package/dist/styleLint/base/size/size.json +38 -38
  264. package/dist/styleLint/base/typography/typography.json +8 -8
  265. package/dist/styleLint/functional/motion/motion.json +12 -12
  266. package/dist/styleLint/functional/size/border.json +30 -30
  267. package/dist/styleLint/functional/size/breakpoints.json +12 -12
  268. package/dist/styleLint/functional/size/size-coarse.json +6 -6
  269. package/dist/styleLint/functional/size/size-fine.json +6 -6
  270. package/dist/styleLint/functional/size/size.json +132 -132
  271. package/dist/styleLint/functional/size/viewport.json +12 -12
  272. package/dist/styleLint/functional/themes/dark-colorblind.json +1171 -2047
  273. package/dist/styleLint/functional/themes/dark-dimmed.json +1160 -1654
  274. package/dist/styleLint/functional/themes/dark-high-contrast.json +1307 -3825
  275. package/dist/styleLint/functional/themes/dark-tritanopia.json +1232 -1884
  276. package/dist/styleLint/functional/themes/dark.json +1140 -1140
  277. package/dist/styleLint/functional/themes/light-colorblind.json +1198 -2024
  278. package/dist/styleLint/functional/themes/light-high-contrast.json +1270 -3496
  279. package/dist/styleLint/functional/themes/light-tritanopia.json +1205 -1865
  280. package/dist/styleLint/functional/themes/light.json +1130 -1130
  281. package/dist/styleLint/functional/typography/typography.json +114 -114
  282. package/package.json +19 -10
  283. package/src/tokens/functional/color/dark/overrides/dark.high-contrast.json5 +4 -4
  284. package/src/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 +6 -0
  285. package/src/tokens/functional/color/dark/overrides/dark.tritanopia.json5 +21 -3
  286. package/src/tokens/functional/color/dark/primitives-dark.json5 +3 -3
  287. package/src/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 +4 -1
  288. package/src/tokens/functional/color/light/overrides/light.tritanopia.json5 +4 -1
  289. package/src/tokens/functional/color/light/primitives-light.json5 +2 -2
@@ -1,7 +1,5 @@
1
1
  {
2
2
  "fontStack-system": {
3
- "value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
4
- "$type": "fontFamily",
5
3
  "$extensions": {
6
4
  "org.primer.figma": {
7
5
  "collection": "typography",
@@ -11,7 +9,7 @@
11
9
  "filePath": "src/tokens/functional/typography/typography.json",
12
10
  "isSource": true,
13
11
  "original": {
14
- "value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
12
+ "$value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
15
13
  "$type": "fontFamily",
16
14
  "$extensions": {
17
15
  "org.primer.figma": {
@@ -22,11 +20,11 @@
22
20
  },
23
21
  "name": "fontStack-system",
24
22
  "attributes": {},
25
- "path": ["fontStack", "system"]
23
+ "path": ["fontStack", "system"],
24
+ "value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
25
+ "type": "fontFamily"
26
26
  },
27
27
  "fontStack-sansSerif": {
28
- "value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
29
- "$type": "fontFamily",
30
28
  "$extensions": {
31
29
  "org.primer.figma": {
32
30
  "collection": "typography",
@@ -36,7 +34,7 @@
36
34
  "filePath": "src/tokens/functional/typography/typography.json",
37
35
  "isSource": true,
38
36
  "original": {
39
- "value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
37
+ "$value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
40
38
  "$type": "fontFamily",
41
39
  "$extensions": {
42
40
  "org.primer.figma": {
@@ -47,11 +45,11 @@
47
45
  },
48
46
  "name": "fontStack-sansSerif",
49
47
  "attributes": {},
50
- "path": ["fontStack", "sansSerif"]
48
+ "path": ["fontStack", "sansSerif"],
49
+ "value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
50
+ "type": "fontFamily"
51
51
  },
52
52
  "fontStack-sansSerifDisplay": {
53
- "value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
54
- "$type": "fontFamily",
55
53
  "$extensions": {
56
54
  "org.primer.figma": {
57
55
  "collection": "typography",
@@ -61,7 +59,7 @@
61
59
  "filePath": "src/tokens/functional/typography/typography.json",
62
60
  "isSource": true,
63
61
  "original": {
64
- "value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
62
+ "$value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
65
63
  "$type": "fontFamily",
66
64
  "$extensions": {
67
65
  "org.primer.figma": {
@@ -72,11 +70,11 @@
72
70
  },
73
71
  "name": "fontStack-sansSerifDisplay",
74
72
  "attributes": {},
75
- "path": ["fontStack", "sansSerifDisplay"]
73
+ "path": ["fontStack", "sansSerifDisplay"],
74
+ "value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
75
+ "type": "fontFamily"
76
76
  },
77
77
  "fontStack-monospace": {
78
- "value": "ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",
79
- "$type": "fontFamily",
80
78
  "$extensions": {
81
79
  "org.primer.figma": {
82
80
  "collection": "typography",
@@ -86,7 +84,7 @@
86
84
  "filePath": "src/tokens/functional/typography/typography.json",
87
85
  "isSource": true,
88
86
  "original": {
89
- "value": "ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",
87
+ "$value": "ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",
90
88
  "$type": "fontFamily",
91
89
  "$extensions": {
92
90
  "org.primer.figma": {
@@ -97,11 +95,11 @@
97
95
  },
98
96
  "name": "fontStack-monospace",
99
97
  "attributes": {},
100
- "path": ["fontStack", "monospace"]
98
+ "path": ["fontStack", "monospace"],
99
+ "value": "ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",
100
+ "type": "fontFamily"
101
101
  },
102
102
  "text-display-lineBoxHeight": {
103
- "value": 1.4,
104
- "$type": "number",
105
103
  "$extensions": {
106
104
  "org.primer.data": {
107
105
  "fontSize": 40
@@ -115,7 +113,7 @@
115
113
  "filePath": "src/tokens/functional/typography/typography.json",
116
114
  "isSource": true,
117
115
  "original": {
118
- "value": 1.4,
116
+ "$value": 1.4,
119
117
  "$type": "number",
120
118
  "$extensions": {
121
119
  "org.primer.data": {
@@ -130,11 +128,11 @@
130
128
  },
131
129
  "name": "text-display-lineBoxHeight",
132
130
  "attributes": {},
133
- "path": ["text", "display", "lineBoxHeight"]
131
+ "path": ["text", "display", "lineBoxHeight"],
132
+ "value": 1.4,
133
+ "type": "number"
134
134
  },
135
135
  "text-display-size": {
136
- "value": "2.5rem",
137
- "$type": "dimension",
138
136
  "$extensions": {
139
137
  "org.primer.figma": {
140
138
  "collection": "typography",
@@ -144,7 +142,7 @@
144
142
  "filePath": "src/tokens/functional/typography/typography.json",
145
143
  "isSource": true,
146
144
  "original": {
147
- "value": "40px",
145
+ "$value": "40px",
148
146
  "$type": "dimension",
149
147
  "$extensions": {
150
148
  "org.primer.figma": {
@@ -155,11 +153,11 @@
155
153
  },
156
154
  "name": "text-display-size",
157
155
  "attributes": {},
158
- "path": ["text", "display", "size"]
156
+ "path": ["text", "display", "size"],
157
+ "value": "2.5rem",
158
+ "type": "dimension"
159
159
  },
160
160
  "text-display-lineHeight": {
161
- "value": 1.4,
162
- "$type": "number",
163
161
  "$extensions": {
164
162
  "org.primer.data": {
165
163
  "fontSize": 40
@@ -172,7 +170,7 @@
172
170
  "filePath": "src/tokens/functional/typography/typography.json",
173
171
  "isSource": true,
174
172
  "original": {
175
- "value": 1.4,
173
+ "$value": 1.4,
176
174
  "$type": "number",
177
175
  "$extensions": {
178
176
  "org.primer.data": {
@@ -186,11 +184,11 @@
186
184
  },
187
185
  "name": "text-display-lineHeight",
188
186
  "attributes": {},
189
- "path": ["text", "display", "lineHeight"]
187
+ "path": ["text", "display", "lineHeight"],
188
+ "value": 1.4,
189
+ "type": "number"
190
190
  },
191
191
  "text-display-weight": {
192
- "value": 500,
193
- "$type": "fontWeight",
194
192
  "$extensions": {
195
193
  "org.primer.figma": {
196
194
  "collection": "typography",
@@ -200,7 +198,7 @@
200
198
  "filePath": "src/tokens/functional/typography/typography.json",
201
199
  "isSource": true,
202
200
  "original": {
203
- "value": "{base.text.weight.medium}",
201
+ "$value": "{base.text.weight.medium}",
204
202
  "$type": "fontWeight",
205
203
  "$extensions": {
206
204
  "org.primer.figma": {
@@ -211,31 +209,31 @@
211
209
  },
212
210
  "name": "text-display-weight",
213
211
  "attributes": {},
214
- "path": ["text", "display", "weight"]
212
+ "path": ["text", "display", "weight"],
213
+ "value": 500,
214
+ "type": "fontWeight"
215
215
  },
216
216
  "text-display-shorthand": {
217
- "value": "500 2.5rem/1.4 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
218
- "$type": "typography",
219
- "comment": "Hero-style text for brand to product transition pages. Utilize Title (large) styles on narrow viewports.",
220
217
  "filePath": "src/tokens/functional/typography/typography.json",
221
218
  "isSource": true,
222
219
  "original": {
223
- "value": {
220
+ "$value": {
224
221
  "fontWeight": "{text.display.weight}",
225
222
  "fontSize": "{text.display.size}",
226
223
  "lineHeight": "{text.display.lineHeight}",
227
224
  "fontFamily": "{fontStack.sansSerifDisplay}"
228
225
  },
229
226
  "$type": "typography",
230
- "comment": "Hero-style text for brand to product transition pages. Utilize Title (large) styles on narrow viewports."
227
+ "$description": "Hero-style text for brand to product transition pages. Utilize Title (large) styles on narrow viewports."
231
228
  },
232
229
  "name": "text-display-shorthand",
233
230
  "attributes": {},
234
- "path": ["text", "display", "shorthand"]
231
+ "path": ["text", "display", "shorthand"],
232
+ "value": "500 2.5rem/1.4 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
233
+ "type": "typography",
234
+ "description": "Hero-style text for brand to product transition pages. Utilize Title (large) styles on narrow viewports."
235
235
  },
236
236
  "text-title-size-large": {
237
- "value": "2rem",
238
- "$type": "dimension",
239
237
  "$extensions": {
240
238
  "org.primer.figma": {
241
239
  "collection": "typography",
@@ -245,7 +243,7 @@
245
243
  "filePath": "src/tokens/functional/typography/typography.json",
246
244
  "isSource": true,
247
245
  "original": {
248
- "value": "32px",
246
+ "$value": "32px",
249
247
  "$type": "dimension",
250
248
  "$extensions": {
251
249
  "org.primer.figma": {
@@ -256,11 +254,11 @@
256
254
  },
257
255
  "name": "text-title-size-large",
258
256
  "attributes": {},
259
- "path": ["text", "title", "size", "large"]
257
+ "path": ["text", "title", "size", "large"],
258
+ "value": "2rem",
259
+ "type": "dimension"
260
260
  },
261
261
  "text-title-size-medium": {
262
- "value": "1.25rem",
263
- "$type": "dimension",
264
262
  "$extensions": {
265
263
  "org.primer.figma": {
266
264
  "collection": "typography",
@@ -270,7 +268,7 @@
270
268
  "filePath": "src/tokens/functional/typography/typography.json",
271
269
  "isSource": true,
272
270
  "original": {
273
- "value": "20px",
271
+ "$value": "20px",
274
272
  "$type": "dimension",
275
273
  "$extensions": {
276
274
  "org.primer.figma": {
@@ -281,11 +279,11 @@
281
279
  },
282
280
  "name": "text-title-size-medium",
283
281
  "attributes": {},
284
- "path": ["text", "title", "size", "medium"]
282
+ "path": ["text", "title", "size", "medium"],
283
+ "value": "1.25rem",
284
+ "type": "dimension"
285
285
  },
286
286
  "text-title-size-small": {
287
- "value": "1rem",
288
- "$type": "dimension",
289
287
  "$extensions": {
290
288
  "org.primer.figma": {
291
289
  "collection": "typography",
@@ -295,7 +293,7 @@
295
293
  "filePath": "src/tokens/functional/typography/typography.json",
296
294
  "isSource": true,
297
295
  "original": {
298
- "value": "16px",
296
+ "$value": "16px",
299
297
  "$type": "dimension",
300
298
  "$extensions": {
301
299
  "org.primer.figma": {
@@ -306,11 +304,11 @@
306
304
  },
307
305
  "name": "text-title-size-small",
308
306
  "attributes": {},
309
- "path": ["text", "title", "size", "small"]
307
+ "path": ["text", "title", "size", "small"],
308
+ "value": "1rem",
309
+ "type": "dimension"
310
310
  },
311
311
  "text-title-lineHeight-large": {
312
- "value": 1.5,
313
- "$type": "number",
314
312
  "$extensions": {
315
313
  "org.primer.data": {
316
314
  "fontSize": 32
@@ -323,7 +321,7 @@
323
321
  "filePath": "src/tokens/functional/typography/typography.json",
324
322
  "isSource": true,
325
323
  "original": {
326
- "value": 1.5,
324
+ "$value": 1.5,
327
325
  "$type": "number",
328
326
  "$extensions": {
329
327
  "org.primer.data": {
@@ -337,11 +335,11 @@
337
335
  },
338
336
  "name": "text-title-lineHeight-large",
339
337
  "attributes": {},
340
- "path": ["text", "title", "lineHeight", "large"]
338
+ "path": ["text", "title", "lineHeight", "large"],
339
+ "value": 1.5,
340
+ "type": "number"
341
341
  },
342
342
  "text-title-lineHeight-medium": {
343
- "value": 1.6,
344
- "$type": "number",
345
343
  "$extensions": {
346
344
  "org.primer.data": {
347
345
  "fontSize": 20
@@ -354,7 +352,7 @@
354
352
  "filePath": "src/tokens/functional/typography/typography.json",
355
353
  "isSource": true,
356
354
  "original": {
357
- "value": 1.6,
355
+ "$value": 1.6,
358
356
  "$type": "number",
359
357
  "$extensions": {
360
358
  "org.primer.data": {
@@ -368,11 +366,11 @@
368
366
  },
369
367
  "name": "text-title-lineHeight-medium",
370
368
  "attributes": {},
371
- "path": ["text", "title", "lineHeight", "medium"]
369
+ "path": ["text", "title", "lineHeight", "medium"],
370
+ "value": 1.6,
371
+ "type": "number"
372
372
  },
373
373
  "text-title-lineHeight-small": {
374
- "value": 1.5,
375
- "$type": "number",
376
374
  "$extensions": {
377
375
  "org.primer.data": {
378
376
  "fontSize": 16
@@ -385,7 +383,7 @@
385
383
  "filePath": "src/tokens/functional/typography/typography.json",
386
384
  "isSource": true,
387
385
  "original": {
388
- "value": 1.5,
386
+ "$value": 1.5,
389
387
  "$type": "number",
390
388
  "$extensions": {
391
389
  "org.primer.data": {
@@ -399,11 +397,11 @@
399
397
  },
400
398
  "name": "text-title-lineHeight-small",
401
399
  "attributes": {},
402
- "path": ["text", "title", "lineHeight", "small"]
400
+ "path": ["text", "title", "lineHeight", "small"],
401
+ "value": 1.5,
402
+ "type": "number"
403
403
  },
404
404
  "text-title-weight-large": {
405
- "value": 600,
406
- "$type": "fontWeight",
407
405
  "$extensions": {
408
406
  "org.primer.figma": {
409
407
  "collection": "typography",
@@ -413,7 +411,7 @@
413
411
  "filePath": "src/tokens/functional/typography/typography.json",
414
412
  "isSource": true,
415
413
  "original": {
416
- "value": "{base.text.weight.semibold}",
414
+ "$value": "{base.text.weight.semibold}",
417
415
  "$type": "fontWeight",
418
416
  "$extensions": {
419
417
  "org.primer.figma": {
@@ -424,11 +422,11 @@
424
422
  },
425
423
  "name": "text-title-weight-large",
426
424
  "attributes": {},
427
- "path": ["text", "title", "weight", "large"]
425
+ "path": ["text", "title", "weight", "large"],
426
+ "value": 600,
427
+ "type": "fontWeight"
428
428
  },
429
429
  "text-title-weight-medium": {
430
- "value": 600,
431
- "$type": "fontWeight",
432
430
  "$extensions": {
433
431
  "org.primer.figma": {
434
432
  "collection": "typography",
@@ -438,7 +436,7 @@
438
436
  "filePath": "src/tokens/functional/typography/typography.json",
439
437
  "isSource": true,
440
438
  "original": {
441
- "value": "{base.text.weight.semibold}",
439
+ "$value": "{base.text.weight.semibold}",
442
440
  "$type": "fontWeight",
443
441
  "$extensions": {
444
442
  "org.primer.figma": {
@@ -449,11 +447,11 @@
449
447
  },
450
448
  "name": "text-title-weight-medium",
451
449
  "attributes": {},
452
- "path": ["text", "title", "weight", "medium"]
450
+ "path": ["text", "title", "weight", "medium"],
451
+ "value": 600,
452
+ "type": "fontWeight"
453
453
  },
454
454
  "text-title-weight-small": {
455
- "value": 600,
456
- "$type": "fontWeight",
457
455
  "$extensions": {
458
456
  "org.primer.figma": {
459
457
  "collection": "typography",
@@ -463,7 +461,7 @@
463
461
  "filePath": "src/tokens/functional/typography/typography.json",
464
462
  "isSource": true,
465
463
  "original": {
466
- "value": "{base.text.weight.semibold}",
464
+ "$value": "{base.text.weight.semibold}",
467
465
  "$type": "fontWeight",
468
466
  "$extensions": {
469
467
  "org.primer.figma": {
@@ -474,71 +472,71 @@
474
472
  },
475
473
  "name": "text-title-weight-small",
476
474
  "attributes": {},
477
- "path": ["text", "title", "weight", "small"]
475
+ "path": ["text", "title", "weight", "small"],
476
+ "value": 600,
477
+ "type": "fontWeight"
478
478
  },
479
479
  "text-title-shorthand-large": {
480
- "value": "600 2rem/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
481
- "$type": "typography",
482
- "comment": "Page headings for user-created objects, such as issues or pull requests. Utilize title (medium) styles on narrow viewports.",
483
480
  "filePath": "src/tokens/functional/typography/typography.json",
484
481
  "isSource": true,
485
482
  "original": {
486
- "value": {
483
+ "$value": {
487
484
  "fontWeight": "{text.title.weight.large}",
488
485
  "fontSize": "{text.title.size.large}",
489
486
  "lineHeight": "{text.title.lineHeight.large}",
490
487
  "fontFamily": "{fontStack.sansSerifDisplay}"
491
488
  },
492
489
  "$type": "typography",
493
- "comment": "Page headings for user-created objects, such as issues or pull requests. Utilize title (medium) styles on narrow viewports."
490
+ "$description": "Page headings for user-created objects, such as issues or pull requests. Utilize title (medium) styles on narrow viewports."
494
491
  },
495
492
  "name": "text-title-shorthand-large",
496
493
  "attributes": {},
497
- "path": ["text", "title", "shorthand", "large"]
494
+ "path": ["text", "title", "shorthand", "large"],
495
+ "value": "600 2rem/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
496
+ "type": "typography",
497
+ "description": "Page headings for user-created objects, such as issues or pull requests. Utilize title (medium) styles on narrow viewports."
498
498
  },
499
499
  "text-title-shorthand-medium": {
500
- "value": "600 1.25rem/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
501
- "$type": "typography",
502
- "comment": "Default page title. The 32px-equivalent line-height matches with button and other medium control heights. Great for page header composition.",
503
500
  "filePath": "src/tokens/functional/typography/typography.json",
504
501
  "isSource": true,
505
502
  "original": {
506
- "value": {
503
+ "$value": {
507
504
  "fontWeight": "{text.title.weight.medium}",
508
505
  "fontSize": "{text.title.size.medium}",
509
506
  "lineHeight": "{text.title.lineHeight.medium}",
510
507
  "fontFamily": "{fontStack.sansSerifDisplay}"
511
508
  },
512
509
  "$type": "typography",
513
- "comment": "Default page title. The 32px-equivalent line-height matches with button and other medium control heights. Great for page header composition."
510
+ "$description": "Default page title. The 32px-equivalent line-height matches with button and other medium control heights. Great for page header composition."
514
511
  },
515
512
  "name": "text-title-shorthand-medium",
516
513
  "attributes": {},
517
- "path": ["text", "title", "shorthand", "medium"]
514
+ "path": ["text", "title", "shorthand", "medium"],
515
+ "value": "600 1.25rem/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
516
+ "type": "typography",
517
+ "description": "Default page title. The 32px-equivalent line-height matches with button and other medium control heights. Great for page header composition."
518
518
  },
519
519
  "text-title-shorthand-small": {
520
- "value": "600 1rem/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
521
- "$type": "typography",
522
- "comment": "Uses the same size as body (large) with a heavier weight of semibold (600).",
523
520
  "filePath": "src/tokens/functional/typography/typography.json",
524
521
  "isSource": true,
525
522
  "original": {
526
- "value": {
523
+ "$value": {
527
524
  "fontWeight": "{text.title.weight.small}",
528
525
  "fontSize": "{text.title.size.small}",
529
526
  "lineHeight": "{text.title.lineHeight.small}",
530
527
  "fontFamily": "{fontStack.sansSerif}"
531
528
  },
532
529
  "$type": "typography",
533
- "comment": "Uses the same size as body (large) with a heavier weight of semibold (600)."
530
+ "$description": "Uses the same size as body (large) with a heavier weight of semibold (600)."
534
531
  },
535
532
  "name": "text-title-shorthand-small",
536
533
  "attributes": {},
537
- "path": ["text", "title", "shorthand", "small"]
534
+ "path": ["text", "title", "shorthand", "small"],
535
+ "value": "600 1rem/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
536
+ "type": "typography",
537
+ "description": "Uses the same size as body (large) with a heavier weight of semibold (600)."
538
538
  },
539
539
  "text-subtitle-size": {
540
- "value": "1.25rem",
541
- "$type": "dimension",
542
540
  "$extensions": {
543
541
  "org.primer.figma": {
544
542
  "collection": "typography",
@@ -548,7 +546,7 @@
548
546
  "filePath": "src/tokens/functional/typography/typography.json",
549
547
  "isSource": true,
550
548
  "original": {
551
- "value": "20px",
549
+ "$value": "20px",
552
550
  "$type": "dimension",
553
551
  "$extensions": {
554
552
  "org.primer.figma": {
@@ -559,11 +557,11 @@
559
557
  },
560
558
  "name": "text-subtitle-size",
561
559
  "attributes": {},
562
- "path": ["text", "subtitle", "size"]
560
+ "path": ["text", "subtitle", "size"],
561
+ "value": "1.25rem",
562
+ "type": "dimension"
563
563
  },
564
564
  "text-subtitle-lineHeight": {
565
- "value": 1.6,
566
- "$type": "number",
567
565
  "$extensions": {
568
566
  "org.primer.data": {
569
567
  "fontSize": 20
@@ -576,7 +574,7 @@
576
574
  "filePath": "src/tokens/functional/typography/typography.json",
577
575
  "isSource": true,
578
576
  "original": {
579
- "value": 1.6,
577
+ "$value": 1.6,
580
578
  "$type": "number",
581
579
  "$extensions": {
582
580
  "org.primer.data": {
@@ -590,11 +588,11 @@
590
588
  },
591
589
  "name": "text-subtitle-lineHeight",
592
590
  "attributes": {},
593
- "path": ["text", "subtitle", "lineHeight"]
591
+ "path": ["text", "subtitle", "lineHeight"],
592
+ "value": 1.6,
593
+ "type": "number"
594
594
  },
595
595
  "text-subtitle-weight": {
596
- "value": 400,
597
- "$type": "fontWeight",
598
596
  "$extensions": {
599
597
  "org.primer.figma": {
600
598
  "collection": "typography",
@@ -604,7 +602,7 @@
604
602
  "filePath": "src/tokens/functional/typography/typography.json",
605
603
  "isSource": true,
606
604
  "original": {
607
- "value": "{base.text.weight.normal}",
605
+ "$value": "{base.text.weight.normal}",
608
606
  "$type": "fontWeight",
609
607
  "$extensions": {
610
608
  "org.primer.figma": {
@@ -615,31 +613,31 @@
615
613
  },
616
614
  "name": "text-subtitle-weight",
617
615
  "attributes": {},
618
- "path": ["text", "subtitle", "weight"]
616
+ "path": ["text", "subtitle", "weight"],
617
+ "value": 400,
618
+ "type": "fontWeight"
619
619
  },
620
620
  "text-subtitle-shorthand": {
621
- "value": "400 1.25rem/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
622
- "$type": "typography",
623
- "comment": "Page sections/sub headings, or less important object names in page titles (automated action titles, for example). Same line-height as title (medium).",
624
621
  "filePath": "src/tokens/functional/typography/typography.json",
625
622
  "isSource": true,
626
623
  "original": {
627
- "value": {
624
+ "$value": {
628
625
  "fontWeight": "{text.subtitle.weight}",
629
626
  "fontSize": "{text.subtitle.size}",
630
627
  "lineHeight": "{text.subtitle.lineHeight}",
631
628
  "fontFamily": "{fontStack.sansSerifDisplay}"
632
629
  },
633
630
  "$type": "typography",
634
- "comment": "Page sections/sub headings, or less important object names in page titles (automated action titles, for example). Same line-height as title (medium)."
631
+ "$description": "Page sections/sub headings, or less important object names in page titles (automated action titles, for example). Same line-height as title (medium)."
635
632
  },
636
633
  "name": "text-subtitle-shorthand",
637
634
  "attributes": {},
638
- "path": ["text", "subtitle", "shorthand"]
635
+ "path": ["text", "subtitle", "shorthand"],
636
+ "value": "400 1.25rem/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
637
+ "type": "typography",
638
+ "description": "Page sections/sub headings, or less important object names in page titles (automated action titles, for example). Same line-height as title (medium)."
639
639
  },
640
640
  "text-body-size-large": {
641
- "value": "1rem",
642
- "$type": "dimension",
643
641
  "$extensions": {
644
642
  "org.primer.figma": {
645
643
  "collection": "typography",
@@ -649,7 +647,7 @@
649
647
  "filePath": "src/tokens/functional/typography/typography.json",
650
648
  "isSource": true,
651
649
  "original": {
652
- "value": "16px",
650
+ "$value": "16px",
653
651
  "$type": "dimension",
654
652
  "$extensions": {
655
653
  "org.primer.figma": {
@@ -660,11 +658,11 @@
660
658
  },
661
659
  "name": "text-body-size-large",
662
660
  "attributes": {},
663
- "path": ["text", "body", "size", "large"]
661
+ "path": ["text", "body", "size", "large"],
662
+ "value": "1rem",
663
+ "type": "dimension"
664
664
  },
665
665
  "text-body-size-medium": {
666
- "value": "0.875rem",
667
- "$type": "dimension",
668
666
  "$extensions": {
669
667
  "org.primer.figma": {
670
668
  "collection": "typography",
@@ -674,7 +672,7 @@
674
672
  "filePath": "src/tokens/functional/typography/typography.json",
675
673
  "isSource": true,
676
674
  "original": {
677
- "value": "14px",
675
+ "$value": "14px",
678
676
  "$type": "dimension",
679
677
  "$extensions": {
680
678
  "org.primer.figma": {
@@ -685,11 +683,11 @@
685
683
  },
686
684
  "name": "text-body-size-medium",
687
685
  "attributes": {},
688
- "path": ["text", "body", "size", "medium"]
686
+ "path": ["text", "body", "size", "medium"],
687
+ "value": "0.875rem",
688
+ "type": "dimension"
689
689
  },
690
690
  "text-body-size-small": {
691
- "value": "0.75rem",
692
- "$type": "dimension",
693
691
  "$extensions": {
694
692
  "org.primer.figma": {
695
693
  "collection": "typography",
@@ -699,7 +697,7 @@
699
697
  "filePath": "src/tokens/functional/typography/typography.json",
700
698
  "isSource": true,
701
699
  "original": {
702
- "value": "12px",
700
+ "$value": "12px",
703
701
  "$type": "dimension",
704
702
  "$extensions": {
705
703
  "org.primer.figma": {
@@ -710,11 +708,11 @@
710
708
  },
711
709
  "name": "text-body-size-small",
712
710
  "attributes": {},
713
- "path": ["text", "body", "size", "small"]
711
+ "path": ["text", "body", "size", "small"],
712
+ "value": "0.75rem",
713
+ "type": "dimension"
714
714
  },
715
715
  "text-body-lineHeight-large": {
716
- "value": 1.5,
717
- "$type": "number",
718
716
  "$extensions": {
719
717
  "org.primer.data": {
720
718
  "fontSize": 16
@@ -727,7 +725,7 @@
727
725
  "filePath": "src/tokens/functional/typography/typography.json",
728
726
  "isSource": true,
729
727
  "original": {
730
- "value": 1.5,
728
+ "$value": 1.5,
731
729
  "$type": "number",
732
730
  "$extensions": {
733
731
  "org.primer.data": {
@@ -741,11 +739,11 @@
741
739
  },
742
740
  "name": "text-body-lineHeight-large",
743
741
  "attributes": {},
744
- "path": ["text", "body", "lineHeight", "large"]
742
+ "path": ["text", "body", "lineHeight", "large"],
743
+ "value": 1.5,
744
+ "type": "number"
745
745
  },
746
746
  "text-body-lineHeight-medium": {
747
- "value": 1.4285,
748
- "$type": "number",
749
747
  "$extensions": {
750
748
  "org.primer.data": {
751
749
  "fontSize": 14
@@ -758,7 +756,7 @@
758
756
  "filePath": "src/tokens/functional/typography/typography.json",
759
757
  "isSource": true,
760
758
  "original": {
761
- "value": 1.4285,
759
+ "$value": 1.4285,
762
760
  "$type": "number",
763
761
  "$extensions": {
764
762
  "org.primer.data": {
@@ -772,11 +770,11 @@
772
770
  },
773
771
  "name": "text-body-lineHeight-medium",
774
772
  "attributes": {},
775
- "path": ["text", "body", "lineHeight", "medium"]
773
+ "path": ["text", "body", "lineHeight", "medium"],
774
+ "value": 1.4285,
775
+ "type": "number"
776
776
  },
777
777
  "text-body-lineHeight-small": {
778
- "value": 1.6666,
779
- "$type": "number",
780
778
  "$extensions": {
781
779
  "org.primer.data": {
782
780
  "fontSize": 12
@@ -789,7 +787,7 @@
789
787
  "filePath": "src/tokens/functional/typography/typography.json",
790
788
  "isSource": true,
791
789
  "original": {
792
- "value": 1.6666,
790
+ "$value": 1.6666,
793
791
  "$type": "number",
794
792
  "$extensions": {
795
793
  "org.primer.data": {
@@ -803,11 +801,11 @@
803
801
  },
804
802
  "name": "text-body-lineHeight-small",
805
803
  "attributes": {},
806
- "path": ["text", "body", "lineHeight", "small"]
804
+ "path": ["text", "body", "lineHeight", "small"],
805
+ "value": 1.6666,
806
+ "type": "number"
807
807
  },
808
808
  "text-body-weight": {
809
- "value": 400,
810
- "$type": "fontWeight",
811
809
  "$extensions": {
812
810
  "org.primer.figma": {
813
811
  "collection": "typography",
@@ -817,7 +815,7 @@
817
815
  "filePath": "src/tokens/functional/typography/typography.json",
818
816
  "isSource": true,
819
817
  "original": {
820
- "value": "{base.text.weight.normal}",
818
+ "$value": "{base.text.weight.normal}",
821
819
  "$type": "fontWeight",
822
820
  "$extensions": {
823
821
  "org.primer.figma": {
@@ -828,71 +826,71 @@
828
826
  },
829
827
  "name": "text-body-weight",
830
828
  "attributes": {},
831
- "path": ["text", "body", "weight"]
829
+ "path": ["text", "body", "weight"],
830
+ "value": 400,
831
+ "type": "fontWeight"
832
832
  },
833
833
  "text-body-shorthand-large": {
834
- "value": "400 1rem/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
835
- "$type": "typography",
836
- "comment": "User-generated content, markdown rendering.",
837
834
  "filePath": "src/tokens/functional/typography/typography.json",
838
835
  "isSource": true,
839
836
  "original": {
840
- "value": {
837
+ "$value": {
841
838
  "fontWeight": "{text.body.weight}",
842
839
  "fontSize": "{text.body.size.large}",
843
840
  "lineHeight": "{text.body.lineHeight.large}",
844
841
  "fontFamily": "{fontStack.sansSerif}"
845
842
  },
846
843
  "$type": "typography",
847
- "comment": "User-generated content, markdown rendering."
844
+ "$description": "User-generated content, markdown rendering."
848
845
  },
849
846
  "name": "text-body-shorthand-large",
850
847
  "attributes": {},
851
- "path": ["text", "body", "shorthand", "large"]
848
+ "path": ["text", "body", "shorthand", "large"],
849
+ "value": "400 1rem/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
850
+ "type": "typography",
851
+ "description": "User-generated content, markdown rendering."
852
852
  },
853
853
  "text-body-shorthand-medium": {
854
- "value": "400 0.875rem/1.4285 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
855
- "$type": "typography",
856
- "comment": "Default UI font. Most commonly used for body text.",
857
854
  "filePath": "src/tokens/functional/typography/typography.json",
858
855
  "isSource": true,
859
856
  "original": {
860
- "value": {
857
+ "$value": {
861
858
  "fontWeight": "{text.body.weight}",
862
859
  "fontSize": "{text.body.size.medium}",
863
860
  "lineHeight": "{text.body.lineHeight.medium}",
864
861
  "fontFamily": "{fontStack.sansSerif}"
865
862
  },
866
863
  "$type": "typography",
867
- "comment": "Default UI font. Most commonly used for body text."
864
+ "$description": "Default UI font. Most commonly used for body text."
868
865
  },
869
866
  "name": "text-body-shorthand-medium",
870
867
  "attributes": {},
871
- "path": ["text", "body", "shorthand", "medium"]
868
+ "path": ["text", "body", "shorthand", "medium"],
869
+ "value": "400 0.875rem/1.4285 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
870
+ "type": "typography",
871
+ "description": "Default UI font. Most commonly used for body text."
872
872
  },
873
873
  "text-body-shorthand-small": {
874
- "value": "400 0.75rem/1.6666 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
875
- "$type": "typography",
876
- "comment": "Small body text for discrete UI applications, such as helper, footnote text. Should be used sparingly across pages. Line-height matches Body (medium) at 20px.",
877
874
  "filePath": "src/tokens/functional/typography/typography.json",
878
875
  "isSource": true,
879
876
  "original": {
880
- "value": {
877
+ "$value": {
881
878
  "fontWeight": "{text.body.weight}",
882
879
  "fontSize": "{text.body.size.small}",
883
880
  "lineHeight": "{text.body.lineHeight.small}",
884
881
  "fontFamily": "{fontStack.sansSerif}"
885
882
  },
886
883
  "$type": "typography",
887
- "comment": "Small body text for discrete UI applications, such as helper, footnote text. Should be used sparingly across pages. Line-height matches Body (medium) at 20px."
884
+ "$description": "Small body text for discrete UI applications, such as helper, footnote text. Should be used sparingly across pages. Line-height matches Body (medium) at 20px."
888
885
  },
889
886
  "name": "text-body-shorthand-small",
890
887
  "attributes": {},
891
- "path": ["text", "body", "shorthand", "small"]
888
+ "path": ["text", "body", "shorthand", "small"],
889
+ "value": "400 0.75rem/1.6666 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
890
+ "type": "typography",
891
+ "description": "Small body text for discrete UI applications, such as helper, footnote text. Should be used sparingly across pages. Line-height matches Body (medium) at 20px."
892
892
  },
893
893
  "text-caption-size": {
894
- "value": "0.75rem",
895
- "$type": "dimension",
896
894
  "$extensions": {
897
895
  "org.primer.figma": {
898
896
  "collection": "typography",
@@ -902,7 +900,7 @@
902
900
  "filePath": "src/tokens/functional/typography/typography.json",
903
901
  "isSource": true,
904
902
  "original": {
905
- "value": "12px",
903
+ "$value": "12px",
906
904
  "$type": "dimension",
907
905
  "$extensions": {
908
906
  "org.primer.figma": {
@@ -913,11 +911,11 @@
913
911
  },
914
912
  "name": "text-caption-size",
915
913
  "attributes": {},
916
- "path": ["text", "caption", "size"]
914
+ "path": ["text", "caption", "size"],
915
+ "value": "0.75rem",
916
+ "type": "dimension"
917
917
  },
918
918
  "text-caption-lineHeight": {
919
- "value": 1.3333,
920
- "$type": "number",
921
919
  "$extensions": {
922
920
  "org.primer.data": {
923
921
  "fontSize": 12
@@ -930,7 +928,7 @@
930
928
  "filePath": "src/tokens/functional/typography/typography.json",
931
929
  "isSource": true,
932
930
  "original": {
933
- "value": 1.3333,
931
+ "$value": 1.3333,
934
932
  "$type": "number",
935
933
  "$extensions": {
936
934
  "org.primer.data": {
@@ -944,11 +942,11 @@
944
942
  },
945
943
  "name": "text-caption-lineHeight",
946
944
  "attributes": {},
947
- "path": ["text", "caption", "lineHeight"]
945
+ "path": ["text", "caption", "lineHeight"],
946
+ "value": 1.3333,
947
+ "type": "number"
948
948
  },
949
949
  "text-caption-weight": {
950
- "value": 400,
951
- "$type": "fontWeight",
952
950
  "$extensions": {
953
951
  "org.primer.figma": {
954
952
  "collection": "typography",
@@ -958,7 +956,7 @@
958
956
  "filePath": "src/tokens/functional/typography/typography.json",
959
957
  "isSource": true,
960
958
  "original": {
961
- "value": "{base.text.weight.normal}",
959
+ "$value": "{base.text.weight.normal}",
962
960
  "$type": "fontWeight",
963
961
  "$extensions": {
964
962
  "org.primer.figma": {
@@ -969,31 +967,31 @@
969
967
  },
970
968
  "name": "text-caption-weight",
971
969
  "attributes": {},
972
- "path": ["text", "caption", "weight"]
970
+ "path": ["text", "caption", "weight"],
971
+ "value": 400,
972
+ "type": "fontWeight"
973
973
  },
974
974
  "text-caption-shorthand": {
975
- "value": "400 0.75rem/1.3333 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
976
- "$type": "typography",
977
- "comment": "Compact small font with a smaller line height of 16px. Use it for single-line scenarios, as the small sizing doesn’t pass accessibility requirements.",
978
975
  "filePath": "src/tokens/functional/typography/typography.json",
979
976
  "isSource": true,
980
977
  "original": {
981
- "value": {
978
+ "$value": {
982
979
  "fontWeight": "{text.caption.weight}",
983
980
  "fontSize": "{text.caption.size}",
984
981
  "lineHeight": "{text.caption.lineHeight}",
985
982
  "fontFamily": "{fontStack.sansSerif}"
986
983
  },
987
984
  "$type": "typography",
988
- "comment": "Compact small font with a smaller line height of 16px. Use it for single-line scenarios, as the small sizing doesn’t pass accessibility requirements."
985
+ "$description": "Compact small font with a smaller line height of 16px. Use it for single-line scenarios, as the small sizing doesn’t pass accessibility requirements."
989
986
  },
990
987
  "name": "text-caption-shorthand",
991
988
  "attributes": {},
992
- "path": ["text", "caption", "shorthand"]
989
+ "path": ["text", "caption", "shorthand"],
990
+ "value": "400 0.75rem/1.3333 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
991
+ "type": "typography",
992
+ "description": "Compact small font with a smaller line height of 16px. Use it for single-line scenarios, as the small sizing doesn’t pass accessibility requirements."
993
993
  },
994
994
  "text-codeBlock-size": {
995
- "value": "0.8125rem",
996
- "$type": "dimension",
997
995
  "$extensions": {
998
996
  "org.primer.figma": {
999
997
  "collection": "typography",
@@ -1003,7 +1001,7 @@
1003
1001
  "filePath": "src/tokens/functional/typography/typography.json",
1004
1002
  "isSource": true,
1005
1003
  "original": {
1006
- "value": "13px",
1004
+ "$value": "13px",
1007
1005
  "$type": "dimension",
1008
1006
  "$extensions": {
1009
1007
  "org.primer.figma": {
@@ -1014,11 +1012,11 @@
1014
1012
  },
1015
1013
  "name": "text-codeBlock-size",
1016
1014
  "attributes": {},
1017
- "path": ["text", "codeBlock", "size"]
1015
+ "path": ["text", "codeBlock", "size"],
1016
+ "value": "0.8125rem",
1017
+ "type": "dimension"
1018
1018
  },
1019
1019
  "text-codeBlock-lineHeight": {
1020
- "value": 1.5385,
1021
- "$type": "number",
1022
1020
  "$extensions": {
1023
1021
  "org.primer.data": {
1024
1022
  "fontSize": 13
@@ -1031,7 +1029,7 @@
1031
1029
  "filePath": "src/tokens/functional/typography/typography.json",
1032
1030
  "isSource": true,
1033
1031
  "original": {
1034
- "value": 1.5385,
1032
+ "$value": 1.5385,
1035
1033
  "$type": "number",
1036
1034
  "$extensions": {
1037
1035
  "org.primer.data": {
@@ -1045,11 +1043,11 @@
1045
1043
  },
1046
1044
  "name": "text-codeBlock-lineHeight",
1047
1045
  "attributes": {},
1048
- "path": ["text", "codeBlock", "lineHeight"]
1046
+ "path": ["text", "codeBlock", "lineHeight"],
1047
+ "value": 1.5385,
1048
+ "type": "number"
1049
1049
  },
1050
1050
  "text-codeBlock-weight": {
1051
- "value": 400,
1052
- "$type": "fontWeight",
1053
1051
  "$extensions": {
1054
1052
  "org.primer.figma": {
1055
1053
  "collection": "typography",
@@ -1059,7 +1057,7 @@
1059
1057
  "filePath": "src/tokens/functional/typography/typography.json",
1060
1058
  "isSource": true,
1061
1059
  "original": {
1062
- "value": "{base.text.weight.normal}",
1060
+ "$value": "{base.text.weight.normal}",
1063
1061
  "$type": "fontWeight",
1064
1062
  "$extensions": {
1065
1063
  "org.primer.figma": {
@@ -1070,31 +1068,31 @@
1070
1068
  },
1071
1069
  "name": "text-codeBlock-weight",
1072
1070
  "attributes": {},
1073
- "path": ["text", "codeBlock", "weight"]
1071
+ "path": ["text", "codeBlock", "weight"],
1072
+ "value": 400,
1073
+ "type": "fontWeight"
1074
1074
  },
1075
1075
  "text-codeBlock-shorthand": {
1076
- "value": "400 0.8125rem/1.5385 ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",
1077
- "$type": "typography",
1078
- "comment": "Default style for rendering code blocks.",
1079
1076
  "filePath": "src/tokens/functional/typography/typography.json",
1080
1077
  "isSource": true,
1081
1078
  "original": {
1082
- "value": {
1079
+ "$value": {
1083
1080
  "fontWeight": "{text.codeBlock.weight}",
1084
1081
  "fontSize": "{text.codeBlock.size}",
1085
1082
  "lineHeight": "{text.codeBlock.lineHeight}",
1086
1083
  "fontFamily": "{fontStack.monospace}"
1087
1084
  },
1088
1085
  "$type": "typography",
1089
- "comment": "Default style for rendering code blocks."
1086
+ "$description": "Default style for rendering code blocks."
1090
1087
  },
1091
1088
  "name": "text-codeBlock-shorthand",
1092
1089
  "attributes": {},
1093
- "path": ["text", "codeBlock", "shorthand"]
1090
+ "path": ["text", "codeBlock", "shorthand"],
1091
+ "value": "400 0.8125rem/1.5385 ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",
1092
+ "type": "typography",
1093
+ "description": "Default style for rendering code blocks."
1094
1094
  },
1095
1095
  "text-codeInline-size": {
1096
- "value": "0.9285em",
1097
- "$type": "dimension",
1098
1096
  "$extensions": {
1099
1097
  "org.primer.figma": {
1100
1098
  "collection": "typography",
@@ -1104,7 +1102,7 @@
1104
1102
  "filePath": "src/tokens/functional/typography/typography.json",
1105
1103
  "isSource": true,
1106
1104
  "original": {
1107
- "value": "0.9285em",
1105
+ "$value": "0.9285em",
1108
1106
  "$type": "dimension",
1109
1107
  "$extensions": {
1110
1108
  "org.primer.figma": {
@@ -1115,11 +1113,11 @@
1115
1113
  },
1116
1114
  "name": "text-codeInline-size",
1117
1115
  "attributes": {},
1118
- "path": ["text", "codeInline", "size"]
1116
+ "path": ["text", "codeInline", "size"],
1117
+ "value": "0.9285em",
1118
+ "type": "dimension"
1119
1119
  },
1120
1120
  "text-codeInline-weight": {
1121
- "value": 400,
1122
- "$type": "fontWeight",
1123
1121
  "$extensions": {
1124
1122
  "org.primer.figma": {
1125
1123
  "collection": "typography",
@@ -1129,7 +1127,7 @@
1129
1127
  "filePath": "src/tokens/functional/typography/typography.json",
1130
1128
  "isSource": true,
1131
1129
  "original": {
1132
- "value": "{base.text.weight.normal}",
1130
+ "$value": "{base.text.weight.normal}",
1133
1131
  "$type": "fontWeight",
1134
1132
  "$extensions": {
1135
1133
  "org.primer.figma": {
@@ -1140,25 +1138,27 @@
1140
1138
  },
1141
1139
  "name": "text-codeInline-weight",
1142
1140
  "attributes": {},
1143
- "path": ["text", "codeInline", "weight"]
1141
+ "path": ["text", "codeInline", "weight"],
1142
+ "value": 400,
1143
+ "type": "fontWeight"
1144
1144
  },
1145
1145
  "text-codeInline-shorthand": {
1146
- "value": "400 0.9285em ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",
1147
- "$type": "typography",
1148
- "comment": "Inline code blocks using em units to inherit size from its parent.",
1149
1146
  "filePath": "src/tokens/functional/typography/typography.json",
1150
1147
  "isSource": true,
1151
1148
  "original": {
1152
- "value": {
1149
+ "$value": {
1153
1150
  "fontWeight": "{text.codeInline.weight}",
1154
1151
  "fontSize": "{text.codeInline.size}",
1155
1152
  "fontFamily": "{fontStack.monospace}"
1156
1153
  },
1157
1154
  "$type": "typography",
1158
- "comment": "Inline code blocks using em units to inherit size from its parent."
1155
+ "$description": "Inline code blocks using em units to inherit size from its parent."
1159
1156
  },
1160
1157
  "name": "text-codeInline-shorthand",
1161
1158
  "attributes": {},
1162
- "path": ["text", "codeInline", "shorthand"]
1159
+ "path": ["text", "codeInline", "shorthand"],
1160
+ "value": "400 0.9285em ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",
1161
+ "type": "typography",
1162
+ "description": "Inline code blocks using em units to inherit size from its parent."
1163
1163
  }
1164
1164
  }