font size experiment

This commit is contained in:
Hailey
2024-08-26 16:29:28 -07:00
parent 9b534b968d
commit cb0975430c
3 changed files with 11 additions and 11 deletions
+6 -6
View File
@@ -17,12 +17,12 @@ export const space = {
} as const } as const
export const fontSize = { export const fontSize = {
_2xs: 10, _2xs: 9,
xs: 12, xs: 11,
sm: 14, sm: 13,
md: 16, md: 15,
lg: 18, lg: 17,
xl: 20, xl: 19,
_2xl: 22, _2xl: 22,
_3xl: 26, _3xl: 26,
_4xl: 32, _4xl: 32,
+2 -2
View File
@@ -262,7 +262,7 @@ let FeedItemInner = ({
)} )}
</View> </View>
<View style={{paddingTop: 12, flexShrink: 1}}> <View style={{paddingTop: 10, flexShrink: 1}}>
{isReasonFeedSource(reason) ? ( {isReasonFeedSource(reason) ? (
<Link href={reason.href}> <Link href={reason.href}>
<Text <Text
@@ -523,7 +523,7 @@ function ReplyToLabel({
Reply to{' '} Reply to{' '}
<ProfileHoverCard inline did={profile.did}> <ProfileHoverCard inline did={profile.did}>
<TextLinkOnWebOnly <TextLinkOnWebOnly
type="md" type="sm"
style={pal.textLight} style={pal.textLight}
lineHeight={1.2} lineHeight={1.2}
numberOfLines={1} numberOfLines={1}
+3 -3
View File
@@ -80,7 +80,7 @@ let PostMeta = (opts: PostMetaOpts): React.ReactNode => {
onBeforePress={onBeforePressAuthor} onBeforePress={onBeforePressAuthor}
/> />
<TextLinkOnWebOnly <TextLinkOnWebOnly
type="md" type="sm"
disableMismatchWarning disableMismatchWarning
style={[pal.textLight, {flexShrink: 4}]} style={[pal.textLight, {flexShrink: 4}]}
text={NON_BREAKING_SPACE + sanitizeHandle(handle, '@')} text={NON_BREAKING_SPACE + sanitizeHandle(handle, '@')}
@@ -91,14 +91,14 @@ let PostMeta = (opts: PostMetaOpts): React.ReactNode => {
</Text> </Text>
</ProfileHoverCard> </ProfileHoverCard>
{!isAndroid && ( {!isAndroid && (
<Text type="md" style={pal.textLight} accessible={false}> <Text type="sm" style={pal.textLight} accessible={false}>
&middot; &middot;
</Text> </Text>
)} )}
<TimeElapsed timestamp={opts.timestamp}> <TimeElapsed timestamp={opts.timestamp}>
{({timeElapsed}) => ( {({timeElapsed}) => (
<TextLinkOnWebOnly <TextLinkOnWebOnly
type="md" type="sm"
style={pal.textLight} style={pal.textLight}
text={timeElapsed} text={timeElapsed}
accessibilityLabel={niceDate(opts.timestamp)} accessibilityLabel={niceDate(opts.timestamp)}