aboutsummaryrefslogtreecommitdiff
path: root/src/components/common/TaggSquareButton.tsx
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-02-05 17:35:05 -0500
committerIvan Chen <ivan@tagg.id>2021-02-05 17:35:05 -0500
commit231fed8c645dc29334b946dccca94fbb13116fe2 (patch)
treefc7bcd0f9e11b943d89877c621e95681e89a18d7 /src/components/common/TaggSquareButton.tsx
parenta5f746525df9bb2967c252b70e7a4e2f9daa2b8d (diff)
parentbad7fac394f8ef2870a9a139fd46d0def4421bf1 (diff)
Merge branch 'master' into TMA-579-Redesign-Snapchat-Tiktok
# Conflicts: # src/components/common/TaggSquareButton.tsx
Diffstat (limited to 'src/components/common/TaggSquareButton.tsx')
-rw-r--r--src/components/common/TaggSquareButton.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/common/TaggSquareButton.tsx b/src/components/common/TaggSquareButton.tsx
index c6064b92..78a90554 100644
--- a/src/components/common/TaggSquareButton.tsx
+++ b/src/components/common/TaggSquareButton.tsx
@@ -8,7 +8,7 @@ import {
ViewStyle,
} from 'react-native';
import LinearGradient from 'react-native-linear-gradient';
-import {BACKGROUND_GRADIENT_MAP} from '../../constants';
+import {BACKGROUND_GRADIENT_MAP, TAGG_PURPLE} from '../../constants';
import {normalize, SCREEN_WIDTH} from '../../utils';
interface TaggSquareButtonProps extends ViewProps {
@@ -23,7 +23,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'};