Update presentation of trending topics in Explore (#11227)

This commit is contained in:
DS Boyce
2026-07-22 13:58:26 -07:00
committed by GitHub
parent 933ba1c373
commit b2de086c3b
4 changed files with 207 additions and 234 deletions
@@ -31,7 +31,7 @@ export function Container({
a.px_lg,
a.pt_2xl,
a.pb_md,
a.gap_sm,
a.gap_xs,
t.atoms.bg,
bottomBorder && [a.border_b, t.atoms.border_contrast_low],
style,
@@ -82,11 +82,13 @@ export function Icon({
icon: Comp,
size = 'lg',
}: Pick<React.ComponentProps<typeof ButtonIcon>, 'icon' | 'size'>) {
const t = useTheme()
const iconSize = iconSizes[size]
return (
<View style={[a.z_20, {width: iconSize, height: iconSize, marginLeft: -2}]}>
<Comp width={iconSize} />
<Comp width={iconSize} fill={t.atoms.text.color} />
</View>
)
}
@@ -94,7 +96,7 @@ export function Icon({
export function TitleText({style, ...props}: TextProps) {
return (
<Text
style={[a.font_semi_bold, a.flex_1, a.text_xl, style]}
style={[a.font_semi_bold, a.flex_1, a.text_lg, style]}
emoji
{...props}
/>