From 6e79fec72df998174d2b4dd38e052a45493cd0d1 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Tue, 26 Nov 2024 09:00:12 -0600 Subject: [PATCH] Tweak colors --- src/alf/tokens.ts | 1 + src/screens/Subscriptions/index.tsx | 45 +++++++++++++---------------- 2 files changed, 21 insertions(+), 25 deletions(-) diff --git a/src/alf/tokens.ts b/src/alf/tokens.ts index 7ca5bf4cff..453f2c3c02 100644 --- a/src/alf/tokens.ts +++ b/src/alf/tokens.ts @@ -126,5 +126,6 @@ export const gradients = { export const blueskyPlus = { dark: '#083367', + mid: '#67A59F', light: '#9EE8C1', } diff --git a/src/screens/Subscriptions/index.tsx b/src/screens/Subscriptions/index.tsx index bd102e05a5..a96b34c36e 100644 --- a/src/screens/Subscriptions/index.tsx +++ b/src/screens/Subscriptions/index.tsx @@ -1,5 +1,5 @@ import React from 'react' -import {TextStyle,View} from 'react-native' +import {TextStyle, View} from 'react-native' import {msg, Trans} from '@lingui/macro' import {useLingui} from '@lingui/react' import {NativeStackScreenProps} from '@react-navigation/native-stack' @@ -29,10 +29,11 @@ import {GradientFill} from '#/components/GradientFill' import {AndroidLogo} from '#/components/icons/AndroidLogo' import {AppleLogo} from '#/components/icons/AppleLogo' import {ArrowRotateCounterClockwise_Stroke2_Corner0_Rounded as Rotate} from '#/components/icons/ArrowRotateCounterClockwise' -import {Full as BlueskyPlusLogo} from '#/components/icons/BlueskyPlus' +import {Logotype} from '#/components/icons/BlueskyPlus' import {CheckThick_Stroke2_Corner0_Rounded as Check} from '#/components/icons/Check' import {Clock_Stroke2_Corner0_Rounded as Clock} from '#/components/icons/Clock' import {Globe_Stroke2_Corner0_Rounded as Globe} from '#/components/icons/Globe' +import {Mark} from '#/components/icons/Logo' import {PlusLarge_Stroke2_Corner0_Rounded as Plus} from '#/components/icons/Plus' import * as Layout from '#/components/Layout' import {createStaticClick, Link} from '#/components/Link' @@ -77,6 +78,7 @@ function Core({ state: Exclude restricted: NativePurchaseRestricted }) { + const t = useTheme() const coreSubscriptions = state.subscriptions .filter(s => s.group === SubscriptionGroupId.Core) .filter(s => { @@ -86,7 +88,10 @@ function Core({ return ( - + + + + {restricted === 'yes' ? ( @@ -100,7 +105,10 @@ function Core({ )} {isSubscribedToCore ? ( - + + + Active subscriptions + {coreSubscriptions.map(sub => ( ))} @@ -160,32 +168,18 @@ function Purchase() { return ( <> - - Building a better internet needs your support. - + Subscribing to Bluesky+ helps ensure that our work to build an open, secure, and user-first internet can continue. - + Plus, you'll get access to exclusive features! @@ -196,15 +190,16 @@ function Purchase() { a.p_lg, a.gap_sm, a.rounded_sm, - t.atoms.bg_contrast_25, + a.border, + t.atoms.border_contrast_low, ]}> {features.map(f => ( - + - + Subscribe - +