Skip to content

Commit

Permalink
feat(tokens): rename fontFamily
Browse files Browse the repository at this point in the history
  • Loading branch information
mrosvik committed Apr 23, 2024
1 parent a69120c commit 44c2212
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 35 deletions.
2 changes: 1 addition & 1 deletion design-tokens/Base/Core.json
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@
}
},
"fontFamilies": {
"inter": {
"main": {
"value": "Inter",
"type": "fontFamilies"
}
Expand Down
68 changes: 34 additions & 34 deletions design-tokens/Base/Semantic.json
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@
"heading": {
"2xlarge": {
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontFamily": "{fontFamilies.main}",
"fontWeight": "{fontWeights.medium}",
"lineHeight": "{lineHeights.300}",
"fontSize": "{font-size.f7}"
Expand All @@ -423,7 +423,7 @@
},
"xlarge": {
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontFamily": "{fontFamilies.main}",
"fontWeight": "{fontWeights.medium}",
"lineHeight": "{lineHeights.300}",
"fontSize": "{font-size.f6}"
Expand All @@ -433,7 +433,7 @@
},
"large": {
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontFamily": "{fontFamilies.main}",
"fontWeight": "{fontWeights.medium}",
"lineHeight": "{lineHeights.300}",
"fontSize": "{font-size.f5}"
Expand All @@ -443,7 +443,7 @@
},
"medium": {
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontFamily": "{fontFamilies.main}",
"fontWeight": "{fontWeights.medium}",
"lineHeight": "{lineHeights.300}",
"fontSize": "{font-size.f4}"
Expand All @@ -453,7 +453,7 @@
},
"small": {
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontFamily": "{fontFamilies.main}",
"fontWeight": "{fontWeights.medium}",
"lineHeight": "{lineHeights.300}",
"fontSize": "{font-size.f3}"
Expand All @@ -463,7 +463,7 @@
},
"xsmall": {
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontFamily": "{fontFamilies.main}",
"fontWeight": "{fontWeights.medium}",
"lineHeight": "{lineHeights.300}",
"fontSize": "{font-size.f2}"
Expand All @@ -473,7 +473,7 @@
},
"xxsmall": {
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontFamily": "{fontFamilies.main}",
"fontWeight": "{fontWeights.medium}",
"lineHeight": "{lineHeights.300}",
"fontSize": "{font-size.f1}"
Expand All @@ -485,7 +485,7 @@
"ingress": {
"large": {
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontFamily": "{fontFamilies.main}",
"fontWeight": "{fontWeights.regular}",
"lineHeight": "{lineHeights.700}",
"fontSize": "{font-size.f4}"
Expand All @@ -494,7 +494,7 @@
},
"medium": {
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontFamily": "{fontFamilies.main}",
"fontWeight": "{fontWeights.regular}",
"lineHeight": "{lineHeights.700}",
"fontSize": "{font-size.f3}"
Expand All @@ -503,7 +503,7 @@
},
"small": {
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontFamily": "{fontFamilies.main}",
"fontWeight": "{fontWeights.regular}",
"lineHeight": "{lineHeights.700}",
"fontSize": "{font-size.f2}"
Expand All @@ -512,7 +512,7 @@
},
"xsmall": {
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontFamily": "{fontFamilies.main}",
"fontWeight": "{fontWeights.regular}",
"lineHeight": "{lineHeights.700}",
"fontSize": "{font-size.f1}"
Expand All @@ -523,7 +523,7 @@
"paragraph": {
"large": {
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontFamily": "{fontFamilies.main}",
"fontWeight": "{fontWeights.regular}",
"lineHeight": "{lineHeights.500}",
"fontSize": "{font-size.f2}"
Expand All @@ -532,7 +532,7 @@
},
"medium": {
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontFamily": "{fontFamilies.main}",
"fontWeight": "{fontWeights.regular}",
"lineHeight": "{lineHeights.500}",
"fontSize": "{font-size.f1}"
Expand All @@ -541,7 +541,7 @@
},
"small": {
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontFamily": "{fontFamilies.main}",
"fontWeight": "{fontWeights.regular}",
"lineHeight": "{lineHeights.500}",
"fontSize": "{font-size.f0}"
Expand All @@ -550,7 +550,7 @@
},
"xsmall": {
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontFamily": "{fontFamilies.main}",
"fontWeight": "{fontWeights.regular}",
"lineHeight": "{lineHeights.500}",
"fontSize": "{font-size.f-1}"
Expand All @@ -560,7 +560,7 @@
"short": {
"large": {
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontFamily": "{fontFamilies.main}",
"fontWeight": "{fontWeights.regular}",
"lineHeight": "{lineHeights.300}",
"fontSize": "{font-size.f2}"
Expand All @@ -569,7 +569,7 @@
},
"medium": {
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontFamily": "{fontFamilies.main}",
"fontWeight": "{fontWeights.regular}",
"lineHeight": "{lineHeights.300}",
"fontSize": "{font-size.f1}"
Expand All @@ -578,7 +578,7 @@
},
"small": {
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontFamily": "{fontFamilies.main}",
"fontWeight": "{fontWeights.regular}",
"lineHeight": "{lineHeights.300}",
"fontSize": "{font-size.f0}"
Expand All @@ -587,7 +587,7 @@
},
"xsmall": {
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontFamily": "{fontFamilies.main}",
"fontWeight": "{fontWeights.regular}",
"lineHeight": "{lineHeights.300}",
"fontSize": "{font-size.f-1}"
Expand All @@ -598,7 +598,7 @@
"long": {
"large": {
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontFamily": "{fontFamilies.main}",
"fontWeight": "{fontWeights.regular}",
"lineHeight": "{lineHeights.700}",
"fontSize": "{font-size.f1}"
Expand All @@ -607,7 +607,7 @@
},
"medium": {
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontFamily": "{fontFamilies.main}",
"fontWeight": "{fontWeights.regular}",
"lineHeight": "{lineHeights.700}",
"fontSize": "{font-size.f0}"
Expand All @@ -616,7 +616,7 @@
},
"small": {
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontFamily": "{fontFamilies.main}",
"fontWeight": "{fontWeights.regular}",
"lineHeight": "{lineHeights.700}",
"fontSize": "{font-size.f-1}"
Expand All @@ -625,7 +625,7 @@
},
"xsmall": {
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontFamily": "{fontFamilies.main}",
"fontWeight": "{fontWeights.regular}",
"lineHeight": "{lineHeights.700}",
"fontSize": "{font-size.f-2}"
Expand All @@ -637,7 +637,7 @@
"label": {
"large": {
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontFamily": "{fontFamilies.main}",
"fontWeight": "{fontWeights.medium}",
"lineHeight": "{lineHeights.300}",
"fontSize": "{font-size.f2}"
Expand All @@ -646,7 +646,7 @@
},
"medium": {
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontFamily": "{fontFamilies.main}",
"fontWeight": "{fontWeights.medium}",
"lineHeight": "{lineHeights.300}",
"fontSize": "{font-size.f1}"
Expand All @@ -655,7 +655,7 @@
},
"small": {
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontFamily": "{fontFamilies.main}",
"fontWeight": "{fontWeights.medium}",
"lineHeight": "{lineHeights.300}",
"fontSize": "{font-size.f0}"
Expand All @@ -664,7 +664,7 @@
},
"xsmall": {
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontFamily": "{fontFamilies.main}",
"fontWeight": "{fontWeights.medium}",
"lineHeight": "{lineHeights.300}",
"fontSize": "{font-size.f-1}"
Expand All @@ -675,7 +675,7 @@
"error_message": {
"large": {
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontFamily": "{fontFamilies.main}",
"fontWeight": "{fontWeights.regular}",
"lineHeight": "{lineHeights.300}",
"fontSize": "{font-size.f2}"
Expand All @@ -684,7 +684,7 @@
},
"medium": {
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontFamily": "{fontFamilies.main}",
"fontWeight": "{fontWeights.regular}",
"lineHeight": "{lineHeights.300}",
"fontSize": "{font-size.f1}"
Expand All @@ -693,7 +693,7 @@
},
"small": {
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontFamily": "{fontFamilies.main}",
"fontWeight": "{fontWeights.regular}",
"lineHeight": "{lineHeights.300}",
"fontSize": "{font-size.f0}"
Expand All @@ -702,7 +702,7 @@
},
"xsmall": {
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontFamily": "{fontFamilies.main}",
"fontWeight": "{fontWeights.regular}",
"lineHeight": "{lineHeights.300}",
"fontSize": "{font-size.f-1}"
Expand All @@ -713,7 +713,7 @@
"interactive": {
"large": {
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontFamily": "{fontFamilies.main}",
"fontWeight": "{fontWeights.regular}",
"lineHeight": "{lineHeights.300}",
"fontSize": "{font-static.large}"
Expand All @@ -722,7 +722,7 @@
},
"medium": {
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontFamily": "{fontFamilies.main}",
"fontWeight": "{fontWeights.regular}",
"lineHeight": "{lineHeights.300}",
"fontSize": "{font-static.medium}"
Expand All @@ -731,7 +731,7 @@
},
"small": {
"value": {
"fontFamily": "{fontFamilies.inter}",
"fontFamily": "{fontFamilies.main}",
"fontWeight": "{fontWeights.regular}",
"lineHeight": "{lineHeights.300}",
"fontSize": "{font-static.small}"
Expand Down

0 comments on commit 44c2212

Please sign in to comment.