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 | |
parent | 39abcae6cc596e15a6c032064d166145f86eba0a (diff) |
Added constant
-rw-r--r-- | src/components/search/SearchCategories.tsx | 3 | ||||
-rw-r--r-- | src/constants/constants.ts | 1 |
2 files changed, 3 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}> diff --git a/src/constants/constants.ts b/src/constants/constants.ts index 72eb1b57..6b513f4e 100644 --- a/src/constants/constants.ts +++ b/src/constants/constants.ts @@ -63,6 +63,7 @@ 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_BLUE_2: string = '#6EE7E7'; export const TAGG_LIGHT_PURPLE = '#F4DDFF'; export const TAGGS_GRADIENT = { |