Use atoms for a couple stray fontWeights

This commit is contained in:
Eric Bailey
2024-10-03 15:34:02 -05:00
parent 235c8c5999
commit dd0c0d4368
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ export function ProfileHeaderDisplayName({
t.atoms.text, t.atoms.text,
gtMobile ? a.text_4xl : a.text_3xl, gtMobile ? a.text_4xl : a.text_3xl,
a.self_start, a.self_start,
{fontWeight: '600'}, a.font_heavy,
]}> ]}>
{sanitizeDisplayName( {sanitizeDisplayName(
profile.displayName || sanitizeHandle(profile.handle), profile.displayName || sanitizeHandle(profile.handle),
+3 -2
View File
@@ -590,7 +590,9 @@ function MenuItem({
? styles.menuItemCountTens ? styles.menuItemCountTens
: undefined, : undefined,
]}> ]}>
<Text style={styles.menuItemCountLabel} numberOfLines={1}> <Text
style={[styles.menuItemCountLabel, a.font_bold]}
numberOfLines={1}>
{count} {count}
</Text> </Text>
</View> </View>
@@ -666,7 +668,6 @@ const styles = StyleSheet.create({
}, },
menuItemCountLabel: { menuItemCountLabel: {
fontSize: 12, fontSize: 12,
fontWeight: '600',
fontVariant: ['tabular-nums'], fontVariant: ['tabular-nums'],
color: colors.white, color: colors.white,
}, },