From 023dbc30321565170b42c39887f3512ed947a0b2 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Sun, 16 Mar 2025 12:14:04 -0500 Subject: [PATCH] Adjust avi and type sizing --- bskyogcard/src/components/Post.tsx | 3 +-- bskyogcard/src/components/Text.tsx | 33 +++++++++++++++--------------- 2 files changed, 17 insertions(+), 19 deletions(-) diff --git a/bskyogcard/src/components/Post.tsx b/bskyogcard/src/components/Post.tsx index 6867fe8eb6..64a3b79508 100644 --- a/bskyogcard/src/components/Post.tsx +++ b/bskyogcard/src/components/Post.tsx @@ -37,7 +37,6 @@ export function Post({ }) { if (AppBskyFeedPost.isValidRecord(post.record)) { const avatar = data.images.get(post.author.avatar) - console.log(avatar.colors.vibrant) const rt = post.record.text ? new RichTextApi({ text: post.record.text, @@ -76,7 +75,7 @@ export function Post({ ]}> [] }) { - return ( -
- {children} -
- ) + const styles = s([ + a.flex, + a.flex_wrap, + { + columnGap: '1px', + }, + a.font_normal, + a.leading_tight, + a.tracking_wide, + t.atoms.text, + ...(cx ?? []), + ]) + styles.fontSize = (styles.fontSize || a.text_md.fontSize) * SCALE_MULTIPLIER + return
{children}
}