Skip to content

Commit

Permalink
feat(data): simplifying type tokens for marketing
Browse files Browse the repository at this point in the history
  • Loading branch information
ljemmo committed Mar 12, 2024
1 parent 70ed81a commit b4b95dd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 22 deletions.
7 changes: 7 additions & 0 deletions data/tokens/Components/form.json
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,13 @@
"description": "File input container for thumbnail, progress, or icon."
}
},
"filepreview": {
"thumbnail": {
"value": "{global.size.mega.XS}",
"type": "sizing",
"description": "Thumbnail width on file preview component"
}
},
"input": {
"S": {
"value": "{global.size.macro.S}",
Expand Down
24 changes: 2 additions & 22 deletions data/tokens/global/typography.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,6 @@
},
"type": "typography",
"description": "Small Viewports: 23.51, Large Viewports: 33.61"
},
"XL": {
"value": {
"fontFamily": "{origin.fontFamilies.sage-text}",
"fontWeight": "{origin.fontWeights.bold}",
"lineHeight": "{origin.lineHeights.400}",
"fontSize": "{origin.fontSize.web.step6}"
},
"type": "typography",
"description": "Small Viewports: 25.39, Large Viewports: 38.98"
}
},
"subheading": {
Expand All @@ -81,20 +71,10 @@
"fontFamily": "{origin.fontFamilies.sage-text}",
"fontWeight": "{origin.fontWeights.medium}",
"lineHeight": "{origin.lineHeights.400}",
"fontSize": "{origin.fontSize.web.step3}"
},
"type": "typography",
"description": "Small Viewports: 20.16, Large Viewports: 24.97"
},
"L": {
"value": {
"fontFamily": "{origin.fontFamilies.sage-text}",
"fontWeight": "{origin.fontWeights.medium}",
"lineHeight": "{origin.lineHeights.400}",
"fontSize": "{origin.fontSize.web.step4}"
"fontSize": "{origin.fontSize.web.step2}"
},
"type": "typography",
"description": "Small Viewports: 21.77, Large Viewports: 28.97"
"description": "Small Viewports: 18.66, Large Viewports: 21.53"
}
},
"body": {
Expand Down

0 comments on commit b4b95dd

Please sign in to comment.