@primer/primitives 9.1.2 → 10.0.0-rc.1bc5b670
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.
- package/README.md +2 -2
- package/dist/build/PrimerStyleDictionary.d.ts +1 -2
- package/dist/build/PrimerStyleDictionary.js +52 -64
- package/dist/build/filters/index.d.ts +14 -13
- package/dist/build/filters/index.js +14 -29
- package/dist/build/filters/isBorder.d.ts +3 -3
- package/dist/build/filters/isBorder.js +2 -6
- package/dist/build/filters/isColor.d.ts +3 -3
- package/dist/build/filters/isColor.js +8 -7
- package/dist/build/filters/isColorWithAlpha.d.ts +3 -3
- package/dist/build/filters/isColorWithAlpha.js +4 -8
- package/dist/build/filters/isColorWithMix.d.ts +3 -3
- package/dist/build/filters/isColorWithMix.js +4 -8
- package/dist/build/filters/isCubicBezier.d.ts +7 -0
- package/dist/build/filters/isCubicBezier.js +10 -0
- package/dist/build/filters/isDeprecated.d.ts +3 -3
- package/dist/build/filters/isDeprecated.js +2 -6
- package/dist/build/filters/isDimension.d.ts +3 -3
- package/dist/build/filters/isDimension.js +2 -6
- package/dist/build/filters/isDuration.d.ts +3 -3
- package/dist/build/filters/isDuration.js +2 -6
- package/dist/build/filters/isFontFamily.d.ts +3 -3
- package/dist/build/filters/isFontFamily.js +2 -6
- package/dist/build/filters/isFontWeight.d.ts +3 -3
- package/dist/build/filters/isFontWeight.js +2 -6
- package/dist/build/filters/isFromFile.d.ts +3 -3
- package/dist/build/filters/isFromFile.js +2 -6
- package/dist/build/filters/isNumber.d.ts +3 -3
- package/dist/build/filters/isNumber.js +4 -6
- package/dist/build/filters/isShadow.d.ts +3 -3
- package/dist/build/filters/isShadow.js +2 -6
- package/dist/build/filters/isSource.d.ts +3 -3
- package/dist/build/filters/isSource.js +2 -6
- package/dist/build/filters/isTypography.d.ts +3 -3
- package/dist/build/filters/isTypography.js +2 -6
- package/dist/build/formats/cssAdvanced.d.ts +2 -2
- package/dist/build/formats/cssAdvanced.js +22 -20
- package/dist/build/formats/cssCustomMedia.d.ts +2 -2
- package/dist/build/formats/cssCustomMedia.js +16 -15
- package/dist/build/formats/index.d.ts +9 -9
- package/dist/build/formats/index.js +9 -21
- package/dist/build/formats/javascriptCommonJs.d.ts +2 -2
- package/dist/build/formats/javascriptCommonJs.js +17 -16
- package/dist/build/formats/javascriptEsm.d.ts +2 -2
- package/dist/build/formats/javascriptEsm.js +17 -16
- package/dist/build/formats/jsonFigma.d.ts +2 -2
- package/dist/build/formats/jsonFigma.js +27 -22
- package/dist/build/formats/jsonNestedPrefixed.d.ts +3 -3
- package/dist/build/formats/jsonNestedPrefixed.js +17 -15
- package/dist/build/formats/jsonOneDimensional.d.ts +3 -3
- package/dist/build/formats/jsonOneDimensional.js +24 -16
- package/dist/build/formats/jsonPostCssFallback.d.ts +3 -3
- package/dist/build/formats/jsonPostCssFallback.js +5 -12
- package/dist/build/formats/typescriptExportDefinition.d.ts +2 -2
- package/dist/build/formats/typescriptExportDefinition.js +50 -46
- package/dist/build/formats/utilities/getPropName.d.ts +1 -0
- package/dist/build/formats/utilities/getPropName.js +16 -0
- package/dist/build/formats/utilities/jsonToFlat.d.ts +2 -2
- package/dist/build/formats/utilities/jsonToFlat.js +1 -5
- package/dist/build/formats/utilities/jsonToNestedValue.d.ts +2 -2
- package/dist/build/formats/utilities/jsonToNestedValue.js +4 -6
- package/dist/build/formats/utilities/prefixTokens.d.ts +2 -2
- package/dist/build/formats/utilities/prefixTokens.js +1 -5
- package/dist/build/parsers/index.d.ts +1 -1
- package/dist/build/parsers/index.js +1 -5
- package/dist/build/parsers/w3cJsonParser.d.ts +2 -2
- package/dist/build/parsers/w3cJsonParser.js +7 -9
- package/dist/build/platforms/css.d.ts +1 -1
- package/dist/build/platforms/css.js +20 -11
- package/dist/build/platforms/deprecatedJson.d.ts +1 -1
- package/dist/build/platforms/deprecatedJson.js +3 -7
- package/dist/build/platforms/docJson.d.ts +1 -1
- package/dist/build/platforms/docJson.js +8 -7
- package/dist/build/platforms/fallbacks.d.ts +1 -1
- package/dist/build/platforms/fallbacks.js +3 -7
- package/dist/build/platforms/figma.d.ts +1 -1
- package/dist/build/platforms/figma.js +21 -14
- package/dist/build/platforms/index.d.ts +10 -10
- package/dist/build/platforms/index.js +10 -23
- package/dist/build/platforms/javascript.d.ts +1 -1
- package/dist/build/platforms/javascript.js +3 -7
- package/dist/build/platforms/json.d.ts +1 -1
- package/dist/build/platforms/json.js +3 -7
- package/dist/build/platforms/styleLint.d.ts +1 -1
- package/dist/build/platforms/styleLint.js +3 -7
- package/dist/build/platforms/typeDefinitions.d.ts +1 -1
- package/dist/build/platforms/typeDefinitions.js +6 -10
- package/dist/build/platforms/typescript.d.ts +1 -1
- package/dist/build/platforms/typescript.js +3 -7
- package/dist/build/schemas/alphaValue.js +4 -7
- package/dist/build/schemas/baseToken.d.ts +2 -2
- package/dist/build/schemas/baseToken.js +4 -7
- package/dist/build/schemas/borderToken.d.ts +5 -5
- package/dist/build/schemas/borderToken.js +13 -16
- package/dist/build/schemas/collections.js +8 -14
- package/dist/build/schemas/colorHexValue.js +4 -7
- package/dist/build/schemas/colorToken.d.ts +20 -15
- package/dist/build/schemas/colorToken.js +24 -24
- package/dist/build/schemas/cubicBezierToken.d.ts +18 -0
- package/dist/build/schemas/cubicBezierToken.js +8 -0
- package/dist/build/schemas/designToken.js +30 -32
- package/dist/build/schemas/dimensionToken.d.ts +5 -5
- package/dist/build/schemas/dimensionToken.js +14 -17
- package/dist/build/schemas/dimensionValue.js +7 -10
- package/dist/build/schemas/durationToken.d.ts +5 -5
- package/dist/build/schemas/durationToken.js +8 -11
- package/dist/build/schemas/durationValue.js +4 -7
- package/dist/build/schemas/fontFamilyToken.d.ts +5 -5
- package/dist/build/schemas/fontFamilyToken.js +13 -16
- package/dist/build/schemas/fontWeightToken.d.ts +5 -5
- package/dist/build/schemas/fontWeightToken.js +14 -17
- package/dist/build/schemas/fontWeightValue.js +4 -7
- package/dist/build/schemas/numberToken.d.ts +5 -5
- package/dist/build/schemas/numberToken.js +15 -18
- package/dist/build/schemas/referenceValue.js +4 -7
- package/dist/build/schemas/scopes.js +5 -10
- package/dist/build/schemas/shadowToken.d.ts +5 -5
- package/dist/build/schemas/shadowToken.js +23 -26
- package/dist/build/schemas/stringToken.d.ts +5 -5
- package/dist/build/schemas/stringToken.js +7 -10
- package/dist/build/schemas/tokenName.js +4 -7
- package/dist/build/schemas/tokenType.d.ts +2 -2
- package/dist/build/schemas/tokenType.js +2 -6
- package/dist/build/schemas/typographyToken.d.ts +5 -5
- package/dist/build/schemas/typographyToken.js +14 -17
- package/dist/build/schemas/validTokenType.d.ts +1 -1
- package/dist/build/schemas/validTokenType.js +10 -13
- package/dist/build/schemas/viewportRangeToken.d.ts +5 -5
- package/dist/build/schemas/viewportRangeToken.js +7 -10
- package/dist/build/transformers/borderToCss.d.ts +3 -3
- package/dist/build/transformers/borderToCss.js +16 -16
- package/dist/build/transformers/colorToHex.d.ts +2 -2
- package/dist/build/transformers/colorToHex.js +11 -13
- package/dist/build/transformers/colorToHexMix.d.ts +2 -2
- package/dist/build/transformers/colorToHexMix.js +10 -15
- package/dist/build/transformers/colorToRgbAlpha.d.ts +2 -2
- package/dist/build/transformers/colorToRgbAlpha.js +10 -12
- package/dist/build/transformers/colorToRgbaFloat.d.ts +2 -2
- package/dist/build/transformers/colorToRgbaFloat.js +24 -28
- package/dist/build/transformers/cubicBezierToCss.d.ts +8 -0
- package/dist/build/transformers/cubicBezierToCss.js +23 -0
- package/dist/build/transformers/dimensionToPixelUnitless.d.ts +2 -2
- package/dist/build/transformers/dimensionToPixelUnitless.js +13 -14
- package/dist/build/transformers/dimensionToRem.d.ts +2 -2
- package/dist/build/transformers/dimensionToRem.js +12 -13
- package/dist/build/transformers/dimensionToRemPxArray.d.ts +2 -2
- package/dist/build/transformers/dimensionToRemPxArray.js +11 -12
- package/dist/build/transformers/durationToCss.d.ts +2 -2
- package/dist/build/transformers/durationToCss.js +10 -11
- package/dist/build/transformers/figmaAttributes.d.ts +2 -2
- package/dist/build/transformers/figmaAttributes.js +3 -5
- package/dist/build/transformers/floatToPixel.d.ts +4 -4
- package/dist/build/transformers/floatToPixel.js +12 -14
- package/dist/build/transformers/fontFamilyToCss.d.ts +2 -2
- package/dist/build/transformers/fontFamilyToCss.js +10 -13
- package/dist/build/transformers/fontFamilyToFigma.d.ts +3 -3
- package/dist/build/transformers/fontFamilyToFigma.js +15 -17
- package/dist/build/transformers/fontWeightToNumber.d.ts +2 -2
- package/dist/build/transformers/fontWeightToNumber.js +8 -11
- package/dist/build/transformers/index.d.ts +25 -24
- package/dist/build/transformers/index.js +25 -51
- package/dist/build/transformers/jsonDeprecated.d.ts +2 -2
- package/dist/build/transformers/jsonDeprecated.js +6 -8
- package/dist/build/transformers/namePathToCamelCase.d.ts +2 -2
- package/dist/build/transformers/namePathToCamelCase.js +5 -7
- package/dist/build/transformers/namePathToDotNotation.d.ts +2 -2
- package/dist/build/transformers/namePathToDotNotation.js +6 -8
- package/dist/build/transformers/namePathToFigma.d.ts +3 -3
- package/dist/build/transformers/namePathToFigma.js +5 -8
- package/dist/build/transformers/namePathToKebabCase.d.ts +2 -2
- package/dist/build/transformers/namePathToKebabCase.js +4 -6
- package/dist/build/transformers/namePathToPascalCase.d.ts +2 -2
- package/dist/build/transformers/namePathToPascalCase.js +5 -7
- package/dist/build/transformers/namePathToSlashNotation.d.ts +2 -2
- package/dist/build/transformers/namePathToSlashNotation.js +4 -6
- package/dist/build/transformers/shadowToCss.d.ts +2 -2
- package/dist/build/transformers/shadowToCss.js +14 -15
- package/dist/build/transformers/typographyToCss.d.ts +2 -2
- package/dist/build/transformers/typographyToCss.js +13 -15
- package/dist/build/transformers/utilities/alpha.d.ts +1 -1
- package/dist/build/transformers/utilities/alpha.js +4 -8
- package/dist/build/transformers/utilities/checkRequiredTokenProperties.js +1 -5
- package/dist/build/transformers/utilities/getTokenValue.d.ts +2 -2
- package/dist/build/transformers/utilities/getTokenValue.js +10 -12
- package/dist/build/transformers/utilities/hasSpaceInString.js +1 -5
- package/dist/build/transformers/utilities/hexToRgbaFloat.d.ts +1 -1
- package/dist/build/transformers/utilities/hexToRgbaFloat.js +1 -5
- package/dist/build/transformers/utilities/invalidTokenError.d.ts +1 -1
- package/dist/build/transformers/utilities/invalidTokenError.js +11 -10
- package/dist/build/transformers/utilities/isRgbaFloat.js +1 -5
- package/dist/build/transformers/utilities/mix.js +5 -7
- package/dist/build/transformers/utilities/rgbaFloatToHex.js +1 -5
- package/dist/build/types/Border.d.ts +5 -0
- package/dist/build/types/BorderTokenValue.d.ts +10 -0
- package/dist/build/types/ColorHex.d.ts +4 -0
- package/dist/build/types/PlatformInitializer.d.ts +11 -0
- package/dist/build/types/Shadow.d.ts +5 -0
- package/dist/build/types/ShadowTokenValue.d.ts +14 -0
- package/dist/build/types/SizeEm.d.ts +4 -0
- package/dist/build/types/SizePx.d.ts +4 -0
- package/dist/build/types/SizeRem.d.ts +4 -0
- package/dist/build/types/StyleDictionaryConfigGenerator.d.ts +15 -0
- package/dist/build/types/TokenBuildInput.d.ts +8 -0
- package/dist/build/types/TypographyTokenValue.d.ts +12 -0
- package/dist/build/types/w3cTransformedToken.d.ts +8 -0
- package/dist/build/utilities/copyFromDir.d.ts +2 -2
- package/dist/build/utilities/copyFromDir.js +7 -10
- package/dist/build/utilities/filterStringArray.js +1 -5
- package/dist/build/utilities/getFlag.js +1 -5
- package/dist/build/utilities/index.d.ts +9 -3
- package/dist/build/utilities/index.js +9 -9
- package/dist/build/utilities/joinFriendly.js +1 -5
- package/dist/build/utilities/schemaErrorMessage.js +1 -5
- package/dist/build/utilities/toCamelCase.js +5 -9
- package/dist/build/utilities/toPascalCase.js +5 -9
- package/dist/build/utilities/treeWalker.js +2 -6
- package/dist/build/utilities/upperCaseFirstCharacter.js +1 -5
- package/dist/css/base/motion/motion.css +17 -0
- package/dist/css/functional/motion/motion.css +4 -3
- package/dist/css/functional/themes/dark-colorblind.css +58 -38
- package/dist/css/functional/themes/dark-dimmed.css +44 -24
- package/dist/css/functional/themes/dark-high-contrast.css +62 -42
- package/dist/css/functional/themes/dark-tritanopia.css +44 -24
- package/dist/css/functional/themes/dark.css +42 -22
- package/dist/css/functional/themes/light-colorblind.css +60 -40
- package/dist/css/functional/themes/light-high-contrast.css +58 -38
- package/dist/css/functional/themes/light-tritanopia.css +42 -22
- package/dist/css/functional/themes/light.css +42 -22
- package/dist/css/functional/typography/typography.css +43 -43
- package/dist/css/primitives.css +64 -46
- package/dist/docs/base/motion/motion.json +205 -0
- package/dist/docs/base/size/size.json +76 -76
- package/dist/docs/base/typography/typography.json +16 -16
- package/dist/docs/functional/motion/motion.json +33 -18
- package/dist/docs/functional/size/border.json +56 -56
- package/dist/docs/functional/size/breakpoints.json +24 -24
- package/dist/docs/functional/size/size-coarse.json +12 -12
- package/dist/docs/functional/size/size-fine.json +12 -12
- package/dist/docs/functional/size/size.json +264 -264
- package/dist/docs/functional/size/viewport.json +24 -24
- package/dist/docs/functional/themes/dark-colorblind.json +2868 -3462
- package/dist/docs/functional/themes/dark-dimmed.json +2826 -3016
- package/dist/docs/functional/themes/dark-high-contrast.json +2822 -5100
- package/dist/docs/functional/themes/dark-tritanopia.json +2829 -3203
- package/dist/docs/functional/themes/dark.json +2808 -2520
- package/dist/docs/functional/themes/light-colorblind.json +2604 -3150
- package/dist/docs/functional/themes/light-high-contrast.json +2653 -4609
- package/dist/docs/functional/themes/light-tritanopia.json +2546 -2960
- package/dist/docs/functional/themes/light.json +2590 -2312
- package/dist/docs/functional/typography/typography.json +206 -206
- package/dist/fallbacks/base/motion/motion.json +17 -0
- package/dist/fallbacks/functional/motion/motion.json +1 -0
- package/dist/figma/dimension/dimension.json +492 -492
- package/dist/figma/figma.json +21 -13
- package/dist/figma/scales/dark-dimmed.json +3536 -656
- package/dist/figma/scales/dark-high-constrast.json +3535 -655
- package/dist/figma/scales/dark.json +3371 -491
- package/dist/figma/scales/light-high-constrast.json +3532 -652
- package/dist/figma/scales/light.json +3367 -487
- package/dist/figma/shadows/dark-colorblind.json +199 -199
- package/dist/figma/shadows/dark-dimmed.json +199 -199
- package/dist/figma/shadows/dark-high-contrast.json +199 -199
- package/dist/figma/shadows/dark-tritanopia.json +199 -199
- package/dist/figma/shadows/dark.json +199 -199
- package/dist/figma/shadows/light-colorblind.json +189 -189
- package/dist/figma/shadows/light-high-contrast.json +191 -191
- package/dist/figma/shadows/light-tritanopia.json +189 -189
- package/dist/figma/shadows/light.json +189 -189
- package/dist/figma/themes/dark-colorblind.json +4470 -5204
- package/dist/figma/themes/dark-dimmed.json +4771 -5081
- package/dist/figma/themes/dark-high-contrast.json +4189 -6548
- package/dist/figma/themes/dark-tritanopia.json +4629 -5153
- package/dist/figma/themes/dark.json +5072 -4916
- package/dist/figma/themes/light-colorblind.json +4490 -5127
- package/dist/figma/themes/light-high-contrast.json +4170 -6201
- package/dist/figma/themes/light-tritanopia.json +4525 -5027
- package/dist/figma/themes/light.json +4982 -4825
- package/dist/figma/typography/typography.json +159 -203
- package/dist/internalCss/dark-colorblind.css +58 -38
- package/dist/internalCss/dark-dimmed.css +44 -24
- package/dist/internalCss/dark-high-contrast.css +62 -42
- package/dist/internalCss/dark-tritanopia.css +44 -24
- package/dist/internalCss/dark.css +42 -22
- package/dist/internalCss/light-colorblind.css +60 -40
- package/dist/internalCss/light-high-contrast.css +58 -38
- package/dist/internalCss/light-tritanopia.css +42 -22
- package/dist/internalCss/light.css +42 -22
- package/dist/styleLint/base/motion/motion.json +205 -0
- package/dist/styleLint/base/size/size.json +38 -38
- package/dist/styleLint/base/typography/typography.json +8 -8
- package/dist/styleLint/functional/motion/motion.json +27 -12
- package/dist/styleLint/functional/size/border.json +30 -30
- package/dist/styleLint/functional/size/breakpoints.json +12 -12
- package/dist/styleLint/functional/size/size-coarse.json +6 -6
- package/dist/styleLint/functional/size/size-fine.json +6 -6
- package/dist/styleLint/functional/size/size.json +132 -132
- package/dist/styleLint/functional/size/viewport.json +12 -12
- package/dist/styleLint/functional/themes/dark-colorblind.json +1644 -2238
- package/dist/styleLint/functional/themes/dark-dimmed.json +1699 -1889
- package/dist/styleLint/functional/themes/dark-high-contrast.json +1627 -3905
- package/dist/styleLint/functional/themes/dark-tritanopia.json +1704 -2078
- package/dist/styleLint/functional/themes/dark.json +1692 -1404
- package/dist/styleLint/functional/themes/light-colorblind.json +1506 -2052
- package/dist/styleLint/functional/themes/light-high-contrast.json +1515 -3471
- package/dist/styleLint/functional/themes/light-tritanopia.json +1434 -1848
- package/dist/styleLint/functional/themes/light.json +1474 -1196
- package/dist/styleLint/functional/typography/typography.json +114 -114
- package/package.json +33 -32
- package/src/tokens/base/motion/easing.json5 +26 -0
- package/src/tokens/base/motion/timing.json5 +50 -0
- package/src/tokens/functional/color/dark/app-dark.json5 +203 -88
- package/src/tokens/functional/color/dark/data-vis-dark.json5 +20 -20
- package/src/tokens/functional/color/dark/display-dark.json5 +95 -95
- package/src/tokens/functional/color/dark/overrides/dark.dimmed.json5 +0 -8
- package/src/tokens/functional/color/dark/overrides/dark.high-contrast.json5 +43 -30
- package/src/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 +62 -30
- package/src/tokens/functional/color/dark/overrides/dark.tritanopia.json5 +53 -12
- package/src/tokens/functional/color/dark/patterns-dark.json5 +16 -4
- package/src/tokens/functional/color/dark/primitives-dark.json5 +4 -4
- package/src/tokens/functional/color/light/app-light.json5 +195 -85
- package/src/tokens/functional/color/light/data-vis-light.json5 +20 -20
- package/src/tokens/functional/color/light/overrides/light.high-contrast.json5 +25 -25
- package/src/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 +65 -34
- package/src/tokens/functional/color/light/overrides/light.tritanopia.json5 +66 -11
- package/src/tokens/functional/color/light/patterns-light.json5 +13 -1
- package/src/tokens/functional/color/light/primitives-light.json5 +2 -2
- package/src/tokens/functional/motion/loading.json5 +1 -1
- package/src/tokens/functional/motion/patterns.json5 +9 -2
|
@@ -1,6 +1,6 @@
|
|
|
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'",
|
|
3
|
+
"$value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
4
4
|
"$type": "fontFamily",
|
|
5
5
|
"$extensions": {
|
|
6
6
|
"org.primer.figma": {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
12
12
|
"isSource": true,
|
|
13
13
|
"original": {
|
|
14
|
-
"value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
14
|
+
"$value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
15
15
|
"$type": "fontFamily",
|
|
16
16
|
"$extensions": {
|
|
17
17
|
"org.primer.figma": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"path": ["fontStack", "system"]
|
|
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'",
|
|
28
|
+
"$value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
29
29
|
"$type": "fontFamily",
|
|
30
30
|
"$extensions": {
|
|
31
31
|
"org.primer.figma": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
37
37
|
"isSource": true,
|
|
38
38
|
"original": {
|
|
39
|
-
"value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
39
|
+
"$value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
40
40
|
"$type": "fontFamily",
|
|
41
41
|
"$extensions": {
|
|
42
42
|
"org.primer.figma": {
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"path": ["fontStack", "sansSerif"]
|
|
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'",
|
|
53
|
+
"$value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
54
54
|
"$type": "fontFamily",
|
|
55
55
|
"$extensions": {
|
|
56
56
|
"org.primer.figma": {
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
62
62
|
"isSource": true,
|
|
63
63
|
"original": {
|
|
64
|
-
"value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
64
|
+
"$value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
65
65
|
"$type": "fontFamily",
|
|
66
66
|
"$extensions": {
|
|
67
67
|
"org.primer.figma": {
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"path": ["fontStack", "sansSerifDisplay"]
|
|
76
76
|
},
|
|
77
77
|
"fontStack-monospace": {
|
|
78
|
-
"value": "ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",
|
|
78
|
+
"$value": "ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",
|
|
79
79
|
"$type": "fontFamily",
|
|
80
80
|
"$extensions": {
|
|
81
81
|
"org.primer.figma": {
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
87
87
|
"isSource": true,
|
|
88
88
|
"original": {
|
|
89
|
-
"value": "ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",
|
|
89
|
+
"$value": "ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",
|
|
90
90
|
"$type": "fontFamily",
|
|
91
91
|
"$extensions": {
|
|
92
92
|
"org.primer.figma": {
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"path": ["fontStack", "monospace"]
|
|
101
101
|
},
|
|
102
102
|
"text-display-lineBoxHeight": {
|
|
103
|
-
"value": 1.4,
|
|
103
|
+
"$value": 1.4,
|
|
104
104
|
"$type": "number",
|
|
105
105
|
"$extensions": {
|
|
106
106
|
"org.primer.data": {
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
116
116
|
"isSource": true,
|
|
117
117
|
"original": {
|
|
118
|
-
"value": 1.4,
|
|
118
|
+
"$value": 1.4,
|
|
119
119
|
"$type": "number",
|
|
120
120
|
"$extensions": {
|
|
121
121
|
"org.primer.data": {
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
"path": ["text", "display", "lineBoxHeight"]
|
|
134
134
|
},
|
|
135
135
|
"text-display-size": {
|
|
136
|
-
"value": ["2.5rem", "40px"],
|
|
136
|
+
"$value": ["2.5rem", "40px"],
|
|
137
137
|
"$type": "dimension",
|
|
138
138
|
"$extensions": {
|
|
139
139
|
"org.primer.figma": {
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
145
145
|
"isSource": true,
|
|
146
146
|
"original": {
|
|
147
|
-
"value": "40px",
|
|
147
|
+
"$value": "40px",
|
|
148
148
|
"$type": "dimension",
|
|
149
149
|
"$extensions": {
|
|
150
150
|
"org.primer.figma": {
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
"path": ["text", "display", "size"]
|
|
159
159
|
},
|
|
160
160
|
"text-display-lineHeight": {
|
|
161
|
-
"value": 1.4,
|
|
161
|
+
"$value": 1.4,
|
|
162
162
|
"$type": "number",
|
|
163
163
|
"$extensions": {
|
|
164
164
|
"org.primer.data": {
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
173
173
|
"isSource": true,
|
|
174
174
|
"original": {
|
|
175
|
-
"value": 1.4,
|
|
175
|
+
"$value": 1.4,
|
|
176
176
|
"$type": "number",
|
|
177
177
|
"$extensions": {
|
|
178
178
|
"org.primer.data": {
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
"path": ["text", "display", "lineHeight"]
|
|
190
190
|
},
|
|
191
191
|
"text-display-weight": {
|
|
192
|
-
"value": 500,
|
|
192
|
+
"$value": 500,
|
|
193
193
|
"$type": "fontWeight",
|
|
194
194
|
"$extensions": {
|
|
195
195
|
"org.primer.figma": {
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
201
201
|
"isSource": true,
|
|
202
202
|
"original": {
|
|
203
|
-
"value": "{base.text.weight.medium}",
|
|
203
|
+
"$value": "{base.text.weight.medium}",
|
|
204
204
|
"$type": "fontWeight",
|
|
205
205
|
"$extensions": {
|
|
206
206
|
"org.primer.figma": {
|
|
@@ -214,27 +214,27 @@
|
|
|
214
214
|
"path": ["text", "display", "weight"]
|
|
215
215
|
},
|
|
216
216
|
"text-display-shorthand": {
|
|
217
|
-
"value": "500 2.5rem,40px/1.4 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
217
|
+
"$value": "500 2.5rem,40px/1.4 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
218
218
|
"$type": "typography",
|
|
219
|
-
"
|
|
219
|
+
"$description": "Hero-style text for brand to product transition pages. Utilize Title (large) styles on narrow viewports.",
|
|
220
220
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
221
221
|
"isSource": true,
|
|
222
222
|
"original": {
|
|
223
|
-
"value": {
|
|
223
|
+
"$value": {
|
|
224
224
|
"fontWeight": "{text.display.weight}",
|
|
225
225
|
"fontSize": "{text.display.size}",
|
|
226
226
|
"lineHeight": "{text.display.lineHeight}",
|
|
227
227
|
"fontFamily": "{fontStack.sansSerifDisplay}"
|
|
228
228
|
},
|
|
229
229
|
"$type": "typography",
|
|
230
|
-
"
|
|
230
|
+
"$description": "Hero-style text for brand to product transition pages. Utilize Title (large) styles on narrow viewports."
|
|
231
231
|
},
|
|
232
232
|
"name": "text-display-shorthand",
|
|
233
233
|
"attributes": {},
|
|
234
234
|
"path": ["text", "display", "shorthand"]
|
|
235
235
|
},
|
|
236
236
|
"text-title-size-large": {
|
|
237
|
-
"value": ["2rem", "32px"],
|
|
237
|
+
"$value": ["2rem", "32px"],
|
|
238
238
|
"$type": "dimension",
|
|
239
239
|
"$extensions": {
|
|
240
240
|
"org.primer.figma": {
|
|
@@ -245,7 +245,7 @@
|
|
|
245
245
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
246
246
|
"isSource": true,
|
|
247
247
|
"original": {
|
|
248
|
-
"value": "32px",
|
|
248
|
+
"$value": "32px",
|
|
249
249
|
"$type": "dimension",
|
|
250
250
|
"$extensions": {
|
|
251
251
|
"org.primer.figma": {
|
|
@@ -259,7 +259,7 @@
|
|
|
259
259
|
"path": ["text", "title", "size", "large"]
|
|
260
260
|
},
|
|
261
261
|
"text-title-size-medium": {
|
|
262
|
-
"value": ["1.25rem", "20px"],
|
|
262
|
+
"$value": ["1.25rem", "20px"],
|
|
263
263
|
"$type": "dimension",
|
|
264
264
|
"$extensions": {
|
|
265
265
|
"org.primer.figma": {
|
|
@@ -270,7 +270,7 @@
|
|
|
270
270
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
271
271
|
"isSource": true,
|
|
272
272
|
"original": {
|
|
273
|
-
"value": "20px",
|
|
273
|
+
"$value": "20px",
|
|
274
274
|
"$type": "dimension",
|
|
275
275
|
"$extensions": {
|
|
276
276
|
"org.primer.figma": {
|
|
@@ -284,7 +284,7 @@
|
|
|
284
284
|
"path": ["text", "title", "size", "medium"]
|
|
285
285
|
},
|
|
286
286
|
"text-title-size-small": {
|
|
287
|
-
"value": ["1rem", "16px"],
|
|
287
|
+
"$value": ["1rem", "16px"],
|
|
288
288
|
"$type": "dimension",
|
|
289
289
|
"$extensions": {
|
|
290
290
|
"org.primer.figma": {
|
|
@@ -295,7 +295,7 @@
|
|
|
295
295
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
296
296
|
"isSource": true,
|
|
297
297
|
"original": {
|
|
298
|
-
"value": "16px",
|
|
298
|
+
"$value": "16px",
|
|
299
299
|
"$type": "dimension",
|
|
300
300
|
"$extensions": {
|
|
301
301
|
"org.primer.figma": {
|
|
@@ -309,7 +309,7 @@
|
|
|
309
309
|
"path": ["text", "title", "size", "small"]
|
|
310
310
|
},
|
|
311
311
|
"text-title-lineHeight-large": {
|
|
312
|
-
"value": 1.5,
|
|
312
|
+
"$value": 1.5,
|
|
313
313
|
"$type": "number",
|
|
314
314
|
"$extensions": {
|
|
315
315
|
"org.primer.data": {
|
|
@@ -323,7 +323,7 @@
|
|
|
323
323
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
324
324
|
"isSource": true,
|
|
325
325
|
"original": {
|
|
326
|
-
"value": 1.5,
|
|
326
|
+
"$value": 1.5,
|
|
327
327
|
"$type": "number",
|
|
328
328
|
"$extensions": {
|
|
329
329
|
"org.primer.data": {
|
|
@@ -340,7 +340,7 @@
|
|
|
340
340
|
"path": ["text", "title", "lineHeight", "large"]
|
|
341
341
|
},
|
|
342
342
|
"text-title-lineHeight-medium": {
|
|
343
|
-
"value": 1.6,
|
|
343
|
+
"$value": 1.6,
|
|
344
344
|
"$type": "number",
|
|
345
345
|
"$extensions": {
|
|
346
346
|
"org.primer.data": {
|
|
@@ -354,7 +354,7 @@
|
|
|
354
354
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
355
355
|
"isSource": true,
|
|
356
356
|
"original": {
|
|
357
|
-
"value": 1.6,
|
|
357
|
+
"$value": 1.6,
|
|
358
358
|
"$type": "number",
|
|
359
359
|
"$extensions": {
|
|
360
360
|
"org.primer.data": {
|
|
@@ -371,7 +371,7 @@
|
|
|
371
371
|
"path": ["text", "title", "lineHeight", "medium"]
|
|
372
372
|
},
|
|
373
373
|
"text-title-lineHeight-small": {
|
|
374
|
-
"value": 1.5,
|
|
374
|
+
"$value": 1.5,
|
|
375
375
|
"$type": "number",
|
|
376
376
|
"$extensions": {
|
|
377
377
|
"org.primer.data": {
|
|
@@ -385,7 +385,7 @@
|
|
|
385
385
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
386
386
|
"isSource": true,
|
|
387
387
|
"original": {
|
|
388
|
-
"value": 1.5,
|
|
388
|
+
"$value": 1.5,
|
|
389
389
|
"$type": "number",
|
|
390
390
|
"$extensions": {
|
|
391
391
|
"org.primer.data": {
|
|
@@ -402,7 +402,7 @@
|
|
|
402
402
|
"path": ["text", "title", "lineHeight", "small"]
|
|
403
403
|
},
|
|
404
404
|
"text-title-weight-large": {
|
|
405
|
-
"value": 600,
|
|
405
|
+
"$value": 600,
|
|
406
406
|
"$type": "fontWeight",
|
|
407
407
|
"$extensions": {
|
|
408
408
|
"org.primer.figma": {
|
|
@@ -413,7 +413,7 @@
|
|
|
413
413
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
414
414
|
"isSource": true,
|
|
415
415
|
"original": {
|
|
416
|
-
"value": "{base.text.weight.semibold}",
|
|
416
|
+
"$value": "{base.text.weight.semibold}",
|
|
417
417
|
"$type": "fontWeight",
|
|
418
418
|
"$extensions": {
|
|
419
419
|
"org.primer.figma": {
|
|
@@ -427,7 +427,7 @@
|
|
|
427
427
|
"path": ["text", "title", "weight", "large"]
|
|
428
428
|
},
|
|
429
429
|
"text-title-weight-medium": {
|
|
430
|
-
"value": 600,
|
|
430
|
+
"$value": 600,
|
|
431
431
|
"$type": "fontWeight",
|
|
432
432
|
"$extensions": {
|
|
433
433
|
"org.primer.figma": {
|
|
@@ -438,7 +438,7 @@
|
|
|
438
438
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
439
439
|
"isSource": true,
|
|
440
440
|
"original": {
|
|
441
|
-
"value": "{base.text.weight.semibold}",
|
|
441
|
+
"$value": "{base.text.weight.semibold}",
|
|
442
442
|
"$type": "fontWeight",
|
|
443
443
|
"$extensions": {
|
|
444
444
|
"org.primer.figma": {
|
|
@@ -452,7 +452,7 @@
|
|
|
452
452
|
"path": ["text", "title", "weight", "medium"]
|
|
453
453
|
},
|
|
454
454
|
"text-title-weight-small": {
|
|
455
|
-
"value": 600,
|
|
455
|
+
"$value": 600,
|
|
456
456
|
"$type": "fontWeight",
|
|
457
457
|
"$extensions": {
|
|
458
458
|
"org.primer.figma": {
|
|
@@ -463,7 +463,7 @@
|
|
|
463
463
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
464
464
|
"isSource": true,
|
|
465
465
|
"original": {
|
|
466
|
-
"value": "{base.text.weight.semibold}",
|
|
466
|
+
"$value": "{base.text.weight.semibold}",
|
|
467
467
|
"$type": "fontWeight",
|
|
468
468
|
"$extensions": {
|
|
469
469
|
"org.primer.figma": {
|
|
@@ -477,67 +477,67 @@
|
|
|
477
477
|
"path": ["text", "title", "weight", "small"]
|
|
478
478
|
},
|
|
479
479
|
"text-title-shorthand-large": {
|
|
480
|
-
"value": "600 2rem,32px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
480
|
+
"$value": "600 2rem,32px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
481
481
|
"$type": "typography",
|
|
482
|
-
"
|
|
482
|
+
"$description": "Page headings for user-created objects, such as issues or pull requests. Utilize title (medium) styles on narrow viewports.",
|
|
483
483
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
484
484
|
"isSource": true,
|
|
485
485
|
"original": {
|
|
486
|
-
"value": {
|
|
486
|
+
"$value": {
|
|
487
487
|
"fontWeight": "{text.title.weight.large}",
|
|
488
488
|
"fontSize": "{text.title.size.large}",
|
|
489
489
|
"lineHeight": "{text.title.lineHeight.large}",
|
|
490
490
|
"fontFamily": "{fontStack.sansSerifDisplay}"
|
|
491
491
|
},
|
|
492
492
|
"$type": "typography",
|
|
493
|
-
"
|
|
493
|
+
"$description": "Page headings for user-created objects, such as issues or pull requests. Utilize title (medium) styles on narrow viewports."
|
|
494
494
|
},
|
|
495
495
|
"name": "text-title-shorthand-large",
|
|
496
496
|
"attributes": {},
|
|
497
497
|
"path": ["text", "title", "shorthand", "large"]
|
|
498
498
|
},
|
|
499
499
|
"text-title-shorthand-medium": {
|
|
500
|
-
"value": "600 1.25rem,20px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
500
|
+
"$value": "600 1.25rem,20px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
501
501
|
"$type": "typography",
|
|
502
|
-
"
|
|
502
|
+
"$description": "Default page title. The 32px-equivalent line-height matches with button and other medium control heights. Great for page header composition.",
|
|
503
503
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
504
504
|
"isSource": true,
|
|
505
505
|
"original": {
|
|
506
|
-
"value": {
|
|
506
|
+
"$value": {
|
|
507
507
|
"fontWeight": "{text.title.weight.medium}",
|
|
508
508
|
"fontSize": "{text.title.size.medium}",
|
|
509
509
|
"lineHeight": "{text.title.lineHeight.medium}",
|
|
510
510
|
"fontFamily": "{fontStack.sansSerifDisplay}"
|
|
511
511
|
},
|
|
512
512
|
"$type": "typography",
|
|
513
|
-
"
|
|
513
|
+
"$description": "Default page title. The 32px-equivalent line-height matches with button and other medium control heights. Great for page header composition."
|
|
514
514
|
},
|
|
515
515
|
"name": "text-title-shorthand-medium",
|
|
516
516
|
"attributes": {},
|
|
517
517
|
"path": ["text", "title", "shorthand", "medium"]
|
|
518
518
|
},
|
|
519
519
|
"text-title-shorthand-small": {
|
|
520
|
-
"value": "600 1rem,16px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
520
|
+
"$value": "600 1rem,16px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
521
521
|
"$type": "typography",
|
|
522
|
-
"
|
|
522
|
+
"$description": "Uses the same size as body (large) with a heavier weight of semibold (600).",
|
|
523
523
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
524
524
|
"isSource": true,
|
|
525
525
|
"original": {
|
|
526
|
-
"value": {
|
|
526
|
+
"$value": {
|
|
527
527
|
"fontWeight": "{text.title.weight.small}",
|
|
528
528
|
"fontSize": "{text.title.size.small}",
|
|
529
529
|
"lineHeight": "{text.title.lineHeight.small}",
|
|
530
530
|
"fontFamily": "{fontStack.sansSerif}"
|
|
531
531
|
},
|
|
532
532
|
"$type": "typography",
|
|
533
|
-
"
|
|
533
|
+
"$description": "Uses the same size as body (large) with a heavier weight of semibold (600)."
|
|
534
534
|
},
|
|
535
535
|
"name": "text-title-shorthand-small",
|
|
536
536
|
"attributes": {},
|
|
537
537
|
"path": ["text", "title", "shorthand", "small"]
|
|
538
538
|
},
|
|
539
539
|
"text-subtitle-size": {
|
|
540
|
-
"value": ["1.25rem", "20px"],
|
|
540
|
+
"$value": ["1.25rem", "20px"],
|
|
541
541
|
"$type": "dimension",
|
|
542
542
|
"$extensions": {
|
|
543
543
|
"org.primer.figma": {
|
|
@@ -548,7 +548,7 @@
|
|
|
548
548
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
549
549
|
"isSource": true,
|
|
550
550
|
"original": {
|
|
551
|
-
"value": "20px",
|
|
551
|
+
"$value": "20px",
|
|
552
552
|
"$type": "dimension",
|
|
553
553
|
"$extensions": {
|
|
554
554
|
"org.primer.figma": {
|
|
@@ -562,7 +562,7 @@
|
|
|
562
562
|
"path": ["text", "subtitle", "size"]
|
|
563
563
|
},
|
|
564
564
|
"text-subtitle-lineHeight": {
|
|
565
|
-
"value": 1.6,
|
|
565
|
+
"$value": 1.6,
|
|
566
566
|
"$type": "number",
|
|
567
567
|
"$extensions": {
|
|
568
568
|
"org.primer.data": {
|
|
@@ -576,7 +576,7 @@
|
|
|
576
576
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
577
577
|
"isSource": true,
|
|
578
578
|
"original": {
|
|
579
|
-
"value": 1.6,
|
|
579
|
+
"$value": 1.6,
|
|
580
580
|
"$type": "number",
|
|
581
581
|
"$extensions": {
|
|
582
582
|
"org.primer.data": {
|
|
@@ -593,7 +593,7 @@
|
|
|
593
593
|
"path": ["text", "subtitle", "lineHeight"]
|
|
594
594
|
},
|
|
595
595
|
"text-subtitle-weight": {
|
|
596
|
-
"value": 400,
|
|
596
|
+
"$value": 400,
|
|
597
597
|
"$type": "fontWeight",
|
|
598
598
|
"$extensions": {
|
|
599
599
|
"org.primer.figma": {
|
|
@@ -604,7 +604,7 @@
|
|
|
604
604
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
605
605
|
"isSource": true,
|
|
606
606
|
"original": {
|
|
607
|
-
"value": "{base.text.weight.normal}",
|
|
607
|
+
"$value": "{base.text.weight.normal}",
|
|
608
608
|
"$type": "fontWeight",
|
|
609
609
|
"$extensions": {
|
|
610
610
|
"org.primer.figma": {
|
|
@@ -618,27 +618,27 @@
|
|
|
618
618
|
"path": ["text", "subtitle", "weight"]
|
|
619
619
|
},
|
|
620
620
|
"text-subtitle-shorthand": {
|
|
621
|
-
"value": "400 1.25rem,20px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
621
|
+
"$value": "400 1.25rem,20px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
622
622
|
"$type": "typography",
|
|
623
|
-
"
|
|
623
|
+
"$description": "Page sections/sub headings, or less important object names in page titles (automated action titles, for example). Same line-height as title (medium).",
|
|
624
624
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
625
625
|
"isSource": true,
|
|
626
626
|
"original": {
|
|
627
|
-
"value": {
|
|
627
|
+
"$value": {
|
|
628
628
|
"fontWeight": "{text.subtitle.weight}",
|
|
629
629
|
"fontSize": "{text.subtitle.size}",
|
|
630
630
|
"lineHeight": "{text.subtitle.lineHeight}",
|
|
631
631
|
"fontFamily": "{fontStack.sansSerifDisplay}"
|
|
632
632
|
},
|
|
633
633
|
"$type": "typography",
|
|
634
|
-
"
|
|
634
|
+
"$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
635
|
},
|
|
636
636
|
"name": "text-subtitle-shorthand",
|
|
637
637
|
"attributes": {},
|
|
638
638
|
"path": ["text", "subtitle", "shorthand"]
|
|
639
639
|
},
|
|
640
640
|
"text-body-size-large": {
|
|
641
|
-
"value": ["1rem", "16px"],
|
|
641
|
+
"$value": ["1rem", "16px"],
|
|
642
642
|
"$type": "dimension",
|
|
643
643
|
"$extensions": {
|
|
644
644
|
"org.primer.figma": {
|
|
@@ -649,7 +649,7 @@
|
|
|
649
649
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
650
650
|
"isSource": true,
|
|
651
651
|
"original": {
|
|
652
|
-
"value": "16px",
|
|
652
|
+
"$value": "16px",
|
|
653
653
|
"$type": "dimension",
|
|
654
654
|
"$extensions": {
|
|
655
655
|
"org.primer.figma": {
|
|
@@ -663,7 +663,7 @@
|
|
|
663
663
|
"path": ["text", "body", "size", "large"]
|
|
664
664
|
},
|
|
665
665
|
"text-body-size-medium": {
|
|
666
|
-
"value": ["0.875rem", "14px"],
|
|
666
|
+
"$value": ["0.875rem", "14px"],
|
|
667
667
|
"$type": "dimension",
|
|
668
668
|
"$extensions": {
|
|
669
669
|
"org.primer.figma": {
|
|
@@ -674,7 +674,7 @@
|
|
|
674
674
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
675
675
|
"isSource": true,
|
|
676
676
|
"original": {
|
|
677
|
-
"value": "14px",
|
|
677
|
+
"$value": "14px",
|
|
678
678
|
"$type": "dimension",
|
|
679
679
|
"$extensions": {
|
|
680
680
|
"org.primer.figma": {
|
|
@@ -688,7 +688,7 @@
|
|
|
688
688
|
"path": ["text", "body", "size", "medium"]
|
|
689
689
|
},
|
|
690
690
|
"text-body-size-small": {
|
|
691
|
-
"value": ["0.75rem", "12px"],
|
|
691
|
+
"$value": ["0.75rem", "12px"],
|
|
692
692
|
"$type": "dimension",
|
|
693
693
|
"$extensions": {
|
|
694
694
|
"org.primer.figma": {
|
|
@@ -699,7 +699,7 @@
|
|
|
699
699
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
700
700
|
"isSource": true,
|
|
701
701
|
"original": {
|
|
702
|
-
"value": "12px",
|
|
702
|
+
"$value": "12px",
|
|
703
703
|
"$type": "dimension",
|
|
704
704
|
"$extensions": {
|
|
705
705
|
"org.primer.figma": {
|
|
@@ -713,7 +713,7 @@
|
|
|
713
713
|
"path": ["text", "body", "size", "small"]
|
|
714
714
|
},
|
|
715
715
|
"text-body-lineHeight-large": {
|
|
716
|
-
"value": 1.5,
|
|
716
|
+
"$value": 1.5,
|
|
717
717
|
"$type": "number",
|
|
718
718
|
"$extensions": {
|
|
719
719
|
"org.primer.data": {
|
|
@@ -727,7 +727,7 @@
|
|
|
727
727
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
728
728
|
"isSource": true,
|
|
729
729
|
"original": {
|
|
730
|
-
"value": 1.5,
|
|
730
|
+
"$value": 1.5,
|
|
731
731
|
"$type": "number",
|
|
732
732
|
"$extensions": {
|
|
733
733
|
"org.primer.data": {
|
|
@@ -744,7 +744,7 @@
|
|
|
744
744
|
"path": ["text", "body", "lineHeight", "large"]
|
|
745
745
|
},
|
|
746
746
|
"text-body-lineHeight-medium": {
|
|
747
|
-
"value": 1.4285,
|
|
747
|
+
"$value": 1.4285,
|
|
748
748
|
"$type": "number",
|
|
749
749
|
"$extensions": {
|
|
750
750
|
"org.primer.data": {
|
|
@@ -758,7 +758,7 @@
|
|
|
758
758
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
759
759
|
"isSource": true,
|
|
760
760
|
"original": {
|
|
761
|
-
"value": 1.4285,
|
|
761
|
+
"$value": 1.4285,
|
|
762
762
|
"$type": "number",
|
|
763
763
|
"$extensions": {
|
|
764
764
|
"org.primer.data": {
|
|
@@ -775,7 +775,7 @@
|
|
|
775
775
|
"path": ["text", "body", "lineHeight", "medium"]
|
|
776
776
|
},
|
|
777
777
|
"text-body-lineHeight-small": {
|
|
778
|
-
"value": 1.6666,
|
|
778
|
+
"$value": 1.6666,
|
|
779
779
|
"$type": "number",
|
|
780
780
|
"$extensions": {
|
|
781
781
|
"org.primer.data": {
|
|
@@ -789,7 +789,7 @@
|
|
|
789
789
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
790
790
|
"isSource": true,
|
|
791
791
|
"original": {
|
|
792
|
-
"value": 1.6666,
|
|
792
|
+
"$value": 1.6666,
|
|
793
793
|
"$type": "number",
|
|
794
794
|
"$extensions": {
|
|
795
795
|
"org.primer.data": {
|
|
@@ -806,7 +806,7 @@
|
|
|
806
806
|
"path": ["text", "body", "lineHeight", "small"]
|
|
807
807
|
},
|
|
808
808
|
"text-body-weight": {
|
|
809
|
-
"value": 400,
|
|
809
|
+
"$value": 400,
|
|
810
810
|
"$type": "fontWeight",
|
|
811
811
|
"$extensions": {
|
|
812
812
|
"org.primer.figma": {
|
|
@@ -817,7 +817,7 @@
|
|
|
817
817
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
818
818
|
"isSource": true,
|
|
819
819
|
"original": {
|
|
820
|
-
"value": "{base.text.weight.normal}",
|
|
820
|
+
"$value": "{base.text.weight.normal}",
|
|
821
821
|
"$type": "fontWeight",
|
|
822
822
|
"$extensions": {
|
|
823
823
|
"org.primer.figma": {
|
|
@@ -831,67 +831,67 @@
|
|
|
831
831
|
"path": ["text", "body", "weight"]
|
|
832
832
|
},
|
|
833
833
|
"text-body-shorthand-large": {
|
|
834
|
-
"value": "400 1rem,16px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
834
|
+
"$value": "400 1rem,16px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
835
835
|
"$type": "typography",
|
|
836
|
-
"
|
|
836
|
+
"$description": "User-generated content, markdown rendering.",
|
|
837
837
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
838
838
|
"isSource": true,
|
|
839
839
|
"original": {
|
|
840
|
-
"value": {
|
|
840
|
+
"$value": {
|
|
841
841
|
"fontWeight": "{text.body.weight}",
|
|
842
842
|
"fontSize": "{text.body.size.large}",
|
|
843
843
|
"lineHeight": "{text.body.lineHeight.large}",
|
|
844
844
|
"fontFamily": "{fontStack.sansSerif}"
|
|
845
845
|
},
|
|
846
846
|
"$type": "typography",
|
|
847
|
-
"
|
|
847
|
+
"$description": "User-generated content, markdown rendering."
|
|
848
848
|
},
|
|
849
849
|
"name": "text-body-shorthand-large",
|
|
850
850
|
"attributes": {},
|
|
851
851
|
"path": ["text", "body", "shorthand", "large"]
|
|
852
852
|
},
|
|
853
853
|
"text-body-shorthand-medium": {
|
|
854
|
-
"value": "400 0.875rem,14px/1.4285 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
854
|
+
"$value": "400 0.875rem,14px/1.4285 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
855
855
|
"$type": "typography",
|
|
856
|
-
"
|
|
856
|
+
"$description": "Default UI font. Most commonly used for body text.",
|
|
857
857
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
858
858
|
"isSource": true,
|
|
859
859
|
"original": {
|
|
860
|
-
"value": {
|
|
860
|
+
"$value": {
|
|
861
861
|
"fontWeight": "{text.body.weight}",
|
|
862
862
|
"fontSize": "{text.body.size.medium}",
|
|
863
863
|
"lineHeight": "{text.body.lineHeight.medium}",
|
|
864
864
|
"fontFamily": "{fontStack.sansSerif}"
|
|
865
865
|
},
|
|
866
866
|
"$type": "typography",
|
|
867
|
-
"
|
|
867
|
+
"$description": "Default UI font. Most commonly used for body text."
|
|
868
868
|
},
|
|
869
869
|
"name": "text-body-shorthand-medium",
|
|
870
870
|
"attributes": {},
|
|
871
871
|
"path": ["text", "body", "shorthand", "medium"]
|
|
872
872
|
},
|
|
873
873
|
"text-body-shorthand-small": {
|
|
874
|
-
"value": "400 0.75rem,12px/1.6666 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
874
|
+
"$value": "400 0.75rem,12px/1.6666 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
875
875
|
"$type": "typography",
|
|
876
|
-
"
|
|
876
|
+
"$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.",
|
|
877
877
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
878
878
|
"isSource": true,
|
|
879
879
|
"original": {
|
|
880
|
-
"value": {
|
|
880
|
+
"$value": {
|
|
881
881
|
"fontWeight": "{text.body.weight}",
|
|
882
882
|
"fontSize": "{text.body.size.small}",
|
|
883
883
|
"lineHeight": "{text.body.lineHeight.small}",
|
|
884
884
|
"fontFamily": "{fontStack.sansSerif}"
|
|
885
885
|
},
|
|
886
886
|
"$type": "typography",
|
|
887
|
-
"
|
|
887
|
+
"$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
888
|
},
|
|
889
889
|
"name": "text-body-shorthand-small",
|
|
890
890
|
"attributes": {},
|
|
891
891
|
"path": ["text", "body", "shorthand", "small"]
|
|
892
892
|
},
|
|
893
893
|
"text-caption-size": {
|
|
894
|
-
"value": ["0.75rem", "12px"],
|
|
894
|
+
"$value": ["0.75rem", "12px"],
|
|
895
895
|
"$type": "dimension",
|
|
896
896
|
"$extensions": {
|
|
897
897
|
"org.primer.figma": {
|
|
@@ -902,7 +902,7 @@
|
|
|
902
902
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
903
903
|
"isSource": true,
|
|
904
904
|
"original": {
|
|
905
|
-
"value": "12px",
|
|
905
|
+
"$value": "12px",
|
|
906
906
|
"$type": "dimension",
|
|
907
907
|
"$extensions": {
|
|
908
908
|
"org.primer.figma": {
|
|
@@ -916,7 +916,7 @@
|
|
|
916
916
|
"path": ["text", "caption", "size"]
|
|
917
917
|
},
|
|
918
918
|
"text-caption-lineHeight": {
|
|
919
|
-
"value": 1.3333,
|
|
919
|
+
"$value": 1.3333,
|
|
920
920
|
"$type": "number",
|
|
921
921
|
"$extensions": {
|
|
922
922
|
"org.primer.data": {
|
|
@@ -930,7 +930,7 @@
|
|
|
930
930
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
931
931
|
"isSource": true,
|
|
932
932
|
"original": {
|
|
933
|
-
"value": 1.3333,
|
|
933
|
+
"$value": 1.3333,
|
|
934
934
|
"$type": "number",
|
|
935
935
|
"$extensions": {
|
|
936
936
|
"org.primer.data": {
|
|
@@ -947,7 +947,7 @@
|
|
|
947
947
|
"path": ["text", "caption", "lineHeight"]
|
|
948
948
|
},
|
|
949
949
|
"text-caption-weight": {
|
|
950
|
-
"value": 400,
|
|
950
|
+
"$value": 400,
|
|
951
951
|
"$type": "fontWeight",
|
|
952
952
|
"$extensions": {
|
|
953
953
|
"org.primer.figma": {
|
|
@@ -958,7 +958,7 @@
|
|
|
958
958
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
959
959
|
"isSource": true,
|
|
960
960
|
"original": {
|
|
961
|
-
"value": "{base.text.weight.normal}",
|
|
961
|
+
"$value": "{base.text.weight.normal}",
|
|
962
962
|
"$type": "fontWeight",
|
|
963
963
|
"$extensions": {
|
|
964
964
|
"org.primer.figma": {
|
|
@@ -972,27 +972,27 @@
|
|
|
972
972
|
"path": ["text", "caption", "weight"]
|
|
973
973
|
},
|
|
974
974
|
"text-caption-shorthand": {
|
|
975
|
-
"value": "400 0.75rem,12px/1.3333 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
975
|
+
"$value": "400 0.75rem,12px/1.3333 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
976
976
|
"$type": "typography",
|
|
977
|
-
"
|
|
977
|
+
"$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.",
|
|
978
978
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
979
979
|
"isSource": true,
|
|
980
980
|
"original": {
|
|
981
|
-
"value": {
|
|
981
|
+
"$value": {
|
|
982
982
|
"fontWeight": "{text.caption.weight}",
|
|
983
983
|
"fontSize": "{text.caption.size}",
|
|
984
984
|
"lineHeight": "{text.caption.lineHeight}",
|
|
985
985
|
"fontFamily": "{fontStack.sansSerif}"
|
|
986
986
|
},
|
|
987
987
|
"$type": "typography",
|
|
988
|
-
"
|
|
988
|
+
"$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
989
|
},
|
|
990
990
|
"name": "text-caption-shorthand",
|
|
991
991
|
"attributes": {},
|
|
992
992
|
"path": ["text", "caption", "shorthand"]
|
|
993
993
|
},
|
|
994
994
|
"text-codeBlock-size": {
|
|
995
|
-
"value": ["0.8125rem", "13px"],
|
|
995
|
+
"$value": ["0.8125rem", "13px"],
|
|
996
996
|
"$type": "dimension",
|
|
997
997
|
"$extensions": {
|
|
998
998
|
"org.primer.figma": {
|
|
@@ -1003,7 +1003,7 @@
|
|
|
1003
1003
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
1004
1004
|
"isSource": true,
|
|
1005
1005
|
"original": {
|
|
1006
|
-
"value": "13px",
|
|
1006
|
+
"$value": "13px",
|
|
1007
1007
|
"$type": "dimension",
|
|
1008
1008
|
"$extensions": {
|
|
1009
1009
|
"org.primer.figma": {
|
|
@@ -1017,7 +1017,7 @@
|
|
|
1017
1017
|
"path": ["text", "codeBlock", "size"]
|
|
1018
1018
|
},
|
|
1019
1019
|
"text-codeBlock-lineHeight": {
|
|
1020
|
-
"value": 1.5385,
|
|
1020
|
+
"$value": 1.5385,
|
|
1021
1021
|
"$type": "number",
|
|
1022
1022
|
"$extensions": {
|
|
1023
1023
|
"org.primer.data": {
|
|
@@ -1031,7 +1031,7 @@
|
|
|
1031
1031
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
1032
1032
|
"isSource": true,
|
|
1033
1033
|
"original": {
|
|
1034
|
-
"value": 1.5385,
|
|
1034
|
+
"$value": 1.5385,
|
|
1035
1035
|
"$type": "number",
|
|
1036
1036
|
"$extensions": {
|
|
1037
1037
|
"org.primer.data": {
|
|
@@ -1048,7 +1048,7 @@
|
|
|
1048
1048
|
"path": ["text", "codeBlock", "lineHeight"]
|
|
1049
1049
|
},
|
|
1050
1050
|
"text-codeBlock-weight": {
|
|
1051
|
-
"value": 400,
|
|
1051
|
+
"$value": 400,
|
|
1052
1052
|
"$type": "fontWeight",
|
|
1053
1053
|
"$extensions": {
|
|
1054
1054
|
"org.primer.figma": {
|
|
@@ -1059,7 +1059,7 @@
|
|
|
1059
1059
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
1060
1060
|
"isSource": true,
|
|
1061
1061
|
"original": {
|
|
1062
|
-
"value": "{base.text.weight.normal}",
|
|
1062
|
+
"$value": "{base.text.weight.normal}",
|
|
1063
1063
|
"$type": "fontWeight",
|
|
1064
1064
|
"$extensions": {
|
|
1065
1065
|
"org.primer.figma": {
|
|
@@ -1073,27 +1073,27 @@
|
|
|
1073
1073
|
"path": ["text", "codeBlock", "weight"]
|
|
1074
1074
|
},
|
|
1075
1075
|
"text-codeBlock-shorthand": {
|
|
1076
|
-
"value": "400 0.8125rem,13px/1.5385 ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",
|
|
1076
|
+
"$value": "400 0.8125rem,13px/1.5385 ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",
|
|
1077
1077
|
"$type": "typography",
|
|
1078
|
-
"
|
|
1078
|
+
"$description": "Default style for rendering code blocks.",
|
|
1079
1079
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
1080
1080
|
"isSource": true,
|
|
1081
1081
|
"original": {
|
|
1082
|
-
"value": {
|
|
1082
|
+
"$value": {
|
|
1083
1083
|
"fontWeight": "{text.codeBlock.weight}",
|
|
1084
1084
|
"fontSize": "{text.codeBlock.size}",
|
|
1085
1085
|
"lineHeight": "{text.codeBlock.lineHeight}",
|
|
1086
1086
|
"fontFamily": "{fontStack.monospace}"
|
|
1087
1087
|
},
|
|
1088
1088
|
"$type": "typography",
|
|
1089
|
-
"
|
|
1089
|
+
"$description": "Default style for rendering code blocks."
|
|
1090
1090
|
},
|
|
1091
1091
|
"name": "text-codeBlock-shorthand",
|
|
1092
1092
|
"attributes": {},
|
|
1093
1093
|
"path": ["text", "codeBlock", "shorthand"]
|
|
1094
1094
|
},
|
|
1095
1095
|
"text-codeInline-size": {
|
|
1096
|
-
"value": [
|
|
1096
|
+
"$value": [null, "14.856px"],
|
|
1097
1097
|
"$type": "dimension",
|
|
1098
1098
|
"$extensions": {
|
|
1099
1099
|
"org.primer.figma": {
|
|
@@ -1104,7 +1104,7 @@
|
|
|
1104
1104
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
1105
1105
|
"isSource": true,
|
|
1106
1106
|
"original": {
|
|
1107
|
-
"value": "0.9285em",
|
|
1107
|
+
"$value": "0.9285em",
|
|
1108
1108
|
"$type": "dimension",
|
|
1109
1109
|
"$extensions": {
|
|
1110
1110
|
"org.primer.figma": {
|
|
@@ -1118,7 +1118,7 @@
|
|
|
1118
1118
|
"path": ["text", "codeInline", "size"]
|
|
1119
1119
|
},
|
|
1120
1120
|
"text-codeInline-weight": {
|
|
1121
|
-
"value": 400,
|
|
1121
|
+
"$value": 400,
|
|
1122
1122
|
"$type": "fontWeight",
|
|
1123
1123
|
"$extensions": {
|
|
1124
1124
|
"org.primer.figma": {
|
|
@@ -1129,7 +1129,7 @@
|
|
|
1129
1129
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
1130
1130
|
"isSource": true,
|
|
1131
1131
|
"original": {
|
|
1132
|
-
"value": "{base.text.weight.normal}",
|
|
1132
|
+
"$value": "{base.text.weight.normal}",
|
|
1133
1133
|
"$type": "fontWeight",
|
|
1134
1134
|
"$extensions": {
|
|
1135
1135
|
"org.primer.figma": {
|
|
@@ -1143,19 +1143,19 @@
|
|
|
1143
1143
|
"path": ["text", "codeInline", "weight"]
|
|
1144
1144
|
},
|
|
1145
1145
|
"text-codeInline-shorthand": {
|
|
1146
|
-
"value": "400
|
|
1146
|
+
"$value": "400 ,14.856px ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",
|
|
1147
1147
|
"$type": "typography",
|
|
1148
|
-
"
|
|
1148
|
+
"$description": "Inline code blocks using em units to inherit size from its parent.",
|
|
1149
1149
|
"filePath": "src/tokens/functional/typography/typography.json",
|
|
1150
1150
|
"isSource": true,
|
|
1151
1151
|
"original": {
|
|
1152
|
-
"value": {
|
|
1152
|
+
"$value": {
|
|
1153
1153
|
"fontWeight": "{text.codeInline.weight}",
|
|
1154
1154
|
"fontSize": "{text.codeInline.size}",
|
|
1155
1155
|
"fontFamily": "{fontStack.monospace}"
|
|
1156
1156
|
},
|
|
1157
1157
|
"$type": "typography",
|
|
1158
|
-
"
|
|
1158
|
+
"$description": "Inline code blocks using em units to inherit size from its parent."
|
|
1159
1159
|
},
|
|
1160
1160
|
"name": "text-codeInline-shorthand",
|
|
1161
1161
|
"attributes": {},
|