Update presentation of trending topics in Explore (#11227)
This commit is contained in:
@@ -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}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user