Skip to content

Commit

Permalink
feat(data): Add typography token for icon.
Browse files Browse the repository at this point in the history
  • Loading branch information
clairedenning committed Apr 18, 2024
1 parent bc7d4f9 commit 41dca6e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
9 changes: 9 additions & 0 deletions data/tokens/global/typography.json
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,15 @@
"description": "Small Viewports: 13.72, Large Viewports: 11.89. Match token size to component size."
}
},
"icon": {
"M": {
"value": {
"fontSize": "{origin.fontSize.icon.step0}"
},
"type": "typography",
"description": "Small Viewports: 20, Large Viewports: 20. "
}
},
"link": {
"S": {
"value": {
Expand Down
7 changes: 7 additions & 0 deletions data/tokens/origin.json
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,13 @@
"type": "fontSizes",
"description": "Small Viewports: 40.30, Large Viewports: 94.96"
}
},
"icon": {
"step0": {
"value": "20px",
"type": "fontSizes",
"description": "Small viewports: 20px, Large viewports: 20px."
}
}
},
"textDecoration": {
Expand Down

0 comments on commit 41dca6e

Please sign in to comment.