Skip to content

Commit

Permalink
feat(odyssey-design-tokens): add overline letter spacing token
Browse files Browse the repository at this point in the history
  • Loading branch information
bryancunningham-okta committed Sep 25, 2024
1 parent 8e26b65 commit 2ca80a5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions packages/odyssey-design-tokens/src/typography.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,11 @@
"max": {
"value": "55ch"
}
},
"letterSpacing": {
"overline": {
"value": ".05em"
}
}
}
}
5 changes: 4 additions & 1 deletion packages/odyssey-react-mui/src/theme/components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3116,7 +3116,10 @@ export const components = ({
},
},
overline: {
letterSpacing: 0.5,
fontSize: odysseyTokens.TypographySizeOverline,
fontWeight: odysseyTokens.TypographyWeightBodyBold,
lineHeight: odysseyTokens.TypographyLineHeightOverline,
letterSpacing: odysseyTokens.TypographyLetterSpacingOverline,
textTransform: "none",

":is(:lang(en-*), :lang(en))": {
Expand Down

0 comments on commit 2ca80a5

Please sign in to comment.