@primer/primitives 10.0.0-rc.fd912e08 → 10.0.0
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 +8 -0
- package/dist/build/PrimerStyleDictionary.js +80 -0
- package/dist/build/filters/index.d.ts +14 -0
- package/dist/build/filters/index.js +14 -0
- package/dist/build/filters/isBorder.d.ts +7 -0
- package/dist/build/filters/isBorder.js +8 -0
- package/dist/build/filters/isColor.d.ts +7 -0
- package/dist/build/filters/isColor.js +13 -0
- package/dist/build/filters/isColorWithAlpha.d.ts +7 -0
- package/dist/build/filters/isColorWithAlpha.js +9 -0
- package/dist/build/filters/isColorWithMix.d.ts +7 -0
- package/dist/build/filters/isColorWithMix.js +24 -0
- package/dist/build/filters/isCubicBezier.d.ts +7 -0
- package/dist/build/filters/isCubicBezier.js +10 -0
- package/dist/build/filters/isDeprecated.d.ts +7 -0
- package/dist/build/filters/isDeprecated.js +8 -0
- package/dist/build/filters/isDimension.d.ts +7 -0
- package/dist/build/filters/isDimension.js +8 -0
- package/dist/build/filters/isDuration.d.ts +7 -0
- package/dist/build/filters/isDuration.js +8 -0
- package/dist/build/filters/isFontFamily.d.ts +7 -0
- package/dist/build/filters/isFontFamily.js +8 -0
- package/dist/build/filters/isFontWeight.d.ts +7 -0
- package/dist/build/filters/isFontWeight.js +8 -0
- package/dist/build/filters/isFromFile.d.ts +8 -0
- package/dist/build/filters/isFromFile.js +10 -0
- package/dist/build/filters/isNumber.d.ts +7 -0
- package/dist/build/filters/isNumber.js +8 -0
- package/dist/build/filters/isShadow.d.ts +7 -0
- package/dist/build/filters/isShadow.js +8 -0
- package/dist/build/filters/isSource.d.ts +7 -0
- package/dist/build/filters/isSource.js +8 -0
- package/dist/build/filters/isTypography.d.ts +7 -0
- package/dist/build/filters/isTypography.js +8 -0
- package/dist/build/formats/cssAdvanced.d.ts +2 -0
- package/dist/build/formats/cssAdvanced.js +86 -0
- package/dist/build/formats/cssCustomMedia.d.ts +7 -0
- package/dist/build/formats/cssCustomMedia.js +26 -0
- package/dist/build/formats/index.d.ts +9 -0
- package/dist/build/formats/index.js +9 -0
- package/dist/build/formats/javascriptCommonJs.d.ts +7 -0
- package/dist/build/formats/javascriptCommonJs.js +26 -0
- package/dist/build/formats/javascriptEsm.d.ts +7 -0
- package/dist/build/formats/javascriptEsm.js +26 -0
- package/dist/build/formats/jsonFigma.d.ts +7 -0
- package/dist/build/formats/jsonFigma.js +121 -0
- package/dist/build/formats/jsonNestedPrefixed.d.ts +8 -0
- package/dist/build/formats/jsonNestedPrefixed.js +30 -0
- package/dist/build/formats/jsonOneDimensional.d.ts +8 -0
- package/dist/build/formats/jsonOneDimensional.js +32 -0
- package/dist/build/formats/jsonPostCssFallback.d.ts +8 -0
- package/dist/build/formats/jsonPostCssFallback.js +14 -0
- package/dist/build/formats/typescriptExportDefinition.d.ts +7 -0
- package/dist/build/formats/typescriptExportDefinition.js +170 -0
- 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 +11 -0
- package/dist/build/formats/utilities/jsonToFlat.js +8 -0
- package/dist/build/formats/utilities/jsonToNestedValue.d.ts +8 -0
- package/dist/build/formats/utilities/jsonToNestedValue.js +23 -0
- package/dist/build/formats/utilities/prefixTokens.d.ts +8 -0
- package/dist/build/formats/utilities/prefixTokens.js +13 -0
- package/dist/build/parsers/index.d.ts +1 -0
- package/dist/build/parsers/index.js +1 -0
- package/dist/build/parsers/w3cJsonParser.d.ts +6 -0
- package/dist/build/parsers/w3cJsonParser.js +25 -0
- package/dist/build/platforms/css.d.ts +2 -0
- package/dist/build/platforms/css.js +96 -0
- package/dist/build/platforms/deprecatedJson.d.ts +2 -0
- package/dist/build/platforms/deprecatedJson.js +13 -0
- package/dist/build/platforms/docJson.d.ts +2 -0
- package/dist/build/platforms/docJson.js +35 -0
- package/dist/build/platforms/fallbacks.d.ts +2 -0
- package/dist/build/platforms/fallbacks.js +30 -0
- package/dist/build/platforms/figma.d.ts +2 -0
- package/dist/build/platforms/figma.js +60 -0
- package/dist/build/platforms/index.d.ts +10 -0
- package/dist/build/platforms/index.js +10 -0
- package/dist/build/platforms/javascript.d.ts +2 -0
- package/dist/build/platforms/javascript.js +26 -0
- package/dist/build/platforms/json.d.ts +2 -0
- package/dist/build/platforms/json.js +28 -0
- package/dist/build/platforms/styleLint.d.ts +2 -0
- package/dist/build/platforms/styleLint.js +30 -0
- package/dist/build/platforms/typeDefinitions.d.ts +2 -0
- package/dist/build/platforms/typeDefinitions.js +26 -0
- package/dist/build/platforms/typescript.d.ts +2 -0
- package/dist/build/platforms/typescript.js +26 -0
- package/dist/build/schemas/alphaValue.d.ts +2 -0
- package/dist/build/schemas/alphaValue.js +5 -0
- package/dist/build/schemas/baseToken.d.ts +11 -0
- package/dist/build/schemas/baseToken.js +7 -0
- package/dist/build/schemas/borderToken.d.ts +51 -0
- package/dist/build/schemas/borderToken.js +17 -0
- package/dist/build/schemas/collections.d.ts +6 -0
- package/dist/build/schemas/collections.js +12 -0
- package/dist/build/schemas/colorHexValue.d.ts +2 -0
- package/dist/build/schemas/colorHexValue.js +9 -0
- package/dist/build/schemas/colorToken.d.ts +92 -0
- package/dist/build/schemas/colorToken.js +53 -0
- package/dist/build/schemas/cubicBezierToken.d.ts +18 -0
- package/dist/build/schemas/cubicBezierToken.js +8 -0
- package/dist/build/schemas/designToken.d.ts +2 -0
- package/dist/build/schemas/designToken.js +35 -0
- package/dist/build/schemas/dimensionToken.d.ts +59 -0
- package/dist/build/schemas/dimensionToken.js +34 -0
- package/dist/build/schemas/dimensionValue.d.ts +2 -0
- package/dist/build/schemas/dimensionValue.js +9 -0
- package/dist/build/schemas/durationToken.d.ts +18 -0
- package/dist/build/schemas/durationToken.js +11 -0
- package/dist/build/schemas/durationValue.d.ts +2 -0
- package/dist/build/schemas/durationValue.js +5 -0
- package/dist/build/schemas/fontFamilyToken.d.ts +52 -0
- package/dist/build/schemas/fontFamilyToken.js +20 -0
- package/dist/build/schemas/fontWeightToken.d.ts +52 -0
- package/dist/build/schemas/fontWeightToken.js +21 -0
- package/dist/build/schemas/fontWeightValue.d.ts +2 -0
- package/dist/build/schemas/fontWeightValue.js +6 -0
- package/dist/build/schemas/numberToken.d.ts +71 -0
- package/dist/build/schemas/numberToken.js +27 -0
- package/dist/build/schemas/referenceValue.d.ts +2 -0
- package/dist/build/schemas/referenceValue.js +5 -0
- package/dist/build/schemas/scopes.d.ts +5 -0
- package/dist/build/schemas/scopes.js +29 -0
- package/dist/build/schemas/shadowToken.d.ts +164 -0
- package/dist/build/schemas/shadowToken.js +46 -0
- package/dist/build/schemas/stringToken.d.ts +18 -0
- package/dist/build/schemas/stringToken.js +10 -0
- package/dist/build/schemas/tokenName.d.ts +2 -0
- package/dist/build/schemas/tokenName.js +5 -0
- package/dist/build/schemas/tokenType.d.ts +3 -0
- package/dist/build/schemas/tokenType.js +2 -0
- package/dist/build/schemas/typographyToken.d.ts +59 -0
- package/dist/build/schemas/typographyToken.js +18 -0
- package/dist/build/schemas/validTokenType.d.ts +5 -0
- package/dist/build/schemas/validTokenType.js +31 -0
- package/dist/build/schemas/viewportRangeToken.d.ts +18 -0
- package/dist/build/schemas/viewportRangeToken.js +10 -0
- package/dist/build/transformers/borderToCss.d.ts +8 -0
- package/dist/build/transformers/borderToCss.js +38 -0
- package/dist/build/transformers/colorToHex.d.ts +8 -0
- package/dist/build/transformers/colorToHex.js +24 -0
- package/dist/build/transformers/colorToHexMix.d.ts +8 -0
- package/dist/build/transformers/colorToHexMix.js +20 -0
- package/dist/build/transformers/colorToRgbAlpha.d.ts +8 -0
- package/dist/build/transformers/colorToRgbAlpha.js +20 -0
- package/dist/build/transformers/colorToRgbaFloat.d.ts +8 -0
- package/dist/build/transformers/colorToRgbaFloat.js +46 -0
- package/dist/build/transformers/cubicBezierToCss.d.ts +8 -0
- package/dist/build/transformers/cubicBezierToCss.js +23 -0
- package/dist/build/transformers/dimensionToPixelUnitless.d.ts +8 -0
- package/dist/build/transformers/dimensionToPixelUnitless.js +49 -0
- package/dist/build/transformers/dimensionToRem.d.ts +8 -0
- package/dist/build/transformers/dimensionToRem.js +46 -0
- package/dist/build/transformers/dimensionToRemPxArray.d.ts +8 -0
- package/dist/build/transformers/dimensionToRemPxArray.js +46 -0
- package/dist/build/transformers/durationToCss.d.ts +8 -0
- package/dist/build/transformers/durationToCss.js +29 -0
- package/dist/build/transformers/figmaAttributes.d.ts +8 -0
- package/dist/build/transformers/figmaAttributes.js +55 -0
- package/dist/build/transformers/floatToPixel.d.ts +15 -0
- package/dist/build/transformers/floatToPixel.js +39 -0
- package/dist/build/transformers/fontFamilyToCss.d.ts +14 -0
- package/dist/build/transformers/fontFamilyToCss.js +37 -0
- package/dist/build/transformers/fontFamilyToFigma.d.ts +14 -0
- package/dist/build/transformers/fontFamilyToFigma.js +44 -0
- package/dist/build/transformers/fontWeightToNumber.d.ts +9 -0
- package/dist/build/transformers/fontWeightToNumber.js +50 -0
- package/dist/build/transformers/index.d.ts +25 -0
- package/dist/build/transformers/index.js +25 -0
- package/dist/build/transformers/jsonDeprecated.d.ts +8 -0
- package/dist/build/transformers/jsonDeprecated.js +14 -0
- package/dist/build/transformers/namePathToCamelCase.d.ts +8 -0
- package/dist/build/transformers/namePathToCamelCase.js +12 -0
- package/dist/build/transformers/namePathToDotNotation.d.ts +8 -0
- package/dist/build/transformers/namePathToDotNotation.js +31 -0
- package/dist/build/transformers/namePathToFigma.d.ts +9 -0
- package/dist/build/transformers/namePathToFigma.js +21 -0
- package/dist/build/transformers/namePathToKebabCase.d.ts +8 -0
- package/dist/build/transformers/namePathToKebabCase.js +16 -0
- package/dist/build/transformers/namePathToPascalCase.d.ts +8 -0
- package/dist/build/transformers/namePathToPascalCase.js +12 -0
- package/dist/build/transformers/namePathToSlashNotation.d.ts +8 -0
- package/dist/build/transformers/namePathToSlashNotation.js +16 -0
- package/dist/build/transformers/shadowToCss.d.ts +8 -0
- package/dist/build/transformers/shadowToCss.js +34 -0
- package/dist/build/transformers/typographyToCss.d.ts +8 -0
- package/dist/build/transformers/typographyToCss.js +27 -0
- package/dist/build/transformers/utilities/alpha.d.ts +9 -0
- package/dist/build/transformers/utilities/alpha.js +16 -0
- package/dist/build/transformers/utilities/checkRequiredTokenProperties.d.ts +7 -0
- package/dist/build/transformers/utilities/checkRequiredTokenProperties.js +13 -0
- package/dist/build/transformers/utilities/getTokenValue.d.ts +2 -0
- package/dist/build/transformers/utilities/getTokenValue.js +16 -0
- package/dist/build/transformers/utilities/hasSpaceInString.d.ts +1 -0
- package/dist/build/transformers/utilities/hasSpaceInString.js +6 -0
- package/dist/build/transformers/utilities/hexToRgbaFloat.d.ts +2 -0
- package/dist/build/transformers/utilities/hexToRgbaFloat.js +29 -0
- package/dist/build/transformers/utilities/invalidTokenError.d.ts +7 -0
- package/dist/build/transformers/utilities/invalidTokenError.js +27 -0
- package/dist/build/transformers/utilities/isRgbaFloat.d.ts +7 -0
- package/dist/build/transformers/utilities/isRgbaFloat.js +20 -0
- package/dist/build/transformers/utilities/mix.d.ts +5 -0
- package/dist/build/transformers/utilities/mix.js +38 -0
- package/dist/build/transformers/utilities/rgbaFloatToHex.d.ts +6 -0
- package/dist/build/transformers/utilities/rgbaFloatToHex.js +11 -0
- 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 +8 -0
- package/dist/build/utilities/copyFromDir.js +31 -0
- package/dist/build/utilities/filterStringArray.d.ts +1 -0
- package/dist/build/utilities/filterStringArray.js +13 -0
- package/dist/build/utilities/getFlag.d.ts +8 -0
- package/dist/build/utilities/getFlag.js +12 -0
- package/dist/build/utilities/index.d.ts +9 -0
- package/dist/build/utilities/index.js +9 -0
- package/dist/build/utilities/joinFriendly.d.ts +1 -0
- package/dist/build/utilities/joinFriendly.js +1 -0
- package/dist/build/utilities/schemaErrorMessage.d.ts +1 -0
- package/dist/build/utilities/schemaErrorMessage.js +1 -0
- package/dist/build/utilities/toCamelCase.d.ts +1 -0
- package/dist/build/utilities/toCamelCase.js +16 -0
- package/dist/build/utilities/toPascalCase.d.ts +1 -0
- package/dist/build/utilities/toPascalCase.js +13 -0
- package/dist/build/utilities/treeWalker.d.ts +8 -0
- package/dist/build/utilities/treeWalker.js +23 -0
- package/dist/build/utilities/upperCaseFirstCharacter.d.ts +8 -0
- package/dist/build/utilities/upperCaseFirstCharacter.js +10 -0
- 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 +42 -22
- 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 +44 -24
- 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/functional/motion/motion.json +18 -3
- package/dist/docs/functional/themes/dark-colorblind.json +350 -1114
- package/dist/docs/functional/themes/dark-dimmed.json +364 -1152
- package/dist/docs/functional/themes/dark-high-contrast.json +312 -922
- package/dist/docs/functional/themes/dark-tritanopia.json +344 -1138
- package/dist/docs/functional/themes/dark.json +346 -1206
- package/dist/docs/functional/themes/light-colorblind.json +366 -1140
- package/dist/docs/functional/themes/light-high-contrast.json +335 -949
- package/dist/docs/functional/themes/light-tritanopia.json +311 -1135
- package/dist/docs/functional/themes/light.json +336 -1202
- package/dist/fallbacks/base/motion/motion.json +17 -0
- package/dist/fallbacks/functional/motion/motion.json +1 -0
- package/dist/figma/dimension/dimension.json +518 -518
- package/dist/figma/figma.json +19 -19
- 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 +3533 -653
- package/dist/figma/scales/light.json +3370 -490
- package/dist/figma/shadows/dark-colorblind.json +285 -285
- package/dist/figma/shadows/dark-dimmed.json +285 -285
- package/dist/figma/shadows/dark-high-contrast.json +285 -285
- package/dist/figma/shadows/dark-tritanopia.json +285 -285
- package/dist/figma/shadows/dark.json +285 -285
- package/dist/figma/shadows/light-colorblind.json +254 -254
- package/dist/figma/shadows/light-high-contrast.json +254 -254
- package/dist/figma/shadows/light-tritanopia.json +254 -254
- package/dist/figma/shadows/light.json +254 -254
- package/dist/figma/themes/dark-colorblind.json +5197 -5068
- package/dist/figma/themes/dark-dimmed.json +5526 -5351
- package/dist/figma/themes/dark-high-contrast.json +4361 -4251
- package/dist/figma/themes/dark-tritanopia.json +5315 -5187
- package/dist/figma/themes/dark.json +5740 -5581
- package/dist/figma/themes/light-colorblind.json +5104 -4929
- package/dist/figma/themes/light-high-contrast.json +4462 -4319
- package/dist/figma/themes/light-tritanopia.json +5176 -5050
- package/dist/figma/themes/light.json +5657 -5500
- package/dist/figma/typography/typography.json +162 -162
- package/dist/internalCss/dark-colorblind.css +58 -38
- package/dist/internalCss/dark-dimmed.css +44 -24
- package/dist/internalCss/dark-high-contrast.css +42 -22
- 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 +44 -24
- 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/functional/motion/motion.json +18 -3
- package/dist/styleLint/functional/themes/dark-colorblind.json +350 -1114
- package/dist/styleLint/functional/themes/dark-dimmed.json +364 -1152
- package/dist/styleLint/functional/themes/dark-high-contrast.json +311 -921
- package/dist/styleLint/functional/themes/dark-tritanopia.json +344 -1138
- package/dist/styleLint/functional/themes/dark.json +346 -1206
- package/dist/styleLint/functional/themes/light-colorblind.json +366 -1140
- package/dist/styleLint/functional/themes/light-high-contrast.json +335 -949
- package/dist/styleLint/functional/themes/light-tritanopia.json +311 -1135
- package/dist/styleLint/functional/themes/light.json +336 -1202
- package/package.json +23 -30
- 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 +236 -121
- package/src/tokens/functional/color/dark/data-vis-dark.json5 +40 -40
- package/src/tokens/functional/color/dark/display-dark.json5 +95 -95
- package/src/tokens/functional/color/dark/overrides/dark.dimmed.json5 +1 -9
- package/src/tokens/functional/color/dark/overrides/dark.high-contrast.json5 +40 -27
- package/src/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 +56 -30
- package/src/tokens/functional/color/dark/overrides/dark.tritanopia.json5 +37 -14
- package/src/tokens/functional/color/dark/patterns-dark.json +3963 -0
- package/src/tokens/functional/color/dark/patterns-dark.json5 +126 -277
- package/src/tokens/functional/color/dark/primitives-dark.json5 +78 -78
- package/src/tokens/functional/color/dark/syntax-dark.json5 +47 -47
- package/src/tokens/functional/color/light/app-light.json5 +179 -118
- package/src/tokens/functional/color/light/data-vis-light.json5 +40 -40
- package/src/tokens/functional/color/light/display-light.json5 +0 -95
- package/src/tokens/functional/color/light/overrides/light.high-contrast.json5 +25 -27
- package/src/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 +58 -33
- package/src/tokens/functional/color/light/overrides/light.tritanopia.json5 +59 -10
- package/src/tokens/functional/color/light/patterns-light.json5 +126 -276
- package/src/tokens/functional/color/light/primitives-light.json5 +0 -78
- package/src/tokens/functional/color/light/syntax-light.json5 +0 -47
- package/src/tokens/functional/motion/loading.json5 +1 -1
- package/src/tokens/functional/motion/patterns.json5 +9 -2
- package/src/tokens/functional/shadow/dark.json5 +0 -14
- package/src/tokens/functional/shadow/light.json5 +0 -13
|
@@ -1,160 +1,170 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
|
-
"name": "text/
|
|
4
|
-
"value":
|
|
3
|
+
"name": "base/text/weight/light",
|
|
4
|
+
"value": 300,
|
|
5
5
|
"type": "FLOAT",
|
|
6
|
-
"refId": "typography/text/
|
|
7
|
-
"
|
|
8
|
-
"collection": "typography",
|
|
6
|
+
"refId": "base/typography/base/text/weight/light",
|
|
7
|
+
"collection": "base/typography",
|
|
9
8
|
"mode": "default",
|
|
10
|
-
"group": "typography",
|
|
9
|
+
"group": "base/typography",
|
|
11
10
|
"scopes": ["FONT_WEIGHT"]
|
|
12
11
|
},
|
|
13
12
|
{
|
|
14
|
-
"name": "text/
|
|
13
|
+
"name": "base/text/weight/normal",
|
|
15
14
|
"value": 400,
|
|
16
15
|
"type": "FLOAT",
|
|
17
|
-
"refId": "typography/text/
|
|
18
|
-
"
|
|
19
|
-
"collection": "typography",
|
|
16
|
+
"refId": "base/typography/base/text/weight/normal",
|
|
17
|
+
"collection": "base/typography",
|
|
20
18
|
"mode": "default",
|
|
21
|
-
"group": "typography",
|
|
19
|
+
"group": "base/typography",
|
|
22
20
|
"scopes": ["FONT_WEIGHT"]
|
|
23
21
|
},
|
|
24
22
|
{
|
|
25
|
-
"name": "
|
|
26
|
-
"value":
|
|
23
|
+
"name": "base/text/weight/medium",
|
|
24
|
+
"value": 500,
|
|
27
25
|
"type": "FLOAT",
|
|
28
|
-
"refId": "
|
|
26
|
+
"refId": "base/typography/base/text/weight/medium",
|
|
27
|
+
"collection": "base/typography",
|
|
28
|
+
"mode": "default",
|
|
29
|
+
"group": "base/typography",
|
|
30
|
+
"scopes": ["FONT_WEIGHT"]
|
|
29
31
|
},
|
|
30
32
|
{
|
|
31
|
-
"name": "text/
|
|
32
|
-
"value":
|
|
33
|
+
"name": "base/text/weight/semibold",
|
|
34
|
+
"value": 600,
|
|
33
35
|
"type": "FLOAT",
|
|
34
|
-
"refId": "typography/text/
|
|
35
|
-
"collection": "typography",
|
|
36
|
+
"refId": "base/typography/base/text/weight/semibold",
|
|
37
|
+
"collection": "base/typography",
|
|
36
38
|
"mode": "default",
|
|
37
|
-
"group": "typography",
|
|
38
|
-
"scopes": ["
|
|
39
|
+
"group": "base/typography",
|
|
40
|
+
"scopes": ["FONT_WEIGHT"]
|
|
39
41
|
},
|
|
40
42
|
{
|
|
41
|
-
"name": "
|
|
42
|
-
"value":
|
|
43
|
-
"type": "
|
|
44
|
-
"refId": "typography/
|
|
45
|
-
"reference": "base/typography/base/text/weight/normal",
|
|
43
|
+
"name": "fontStack/system",
|
|
44
|
+
"value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
45
|
+
"type": "STRING",
|
|
46
|
+
"refId": "typography/fontStack/system",
|
|
46
47
|
"collection": "typography",
|
|
47
48
|
"mode": "default",
|
|
48
49
|
"group": "typography",
|
|
49
|
-
"scopes": ["
|
|
50
|
+
"scopes": ["FONT_FAMILY"]
|
|
50
51
|
},
|
|
51
52
|
{
|
|
52
|
-
"name": "
|
|
53
|
-
"value":
|
|
54
|
-
"type": "
|
|
55
|
-
"refId": "
|
|
53
|
+
"name": "fontStack/sansSerif",
|
|
54
|
+
"value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
55
|
+
"type": "STRING",
|
|
56
|
+
"refId": "typography/fontStack/sansSerif",
|
|
57
|
+
"collection": "typography",
|
|
58
|
+
"mode": "default",
|
|
59
|
+
"group": "typography",
|
|
60
|
+
"scopes": ["FONT_FAMILY"]
|
|
56
61
|
},
|
|
57
62
|
{
|
|
58
|
-
"name": "
|
|
59
|
-
"value":
|
|
60
|
-
"type": "
|
|
61
|
-
"refId": "typography/
|
|
63
|
+
"name": "fontStack/sansSerifDisplay",
|
|
64
|
+
"value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
|
|
65
|
+
"type": "STRING",
|
|
66
|
+
"refId": "typography/fontStack/sansSerifDisplay",
|
|
62
67
|
"collection": "typography",
|
|
63
68
|
"mode": "default",
|
|
64
69
|
"group": "typography",
|
|
65
|
-
"scopes": ["
|
|
70
|
+
"scopes": ["FONT_FAMILY"]
|
|
66
71
|
},
|
|
67
72
|
{
|
|
68
|
-
"name": "
|
|
69
|
-
"value":
|
|
70
|
-
"type": "
|
|
71
|
-
"refId": "typography/
|
|
72
|
-
"reference": "base/typography/base/text/weight/normal",
|
|
73
|
+
"name": "fontStack/monospace",
|
|
74
|
+
"value": "ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",
|
|
75
|
+
"type": "STRING",
|
|
76
|
+
"refId": "typography/fontStack/monospace",
|
|
73
77
|
"collection": "typography",
|
|
74
78
|
"mode": "default",
|
|
75
79
|
"group": "typography",
|
|
76
|
-
"scopes": ["
|
|
80
|
+
"scopes": ["FONT_FAMILY"]
|
|
77
81
|
},
|
|
78
82
|
{
|
|
79
|
-
"name": "
|
|
80
|
-
"value": 1.
|
|
83
|
+
"name": "lineBoxHeight",
|
|
84
|
+
"value": 1.4,
|
|
81
85
|
"type": "FLOAT",
|
|
82
|
-
"refId": "
|
|
86
|
+
"refId": "lineBoxHeight"
|
|
83
87
|
},
|
|
84
88
|
{
|
|
85
|
-
"name": "
|
|
86
|
-
"value":
|
|
89
|
+
"name": "text/display/size",
|
|
90
|
+
"value": 40,
|
|
87
91
|
"type": "FLOAT",
|
|
88
|
-
"refId": "
|
|
92
|
+
"refId": "typography/text/display/size",
|
|
93
|
+
"collection": "typography",
|
|
94
|
+
"mode": "default",
|
|
95
|
+
"group": "typography",
|
|
96
|
+
"scopes": ["FONT_SIZE"]
|
|
89
97
|
},
|
|
90
98
|
{
|
|
91
|
-
"name": "
|
|
92
|
-
"value": 1.
|
|
99
|
+
"name": "lineHeight",
|
|
100
|
+
"value": 1.4,
|
|
93
101
|
"type": "FLOAT",
|
|
94
|
-
"refId": "
|
|
102
|
+
"refId": "lineHeight"
|
|
95
103
|
},
|
|
96
104
|
{
|
|
97
|
-
"name": "text/
|
|
98
|
-
"value":
|
|
105
|
+
"name": "text/display/weight",
|
|
106
|
+
"value": 500,
|
|
99
107
|
"type": "FLOAT",
|
|
100
|
-
"refId": "typography/text/
|
|
108
|
+
"refId": "typography/text/display/weight",
|
|
109
|
+
"reference": "base/typography/base/text/weight/medium",
|
|
101
110
|
"collection": "typography",
|
|
102
111
|
"mode": "default",
|
|
103
112
|
"group": "typography",
|
|
104
|
-
"scopes": ["
|
|
113
|
+
"scopes": ["FONT_WEIGHT"]
|
|
105
114
|
},
|
|
106
115
|
{
|
|
107
|
-
"name": "text/
|
|
108
|
-
"value":
|
|
116
|
+
"name": "text/title/size/large",
|
|
117
|
+
"value": 32,
|
|
109
118
|
"type": "FLOAT",
|
|
110
|
-
"refId": "typography/text/
|
|
119
|
+
"refId": "typography/text/title/size/large",
|
|
111
120
|
"collection": "typography",
|
|
112
121
|
"mode": "default",
|
|
113
122
|
"group": "typography",
|
|
114
123
|
"scopes": ["FONT_SIZE"]
|
|
115
124
|
},
|
|
116
125
|
{
|
|
117
|
-
"name": "text/
|
|
118
|
-
"value":
|
|
126
|
+
"name": "text/title/size/medium",
|
|
127
|
+
"value": 20,
|
|
119
128
|
"type": "FLOAT",
|
|
120
|
-
"refId": "typography/text/
|
|
129
|
+
"refId": "typography/text/title/size/medium",
|
|
121
130
|
"collection": "typography",
|
|
122
131
|
"mode": "default",
|
|
123
132
|
"group": "typography",
|
|
124
133
|
"scopes": ["FONT_SIZE"]
|
|
125
134
|
},
|
|
126
135
|
{
|
|
127
|
-
"name": "text/
|
|
128
|
-
"value":
|
|
136
|
+
"name": "text/title/size/small",
|
|
137
|
+
"value": 16,
|
|
129
138
|
"type": "FLOAT",
|
|
130
|
-
"refId": "typography/text/
|
|
131
|
-
"reference": "base/typography/base/text/weight/normal",
|
|
139
|
+
"refId": "typography/text/title/size/small",
|
|
132
140
|
"collection": "typography",
|
|
133
141
|
"mode": "default",
|
|
134
142
|
"group": "typography",
|
|
135
|
-
"scopes": ["
|
|
143
|
+
"scopes": ["FONT_SIZE"]
|
|
136
144
|
},
|
|
137
145
|
{
|
|
138
|
-
"name": "
|
|
146
|
+
"name": "large",
|
|
147
|
+
"value": 1.5,
|
|
148
|
+
"type": "FLOAT",
|
|
149
|
+
"refId": "large"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"name": "medium",
|
|
139
153
|
"value": 1.6,
|
|
140
154
|
"type": "FLOAT",
|
|
141
|
-
"refId": "
|
|
155
|
+
"refId": "medium"
|
|
142
156
|
},
|
|
143
157
|
{
|
|
144
|
-
"name": "
|
|
145
|
-
"value":
|
|
158
|
+
"name": "small",
|
|
159
|
+
"value": 1.5,
|
|
146
160
|
"type": "FLOAT",
|
|
147
|
-
"refId": "
|
|
148
|
-
"collection": "typography",
|
|
149
|
-
"mode": "default",
|
|
150
|
-
"group": "typography",
|
|
151
|
-
"scopes": ["FONT_SIZE"]
|
|
161
|
+
"refId": "small"
|
|
152
162
|
},
|
|
153
163
|
{
|
|
154
|
-
"name": "text/title/weight/
|
|
164
|
+
"name": "text/title/weight/large",
|
|
155
165
|
"value": 600,
|
|
156
166
|
"type": "FLOAT",
|
|
157
|
-
"refId": "typography/text/title/weight/
|
|
167
|
+
"refId": "typography/text/title/weight/large",
|
|
158
168
|
"reference": "base/typography/base/text/weight/semibold",
|
|
159
169
|
"collection": "typography",
|
|
160
170
|
"mode": "default",
|
|
@@ -173,10 +183,10 @@
|
|
|
173
183
|
"scopes": ["FONT_WEIGHT"]
|
|
174
184
|
},
|
|
175
185
|
{
|
|
176
|
-
"name": "text/title/weight/
|
|
186
|
+
"name": "text/title/weight/small",
|
|
177
187
|
"value": 600,
|
|
178
188
|
"type": "FLOAT",
|
|
179
|
-
"refId": "typography/text/title/weight/
|
|
189
|
+
"refId": "typography/text/title/weight/small",
|
|
180
190
|
"reference": "base/typography/base/text/weight/semibold",
|
|
181
191
|
"collection": "typography",
|
|
182
192
|
"mode": "default",
|
|
@@ -184,164 +194,154 @@
|
|
|
184
194
|
"scopes": ["FONT_WEIGHT"]
|
|
185
195
|
},
|
|
186
196
|
{
|
|
187
|
-
"name": "
|
|
188
|
-
"value":
|
|
197
|
+
"name": "text/subtitle/size",
|
|
198
|
+
"value": 20,
|
|
189
199
|
"type": "FLOAT",
|
|
190
|
-
"refId": "
|
|
200
|
+
"refId": "typography/text/subtitle/size",
|
|
201
|
+
"collection": "typography",
|
|
202
|
+
"mode": "default",
|
|
203
|
+
"group": "typography",
|
|
204
|
+
"scopes": ["FONT_SIZE"]
|
|
191
205
|
},
|
|
192
206
|
{
|
|
193
|
-
"name": "
|
|
207
|
+
"name": "lineHeight",
|
|
194
208
|
"value": 1.6,
|
|
195
209
|
"type": "FLOAT",
|
|
196
|
-
"refId": "
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
"name": "large",
|
|
200
|
-
"value": 1.5,
|
|
201
|
-
"type": "FLOAT",
|
|
202
|
-
"refId": "large"
|
|
210
|
+
"refId": "lineHeight"
|
|
203
211
|
},
|
|
204
212
|
{
|
|
205
|
-
"name": "text/
|
|
206
|
-
"value":
|
|
213
|
+
"name": "text/subtitle/weight",
|
|
214
|
+
"value": 400,
|
|
207
215
|
"type": "FLOAT",
|
|
208
|
-
"refId": "typography/text/
|
|
216
|
+
"refId": "typography/text/subtitle/weight",
|
|
217
|
+
"reference": "base/typography/base/text/weight/normal",
|
|
209
218
|
"collection": "typography",
|
|
210
219
|
"mode": "default",
|
|
211
220
|
"group": "typography",
|
|
212
|
-
"scopes": ["
|
|
221
|
+
"scopes": ["FONT_WEIGHT"]
|
|
213
222
|
},
|
|
214
223
|
{
|
|
215
|
-
"name": "text/
|
|
216
|
-
"value":
|
|
224
|
+
"name": "text/body/size/large",
|
|
225
|
+
"value": 16,
|
|
217
226
|
"type": "FLOAT",
|
|
218
|
-
"refId": "typography/text/
|
|
227
|
+
"refId": "typography/text/body/size/large",
|
|
219
228
|
"collection": "typography",
|
|
220
229
|
"mode": "default",
|
|
221
230
|
"group": "typography",
|
|
222
231
|
"scopes": ["FONT_SIZE"]
|
|
223
232
|
},
|
|
224
233
|
{
|
|
225
|
-
"name": "text/
|
|
226
|
-
"value":
|
|
234
|
+
"name": "text/body/size/medium",
|
|
235
|
+
"value": 14,
|
|
227
236
|
"type": "FLOAT",
|
|
228
|
-
"refId": "typography/text/
|
|
237
|
+
"refId": "typography/text/body/size/medium",
|
|
229
238
|
"collection": "typography",
|
|
230
239
|
"mode": "default",
|
|
231
240
|
"group": "typography",
|
|
232
241
|
"scopes": ["FONT_SIZE"]
|
|
233
242
|
},
|
|
234
243
|
{
|
|
235
|
-
"name": "text/
|
|
236
|
-
"value":
|
|
244
|
+
"name": "text/body/size/small",
|
|
245
|
+
"value": 12,
|
|
237
246
|
"type": "FLOAT",
|
|
238
|
-
"refId": "typography/text/
|
|
239
|
-
"reference": "base/typography/base/text/weight/medium",
|
|
247
|
+
"refId": "typography/text/body/size/small",
|
|
240
248
|
"collection": "typography",
|
|
241
249
|
"mode": "default",
|
|
242
250
|
"group": "typography",
|
|
243
|
-
"scopes": ["
|
|
251
|
+
"scopes": ["FONT_SIZE"]
|
|
244
252
|
},
|
|
245
253
|
{
|
|
246
|
-
"name": "
|
|
247
|
-
"value": 1.
|
|
254
|
+
"name": "large",
|
|
255
|
+
"value": 1.5,
|
|
248
256
|
"type": "FLOAT",
|
|
249
|
-
"refId": "
|
|
257
|
+
"refId": "large"
|
|
250
258
|
},
|
|
251
259
|
{
|
|
252
|
-
"name": "
|
|
253
|
-
"value":
|
|
260
|
+
"name": "medium",
|
|
261
|
+
"value": 1.4285,
|
|
254
262
|
"type": "FLOAT",
|
|
255
|
-
"refId": "
|
|
256
|
-
"collection": "typography",
|
|
257
|
-
"mode": "default",
|
|
258
|
-
"group": "typography",
|
|
259
|
-
"scopes": ["FONT_SIZE"]
|
|
263
|
+
"refId": "medium"
|
|
260
264
|
},
|
|
261
265
|
{
|
|
262
|
-
"name": "
|
|
263
|
-
"value": 1.
|
|
266
|
+
"name": "small",
|
|
267
|
+
"value": 1.6666,
|
|
264
268
|
"type": "FLOAT",
|
|
265
|
-
"refId": "
|
|
269
|
+
"refId": "small"
|
|
266
270
|
},
|
|
267
271
|
{
|
|
268
|
-
"name": "
|
|
269
|
-
"value":
|
|
270
|
-
"type": "
|
|
271
|
-
"refId": "typography/
|
|
272
|
+
"name": "text/body/weight",
|
|
273
|
+
"value": 400,
|
|
274
|
+
"type": "FLOAT",
|
|
275
|
+
"refId": "typography/text/body/weight",
|
|
276
|
+
"reference": "base/typography/base/text/weight/normal",
|
|
272
277
|
"collection": "typography",
|
|
273
278
|
"mode": "default",
|
|
274
279
|
"group": "typography",
|
|
275
|
-
"scopes": ["
|
|
280
|
+
"scopes": ["FONT_WEIGHT"]
|
|
276
281
|
},
|
|
277
282
|
{
|
|
278
|
-
"name": "
|
|
279
|
-
"value":
|
|
280
|
-
"type": "
|
|
281
|
-
"refId": "typography/
|
|
283
|
+
"name": "text/caption/size",
|
|
284
|
+
"value": 12,
|
|
285
|
+
"type": "FLOAT",
|
|
286
|
+
"refId": "typography/text/caption/size",
|
|
282
287
|
"collection": "typography",
|
|
283
288
|
"mode": "default",
|
|
284
289
|
"group": "typography",
|
|
285
|
-
"scopes": ["
|
|
290
|
+
"scopes": ["FONT_SIZE"]
|
|
286
291
|
},
|
|
287
292
|
{
|
|
288
|
-
"name": "
|
|
289
|
-
"value":
|
|
290
|
-
"type": "
|
|
291
|
-
"refId": "
|
|
292
|
-
"collection": "typography",
|
|
293
|
-
"mode": "default",
|
|
294
|
-
"group": "typography",
|
|
295
|
-
"scopes": ["FONT_FAMILY"]
|
|
293
|
+
"name": "lineHeight",
|
|
294
|
+
"value": 1.3333,
|
|
295
|
+
"type": "FLOAT",
|
|
296
|
+
"refId": "lineHeight"
|
|
296
297
|
},
|
|
297
298
|
{
|
|
298
|
-
"name": "
|
|
299
|
-
"value":
|
|
300
|
-
"type": "
|
|
301
|
-
"refId": "typography/
|
|
299
|
+
"name": "text/caption/weight",
|
|
300
|
+
"value": 400,
|
|
301
|
+
"type": "FLOAT",
|
|
302
|
+
"refId": "typography/text/caption/weight",
|
|
303
|
+
"reference": "base/typography/base/text/weight/normal",
|
|
302
304
|
"collection": "typography",
|
|
303
305
|
"mode": "default",
|
|
304
306
|
"group": "typography",
|
|
305
|
-
"scopes": ["
|
|
307
|
+
"scopes": ["FONT_WEIGHT"]
|
|
306
308
|
},
|
|
307
309
|
{
|
|
308
|
-
"name": "
|
|
309
|
-
"value":
|
|
310
|
+
"name": "text/codeBlock/size",
|
|
311
|
+
"value": 13,
|
|
310
312
|
"type": "FLOAT",
|
|
311
|
-
"refId": "
|
|
312
|
-
"collection": "
|
|
313
|
+
"refId": "typography/text/codeBlock/size",
|
|
314
|
+
"collection": "typography",
|
|
313
315
|
"mode": "default",
|
|
314
|
-
"group": "
|
|
315
|
-
"scopes": ["
|
|
316
|
+
"group": "typography",
|
|
317
|
+
"scopes": ["FONT_SIZE"]
|
|
316
318
|
},
|
|
317
319
|
{
|
|
318
|
-
"name": "
|
|
319
|
-
"value":
|
|
320
|
+
"name": "lineHeight",
|
|
321
|
+
"value": 1.5385,
|
|
320
322
|
"type": "FLOAT",
|
|
321
|
-
"refId": "
|
|
322
|
-
"collection": "base/typography",
|
|
323
|
-
"mode": "default",
|
|
324
|
-
"group": "base/typography",
|
|
325
|
-
"scopes": ["FONT_WEIGHT"]
|
|
323
|
+
"refId": "lineHeight"
|
|
326
324
|
},
|
|
327
325
|
{
|
|
328
|
-
"name": "
|
|
326
|
+
"name": "text/codeBlock/weight",
|
|
329
327
|
"value": 400,
|
|
330
328
|
"type": "FLOAT",
|
|
331
|
-
"refId": "
|
|
332
|
-
"
|
|
329
|
+
"refId": "typography/text/codeBlock/weight",
|
|
330
|
+
"reference": "base/typography/base/text/weight/normal",
|
|
331
|
+
"collection": "typography",
|
|
333
332
|
"mode": "default",
|
|
334
|
-
"group": "
|
|
333
|
+
"group": "typography",
|
|
335
334
|
"scopes": ["FONT_WEIGHT"]
|
|
336
335
|
},
|
|
337
336
|
{
|
|
338
|
-
"name": "
|
|
339
|
-
"value":
|
|
337
|
+
"name": "text/codeInline/weight",
|
|
338
|
+
"value": 400,
|
|
340
339
|
"type": "FLOAT",
|
|
341
|
-
"refId": "
|
|
342
|
-
"
|
|
340
|
+
"refId": "typography/text/codeInline/weight",
|
|
341
|
+
"reference": "base/typography/base/text/weight/normal",
|
|
342
|
+
"collection": "typography",
|
|
343
343
|
"mode": "default",
|
|
344
|
-
"group": "
|
|
344
|
+
"group": "typography",
|
|
345
345
|
"scopes": ["FONT_WEIGHT"]
|
|
346
346
|
}
|
|
347
347
|
]
|