about summary refs log tree commit diff
path: root/src/lib/styles.ts
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2024-09-20 17:29:58 -0500
committerGitHub <noreply@github.com>2024-09-20 17:29:58 -0500
commit7e2456b906563464c8e43867e62f07df9109bc2b (patch)
tree8dfca319f8b96190b7e83eb9ba37b17c24a2cb46 /src/lib/styles.ts
parent4161e233200cc1d111faef47f05881e44ab4e731 (diff)
downloadvoidsky-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/styles.ts')
-rw-r--r--src/lib/styles.ts9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lib/styles.ts b/src/lib/styles.ts
index 6a3d79611..55fb1a844 100644
--- a/src/lib/styles.ts
+++ b/src/lib/styles.ts
@@ -1,6 +1,6 @@
 import {Dimensions, StyleProp, StyleSheet, TextStyle} from 'react-native'
 
-import {isWeb} from 'platform/detection'
+import {isWeb} from '#/platform/detection'
 import {Theme, TypographyVariant} from './ThemeContext'
 
 // 1 is lightest, 2 is light, 3 is mid, 4 is dark, 5 is darkest
@@ -79,14 +79,13 @@ export const s = StyleSheet.create({
 
   // font weights
   fw600: {fontWeight: '600'},
-  bold: {fontWeight: '700'},
-  fw500: {fontWeight: '500'},
-  semiBold: {fontWeight: '500'},
+  bold: {fontWeight: '600'},
+  fw500: {fontWeight: '600'},
+  semiBold: {fontWeight: '600'},
   fw400: {fontWeight: '400'},
   normal: {fontWeight: '400'},
   fw300: {fontWeight: '400'},
   light: {fontWeight: '400'},
-  fw200: {fontWeight: '200'},
 
   // text decoration
   underline: {textDecorationLine: 'underline'},