diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-08-15 18:33:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-15 08:33:23 -0700 |
commit | f2892779da97d18d96125a66d90a3d31fd81fb2d (patch) | |
tree | 1fd7a651a022c51c0967f166848b82a83ca434c6 /src/screens | |
parent | 5ca665467e9cbedd78f21df76db8cfde8eaa66b4 (diff) | |
download | voidsky-f2892779da97d18d96125a66d90a3d31fd81fb2d.tar.zst |
Use medium font weight in a few places (#8848)
* medium font toasts * medium font tabs * medium font trending pill
Diffstat (limited to 'src/screens')
-rw-r--r-- | src/screens/Search/modules/ExploreSuggestedAccounts.tsx | 2 | ||||
-rw-r--r-- | src/screens/Search/modules/ExploreTrendingTopics.tsx | 7 |
2 files changed, 3 insertions, 6 deletions
diff --git a/src/screens/Search/modules/ExploreSuggestedAccounts.tsx b/src/screens/Search/modules/ExploreSuggestedAccounts.tsx index f91877143..fd37544f4 100644 --- a/src/screens/Search/modules/ExploreSuggestedAccounts.tsx +++ b/src/screens/Search/modules/ExploreSuggestedAccounts.tsx @@ -147,7 +147,7 @@ let Tab = ({ ]}> <Text style={[ - /* TODO: medium weight */ + a.font_medium, active || hovered || pressed || focused ? t.atoms.text : t.atoms.text_contrast_medium, diff --git a/src/screens/Search/modules/ExploreTrendingTopics.tsx b/src/screens/Search/modules/ExploreTrendingTopics.tsx index 130eb1e5e..596d40aa4 100644 --- a/src/screens/Search/modules/ExploreTrendingTopics.tsx +++ b/src/screens/Search/modules/ExploreTrendingTopics.tsx @@ -163,10 +163,7 @@ function TrendingIndicator({type}: {type: TrendingIndicatorType | 'skeleton'}) { a.align_center, a.gap_xs, a.rounded_full, - a.px_sm, - { - height: 28, - }, + {height: 28, paddingHorizontal: 10}, ] let Icon: React.ComponentType<SVGIconProps> | null = null @@ -218,7 +215,7 @@ function TrendingIndicator({type}: {type: TrendingIndicatorType | 'skeleton'}) { return ( <View style={[pillStyles, {backgroundColor}]}> {Icon && <Icon size="sm" style={{color}} />} - <Text style={[a.text_sm, {color}]}>{text}</Text> + <Text style={[a.text_sm, a.font_medium, {color}]}>{text}</Text> </View> ) } |