diff options
Diffstat (limited to 'src/alf/fonts.ts')
-rw-r--r-- | src/alf/fonts.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/alf/fonts.ts b/src/alf/fonts.ts index 786916721..7366edef2 100644 --- a/src/alf/fonts.ts +++ b/src/alf/fonts.ts @@ -1,7 +1,7 @@ -import {TextStyle} from 'react-native' +import {type TextStyle} from 'react-native' import {isAndroid, isWeb} from '#/platform/detection' -import {Device, device} from '#/storage' +import {type Device, device} from '#/storage' const WEB_FONT_FAMILIES = `system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"` @@ -43,11 +43,11 @@ export function applyFonts(style: TextStyle, fontFamily: 'system' | 'theme') { style.fontFamily = { 400: 'Inter-Regular', - 500: 'Inter-Regular', + 500: 'Inter-Medium', 600: 'Inter-SemiBold', - 700: 'Inter-SemiBold', - 800: 'Inter-ExtraBold', - 900: 'Inter-ExtraBold', + 700: 'Inter-Bold', + 800: 'Inter-Bold', + 900: 'Inter-Bold', }[String(style.fontWeight || '400')] || 'Inter-Regular' if (style.fontStyle === 'italic') { |