diff options
author | Ivan Chen <ivan@thetaggid.com> | 2021-02-05 17:32:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-05 17:32:56 -0500 |
commit | bad7fac394f8ef2870a9a139fd46d0def4421bf1 (patch) | |
tree | fe86615c66c61d7b6519b16779263c527186d4e1 /src | |
parent | 63c7fa6c54b835719435802ad1ddc33a74c872fe (diff) | |
parent | 95d3a1a0a60191f44afa8282825d03a2b4c58202 (diff) |
Merge pull request #222 from ashmgarv/tma549
[TMA - 549]
Diffstat (limited to 'src')
-rw-r--r-- | src/components/common/TaggSquareButton.tsx | 3 | ||||
-rw-r--r-- | src/constants/constants.ts | 1 | ||||
-rw-r--r-- | src/screens/onboarding/CategorySelection.tsx | 2 | ||||
-rw-r--r-- | src/screens/onboarding/ProfileOnboarding.tsx | 3 |
4 files changed, 6 insertions, 3 deletions
diff --git a/src/components/common/TaggSquareButton.tsx b/src/components/common/TaggSquareButton.tsx index 4fe61b95..e8c7315e 100644 --- a/src/components/common/TaggSquareButton.tsx +++ b/src/components/common/TaggSquareButton.tsx @@ -7,6 +7,7 @@ import { ViewProps, ViewStyle, } from 'react-native'; +import {TAGG_PURPLE} from '../../constants'; import {normalize, SCREEN_WIDTH} from '../../utils'; interface TaggSquareButtonProps extends ViewProps { @@ -21,7 +22,7 @@ const TaggSquareButton: React.FC<TaggSquareButtonProps> = (props) => { const buttonStyles = (() => { switch (props.color) { case 'purple': - return {backgroundColor: '#8F01FF'}; + return {backgroundColor: TAGG_PURPLE}; case 'white': default: return {backgroundColor: 'white'}; diff --git a/src/constants/constants.ts b/src/constants/constants.ts index 3bad0ed7..f58aa686 100644 --- a/src/constants/constants.ts +++ b/src/constants/constants.ts @@ -60,6 +60,7 @@ export const LINKEDIN_FONT_COLOR: string = '#78B5FD'; export const SNAPCHAT_FONT_COLOR: string = '#FFFC00'; export const YOUTUBE_FONT_COLOR: string = '#FCA4A4'; +export const TAGG_PURPLE = '#8F01FF'; export const TAGG_DARK_BLUE = '#4E699C'; export const TAGG_LIGHT_BLUE: string = '#698DD3'; export const TAGG_LIGHT_PURPLE = '#F4DDFF'; diff --git a/src/screens/onboarding/CategorySelection.tsx b/src/screens/onboarding/CategorySelection.tsx index 94dd44b2..9d5fbe4d 100644 --- a/src/screens/onboarding/CategorySelection.tsx +++ b/src/screens/onboarding/CategorySelection.tsx @@ -308,7 +308,7 @@ const styles = StyleSheet.create({ height: 40, borderRadius: 5, borderWidth: 1, - borderColor: '#8F01FF', + borderColor: 'white', marginBottom: '25%', }, finalActionLabel: { diff --git a/src/screens/onboarding/ProfileOnboarding.tsx b/src/screens/onboarding/ProfileOnboarding.tsx index 127cd9cd..26ad93a7 100644 --- a/src/screens/onboarding/ProfileOnboarding.tsx +++ b/src/screens/onboarding/ProfileOnboarding.tsx @@ -26,6 +26,7 @@ import { bioRegex, genderRegex, CLASS_YEAR_LIST, + TAGG_PURPLE, } from '../../constants'; import AsyncStorage from '@react-native-community/async-storage'; import {BackgroundGradientType} from '../../types'; @@ -549,7 +550,7 @@ const styles = StyleSheet.create({ borderRadius: 55, }, submitBtn: { - backgroundColor: '#8F01FF', + backgroundColor: TAGG_PURPLE, justifyContent: 'center', alignItems: 'center', width: SCREEN_WIDTH / 2.5, |