Skip to content

Commit

Permalink
fix(style): typography fontWeight
Browse files Browse the repository at this point in the history
  • Loading branch information
alimd committed Jul 17, 2023
1 parent 7d8d755 commit 74fc62b
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions ui/style/lib/typography.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,119 +44,119 @@ export const typographyTheme: Config['theme'] = {
{
lineHeight: '64px',
letterSpacing: '-0.25px',
fontWeight: '400px',
fontWeight: '400',
},
],
displayMedium: [
'45px',
{
lineHeight: '52px',
letterSpacing: '0px',
fontWeight: '400px',
fontWeight: '400',
},
],
displaySmall: [
'36px',
{
lineHeight: '44px',
letterSpacing: '0px',
fontWeight: '400px',
fontWeight: '400',
},
],
headlineLarge: [
'32px',
{
lineHeight: '40px',
letterSpacing: '0px',
fontWeight: '400px',
fontWeight: '400',
},
],
headlineMedium: [
'28px',
{
lineHeight: '36px',
letterSpacing: '0px',
fontWeight: '400px',
fontWeight: '400',
},
],
headlineSmall: [
'24px',
{
lineHeight: '32px',
letterSpacing: '0px',
fontWeight: '400px',
fontWeight: '400',
},
],
bodyLarge: [
'16px',
{
lineHeight: '24px',
letterSpacing: '0.5px',
fontWeight: '400px',
fontWeight: '400',
},
],
bodyMedium: [
'14px',
{
lineHeight: '20px',
letterSpacing: '0.25px',
fontWeight: '400px',
fontWeight: '400',
},
],
bodySmall: [
'12px',
{
lineHeight: '15px',
letterSpacing: '0.4px',
fontWeight: '400px',
fontWeight: '400',
},
],
labelLarge: [
'14px',
{
lineHeight: '20px',
letterSpacing: '0.1px',
fontWeight: '500px',
fontWeight: '500',
},
],
labelMedium: [
'12px',
{
lineHeight: '16px',
letterSpacing: '0.5px',
fontWeight: '500px',
fontWeight: '500',
},
],
labelSmall: [
'11px',
{
lineHeight: '16px',
letterSpacing: '0.5px',
fontWeight: '500px',
fontWeight: '500',
},
],
titleLarge: [
'22px',
{
lineHeight: '28px',
letterSpacing: '0px',
fontWeight: '400px',
fontWeight: '400',
},
],
titleMedium: [
'16px',
{
lineHeight: '24px',
letterSpacing: '0.15px',
fontWeight: '500px',
fontWeight: '500',
},
],
titleSmall: [
'14px',
{
lineHeight: '20px',
letterSpacing: '0.1px',
fontWeight: '500px',
fontWeight: '500',
},
],
},
Expand Down

0 comments on commit 74fc62b

Please sign in to comment.