From a181b0b9357062aeaae99ca82cc9557e5a3712e6 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Fri, 4 Apr 2025 18:10:13 -0700 Subject: Rework the visual design of the interests card in explore (#8135) --- .../Search/modules/ExploreInterestsCard.tsx | 35 +++++++++++----------- 1 file changed, 17 insertions(+), 18 deletions(-) (limited to 'src') diff --git a/src/screens/Search/modules/ExploreInterestsCard.tsx b/src/screens/Search/modules/ExploreInterestsCard.tsx index a2c6ff36d..00a15111a 100644 --- a/src/screens/Search/modules/ExploreInterestsCard.tsx +++ b/src/screens/Search/modules/ExploreInterestsCard.tsx @@ -8,6 +8,7 @@ import {usePreferencesQuery} from '#/state/queries/preferences' import {useInterestsDisplayNames} from '#/screens/Onboarding/state' import {atoms as a, useTheme} from '#/alf' import {Button, ButtonIcon, ButtonText} from '#/components/Button' +import {Shapes_Stroke2_Corner0_Rounded as Shapes} from '#/components/icons/Shapes' import {TimesLarge_Stroke2_Corner0_Rounded as X} from '#/components/icons/Times' import {Link} from '#/components/Link' import * as Prompt from '#/components/Prompt' @@ -52,19 +53,20 @@ export function ExploreInterestsCard() { onConfirm={onConfirmClose} /> - + - - Your interests - + + + + Your interests + + {preferences?.interests?.tags && preferences.interests.tags.length > 0 ? ( @@ -76,12 +78,11 @@ export function ExploreInterestsCard() { a.justify_center, a.align_center, a.rounded_full, - a.border, - t.atoms.border_contrast_medium, + t.atoms.bg_contrast_25, a.px_lg, {height: 32}, ]}> - + {interestsDisplayNames[tag]} @@ -89,10 +90,8 @@ export function ExploreInterestsCard() { ) : null} - - - Your selected interests help us serve you content you care about. - + + Your interests help us find what you like! - + -- cgit 1.4.1