diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-08-12 02:04:45 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-11 18:04:45 -0500 |
commit | ef171e289234c7439011b68a61e951ab88319d0b (patch) | |
tree | d08f56f3edc18156fbf1c9c2c8dd20ce944f258d /src/view/screens | |
parent | 17c5cec3566c591dd3aa1a939d449d8206f91c28 (diff) | |
download | voidsky-ef171e289234c7439011b68a61e951ab88319d0b.tar.zst |
Tweak small buttons (#8818)
* set size=small buttons to `text_sm` * change to `leading_snug` * add gap to repost buttons * Add medium-weight font, use for buttons (#8819) * add medium weight inter * add medium font to buttons * Adjust bold weights * Fix ref --------- Co-authored-by: Eric Bailey <git@esb.lol> * Align with designs --------- Co-authored-by: Eric Bailey <git@esb.lol>
Diffstat (limited to 'src/view/screens')
-rw-r--r-- | src/view/screens/Storybook/Typography.tsx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/view/screens/Storybook/Typography.tsx b/src/view/screens/Storybook/Typography.tsx index 9286d4b3d..3f22091e1 100644 --- a/src/view/screens/Storybook/Typography.tsx +++ b/src/view/screens/Storybook/Typography.tsx @@ -20,6 +20,21 @@ export function Typography() { <Text style={[a.text_xs]}>atoms.text_xs</Text> <Text style={[a.text_2xs]}>atoms.text_2xs</Text> + <Text style={[a.text_xl]}>This is regular text</Text> + <Text style={[a.text_xl, a.italic]}>This is regular italic text</Text> + <Text style={[a.text_xl, a.font_medium]}>This is medium text</Text> + <Text style={[a.text_xl, a.font_medium, a.italic]}> + This is medium italic text + </Text> + <Text style={[a.text_xl, a.font_bold]}>This is bold text</Text> + <Text style={[a.text_xl, a.font_bold, a.italic]}> + This is bold italic text + </Text> + <Text style={[a.text_xl, a.font_heavy]}>This is heavy text</Text> + <Text style={[a.text_xl, a.font_heavy, a.italic]}> + This is heavy italic text + </Text> + <RichText // TODO: This only supports already resolved facets. // Resolving them on read is bad anyway. |