aboutsummaryrefslogtreecommitdiff
path: root/src/components/common
diff options
context:
space:
mode:
authorIvan Chen <ivan@thetaggid.com>2021-02-05 17:32:56 -0500
committerGitHub <noreply@github.com>2021-02-05 17:32:56 -0500
commitbad7fac394f8ef2870a9a139fd46d0def4421bf1 (patch)
treefe86615c66c61d7b6519b16779263c527186d4e1 /src/components/common
parent63c7fa6c54b835719435802ad1ddc33a74c872fe (diff)
parent95d3a1a0a60191f44afa8282825d03a2b4c58202 (diff)
Merge pull request #222 from ashmgarv/tma549
[TMA - 549]
Diffstat (limited to 'src/components/common')
-rw-r--r--src/components/common/TaggSquareButton.tsx3
1 files changed, 2 insertions, 1 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'};