diff options
author | Eric Bailey <git@esb.lol> | 2024-09-20 17:29:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-20 17:29:58 -0500 |
commit | 7e2456b906563464c8e43867e62f07df9109bc2b (patch) | |
tree | 8dfca319f8b96190b7e83eb9ba37b17c24a2cb46 /src/lib/themes.ts | |
parent | 4161e233200cc1d111faef47f05881e44ab4e731 (diff) | |
download | voidsky-7e2456b906563464c8e43867e62f07df9109bc2b.tar.zst |
[Neue] Font weights (#5442)
* Align all font weights * Only load necessary fonts * Also comment out from hook
Diffstat (limited to 'src/lib/themes.ts')
-rw-r--r-- | src/lib/themes.ts | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/src/lib/themes.ts b/src/lib/themes.ts index d16f9f632..503079993 100644 --- a/src/lib/themes.ts +++ b/src/lib/themes.ts @@ -100,12 +100,12 @@ export const defaultTheme: Theme = { '2xl-medium': { fontSize: 18, letterSpacing: tokens.TRACKING, - fontWeight: '500', + fontWeight: '600', }, '2xl-bold': { fontSize: 18, letterSpacing: tokens.TRACKING, - fontWeight: '700', + fontWeight: '600', }, '2xl-heavy': { fontSize: 18, @@ -125,12 +125,12 @@ export const defaultTheme: Theme = { 'xl-medium': { fontSize: 17, letterSpacing: tokens.TRACKING, - fontWeight: '500', + fontWeight: '600', }, 'xl-bold': { fontSize: 17, letterSpacing: tokens.TRACKING, - fontWeight: '700', + fontWeight: '600', }, 'xl-heavy': { fontSize: 17, @@ -150,12 +150,12 @@ export const defaultTheme: Theme = { 'lg-medium': { fontSize: 16, letterSpacing: tokens.TRACKING, - fontWeight: '500', + fontWeight: '600', }, 'lg-bold': { fontSize: 16, letterSpacing: tokens.TRACKING, - fontWeight: '700', + fontWeight: '600', }, 'lg-heavy': { fontSize: 16, @@ -175,12 +175,12 @@ export const defaultTheme: Theme = { 'md-medium': { fontSize: 15, letterSpacing: tokens.TRACKING, - fontWeight: '500', + fontWeight: '600', }, 'md-bold': { fontSize: 15, letterSpacing: tokens.TRACKING, - fontWeight: '700', + fontWeight: '600', }, 'md-heavy': { fontSize: 15, @@ -200,12 +200,12 @@ export const defaultTheme: Theme = { 'sm-medium': { fontSize: 14, letterSpacing: tokens.TRACKING, - fontWeight: '500', + fontWeight: '600', }, 'sm-bold': { fontSize: 14, letterSpacing: tokens.TRACKING, - fontWeight: '700', + fontWeight: '600', }, 'sm-heavy': { fontSize: 14, @@ -225,12 +225,12 @@ export const defaultTheme: Theme = { 'xs-medium': { fontSize: 13, letterSpacing: tokens.TRACKING, - fontWeight: '500', + fontWeight: '600', }, 'xs-bold': { fontSize: 13, letterSpacing: tokens.TRACKING, - fontWeight: '700', + fontWeight: '600', }, 'xs-heavy': { fontSize: 13, @@ -241,24 +241,24 @@ export const defaultTheme: Theme = { 'title-2xl': { fontSize: 34, letterSpacing: tokens.TRACKING, - fontWeight: '500', + fontWeight: '600', }, 'title-xl': { fontSize: 28, letterSpacing: tokens.TRACKING, - fontWeight: '500', + fontWeight: '600', }, 'title-lg': { fontSize: 22, - fontWeight: '500', + fontWeight: '600', }, title: { - fontWeight: '500', + fontWeight: '600', fontSize: 20, letterSpacing: tokens.TRACKING, }, 'title-sm': { - fontWeight: 'bold', + fontWeight: '600', fontSize: 17, letterSpacing: tokens.TRACKING, }, @@ -273,12 +273,12 @@ export const defaultTheme: Theme = { fontWeight: '400', }, 'button-lg': { - fontWeight: '500', + fontWeight: '600', fontSize: 18, letterSpacing: tokens.TRACKING, }, button: { - fontWeight: '500', + fontWeight: '600', fontSize: 14, letterSpacing: tokens.TRACKING, }, |