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/view/com/util/Html.tsx | |
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/view/com/util/Html.tsx')
-rw-r--r-- | src/view/com/util/Html.tsx | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/view/com/util/Html.tsx b/src/view/com/util/Html.tsx index 2e4719481..f77fb1603 100644 --- a/src/view/com/util/Html.tsx +++ b/src/view/com/util/Html.tsx @@ -1,16 +1,17 @@ import * as React from 'react' import {StyleSheet, View} from 'react-native' -import {usePalette} from 'lib/hooks/usePalette' -import {useTheme} from 'lib/ThemeContext' -import {Text} from './text/Text' -import {TextLink} from './Link' import { H1 as ExpoH1, H2 as ExpoH2, H3 as ExpoH3, H4 as ExpoH4, } from '@expo/html-elements' -import {useWebMediaQueries} from 'lib/hooks/useWebMediaQueries' + +import {usePalette} from '#/lib/hooks/usePalette' +import {useWebMediaQueries} from '#/lib/hooks/useWebMediaQueries' +import {useTheme} from '#/lib/ThemeContext' +import {TextLink} from './Link' +import {Text} from './text/Text' /** * These utilities are used to define long documents in an html-like @@ -166,7 +167,7 @@ const useStyles = () => { h4: { marginTop: 0, marginBottom: 10, - fontWeight: 'bold', + fontWeight: '600', }, p: { marginBottom: 10, |