diff options
author | Shravya Ramesh <shravs1208@gmail.com> | 2021-03-05 15:33:54 -0800 |
---|---|---|
committer | Shravya Ramesh <shravs1208@gmail.com> | 2021-03-05 20:46:51 -0800 |
commit | e8f9338132d568be325763bb84bfd836d3ea78bf (patch) | |
tree | 60ca54fa711c73aeb55de87393b59e2a357d3677 /src/components | |
parent | 39abcae6cc596e15a6c032064d166145f86eba0a (diff) |
Added constant
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/search/SearchCategories.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/search/SearchCategories.tsx b/src/components/search/SearchCategories.tsx index e905c195..30de7e2c 100644 --- a/src/components/search/SearchCategories.tsx +++ b/src/components/search/SearchCategories.tsx @@ -3,6 +3,7 @@ import React from 'react'; import {StyleSheet, Text, View} from 'react-native'; import {TouchableOpacity} from 'react-native-gesture-handler'; import LinearGradient from 'react-native-linear-gradient'; +import {TAGG_LIGHT_BLUE_2, TAGG_PURPLE} from '../../constants'; import {SCREEN_WIDTH} from '../../utils'; const SearchCategories: React.FC = () => { @@ -30,7 +31,7 @@ const SearchCategories: React.FC = () => { {categories && categories.map((searchCategory) => ( <LinearGradient - colors={['#8000FF', '#00FFFF']} + colors={[TAGG_PURPLE, TAGG_LIGHT_BLUE_2]} start={{x: 0.0, y: 1.0}} end={{x: 1.0, y: 1.0}} style={styles.gradientContainer}> |