Skip to content

Commit

Permalink
feat(data): add XS font size for global component group of type sizes…
Browse files Browse the repository at this point in the history
… and also adding type sizes to descriptions
  • Loading branch information
ljemmo committed Jan 8, 2024
1 parent 829add8 commit bf46e85
Showing 1 changed file with 67 additions and 31 deletions.
98 changes: 67 additions & 31 deletions data/tokens/global.json
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,8 @@
"lineHeight": "{origin.lineHeights.400}",
"fontSize": "{origin.fontSize.web.step7}"
},
"type": "typography"
"type": "typography",
"description": "Small Viewports: 27.42, Large Viewports: 45.22"
},
"L": {
"value": {
Expand All @@ -329,7 +330,8 @@
"lineHeight": "{origin.lineHeights.400}",
"fontSize": "{origin.fontSize.web.step8}"
},
"type": "typography"
"type": "typography",
"description": "Small Viewports: 29.61, Large Viewports: 52.45"
}
},
"heading": {
Expand All @@ -340,7 +342,8 @@
"lineHeight": "{origin.lineHeights.400}",
"fontSize": "{origin.fontSize.web.step3}"
},
"type": "typography"
"type": "typography",
"description": "Small Viewports: 20.16, Large Viewports: 24.97"
},
"M": {
"value": {
Expand All @@ -349,7 +352,8 @@
"lineHeight": "{origin.lineHeights.400}",
"fontSize": "{origin.fontSize.web.step4}"
},
"type": "typography"
"type": "typography",
"description": "Small Viewports: 21.77, Large Viewports: 28.97"
},
"L": {
"value": {
Expand All @@ -358,7 +362,8 @@
"lineHeight": "{origin.lineHeights.400}",
"fontSize": "{origin.fontSize.web.step5}"
},
"type": "typography"
"type": "typography",
"description": "Small Viewports: 23.51, Large Viewports: 33.61"
},
"XL": {
"value": {
Expand All @@ -367,7 +372,8 @@
"lineHeight": "{origin.lineHeights.400}",
"fontSize": "{origin.fontSize.web.step6}"
},
"type": "typography"
"type": "typography",
"description": "Small Viewports: 25.39, Large Viewports: 38.98"
}
},
"subheading": {
Expand All @@ -378,7 +384,8 @@
"lineHeight": "{origin.lineHeights.400}",
"fontSize": "{origin.fontSize.web.step3}"
},
"type": "typography"
"type": "typography",
"description": "Small Viewports: 20.16, Large Viewports: 24.97"
},
"L": {
"value": {
Expand All @@ -387,7 +394,8 @@
"lineHeight": "{origin.lineHeights.400}",
"fontSize": "{origin.fontSize.web.step4}"
},
"type": "typography"
"type": "typography",
"description": "Small Viewports: 21.77, Large Viewports: 28.97"
}
},
"body": {
Expand All @@ -398,7 +406,8 @@
"lineHeight": "{origin.lineHeights.500}",
"fontSize": "{origin.fontSize.web.step0}"
},
"type": "typography"
"type": "typography",
"description": "Small Viewports: 16, Large Viewports: 16"
},
"L": {
"value": {
Expand All @@ -407,66 +416,93 @@
"lineHeight": "{origin.lineHeights.500}",
"fontSize": "{origin.fontSize.web.step2}"
},
"type": "typography"
"type": "typography",
"description": "Small Viewports: 18.66, Large Viewports: 21.53"
}
},
"component": {
"strong": {
"M": {
"XS": {
"value": {
"fontFamily": "{origin.fontFamilies.sage-ui}",
"fontWeight": "{origin.fontWeights.medium}",
"fontWeight": "{origin.fontWeights.regular}",
"lineHeight": "{origin.lineHeights.500}",
"fontSize": "{origin.fontSize.web.step0}"
"fontSize": "{origin.fontSize.web.step-2}"
},
"type": "typography"
"type": "typography",
"description": "Small Viewports: 13.72, Large Viewports: 11.89"
},
"L": {
"S": {
"value": {
"fontFamily": "{origin.fontFamilies.sage-ui}",
"fontWeight": "{origin.fontWeights.regular}",
"lineHeight": "{origin.lineHeights.500}",
"fontSize": "{origin.fontSize.web.step-1}"
},
"type": "typography",
"description": "Small Viewports: 14.81, Large Viewports: 13.79"
},
"M": {
"value": {
"fontFamily": "{origin.fontFamilies.sage-ui}",
"fontWeight": "{origin.fontWeights.medium}",
"lineHeight": "{origin.lineHeights.400}",
"fontSize": "{origin.fontSize.web.step1}"
"lineHeight": "{origin.lineHeights.500}",
"fontSize": "{origin.fontSize.web.step0}"
},
"type": "typography"
"type": "typography",
"description": "Small Viewports: 16, Large Viewports: 16"
},
"XL": {
"L": {
"value": {
"fontFamily": "{origin.fontFamilies.sage-ui}",
"fontWeight": "{origin.fontWeights.medium}",
"lineHeight": "{origin.lineHeights.400}",
"fontSize": "{origin.fontSize.web.step3}"
"fontSize": "{origin.fontSize.web.step1}"
},
"type": "typography"
"type": "typography",
"description": "Small Viewports: 17.28, Large Viewports: 18.56"
}
},
"default": {
"M": {
"XS": {
"value": {
"fontFamily": "{origin.fontFamilies.sage-ui}",
"fontWeight": "{origin.fontWeights.regular}",
"lineHeight": "{origin.lineHeights.500}",
"fontSize": "{origin.fontSize.web.step0}"
"fontSize": "{origin.fontSize.web.step-2}"
},
"type": "typography"
"type": "typography",
"description": "Small Viewports: 13.72, Large Viewports: 11.89"
},
"L": {
"S": {
"value": {
"fontFamily": "{origin.fontFamilies.sage-ui}",
"fontWeight": "{origin.fontWeights.regular}",
"lineHeight": "{origin.lineHeights.400}",
"fontSize": "{origin.fontSize.web.step1}"
"lineHeight": "{origin.lineHeights.500}",
"fontSize": "{origin.fontSize.web.step-1}"
},
"type": "typography"
"type": "typography",
"description": "Small Viewports: 14.81, Large Viewports: 13.79"
},
"XL": {
"M": {
"value": {
"fontFamily": "{origin.fontFamilies.sage-ui}",
"fontWeight": "{origin.fontWeights.regular}",
"lineHeight": "{origin.lineHeights.500}",
"fontSize": "{origin.fontSize.web.step0}"
},
"type": "typography",
"description": "Small Viewports: 16, Large Viewports: 16"
},
"L": {
"value": {
"fontFamily": "{origin.fontFamilies.sage-ui}",
"fontWeight": "{origin.fontWeights.regular}",
"lineHeight": "{origin.lineHeights.400}",
"fontSize": "{origin.fontSize.web.step3}"
"fontSize": "{origin.fontSize.web.step1}"
},
"type": "typography"
"type": "typography",
"description": "Small Viewports: 17.28, Large Viewports: 18.56"
}
}
}
Expand Down

0 comments on commit bf46e85

Please sign in to comment.