From 4946f348d4f9cfeacb58e1014ecb661921bb0547 Mon Sep 17 00:00:00 2001 From: Hailey Date: Wed, 12 Jun 2024 00:12:06 -0700 Subject: [PATCH] tweak starter pack create button --- .../StarterPack/ProfileStarterPacks.tsx | 48 +++++++++++-------- 1 file changed, 29 insertions(+), 19 deletions(-) diff --git a/src/components/StarterPack/ProfileStarterPacks.tsx b/src/components/StarterPack/ProfileStarterPacks.tsx index c8856329a1..983fbdfbf5 100644 --- a/src/components/StarterPack/ProfileStarterPacks.tsx +++ b/src/components/StarterPack/ProfileStarterPacks.tsx @@ -6,6 +6,7 @@ import { View, ViewStyle, } from 'react-native' +import {LinearGradient} from 'expo-linear-gradient' import {AppBskyGraphDefs, AppBskyGraphGetActorStarterPacks} from '@atproto/api' import {msg, Trans} from '@lingui/macro' import {useLingui} from '@lingui/react' @@ -133,32 +134,41 @@ function EmptyComponent() { const {_} = useLingui() const t = useTheme() const navigation = useNavigation() + const gradient = + t.name === 'light' + ? [t.palette.primary_500, t.palette.primary_400] + : [t.palette.primary_600, t.palette.primary_500] return ( - - - You have not created any starter packs yet! - - - Create a starter pack now to share your favorite people and feeds with - friends! - + + + + You have not created a starter pack yet! + + + Starter packs let you easily share your favorite feeds and people with + your friends. + + - + ) }