aboutsummaryrefslogtreecommitdiff
path: root/src/components/common/PostCarousel.tsx
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-04-19 16:18:44 -0400
committerIvan Chen <ivan@tagg.id>2021-04-19 16:18:44 -0400
commit9458d888cc03fc61c13db69492682ac268991887 (patch)
tree953f3b29708bc1f5b918bb403e59d4e70af58f4f /src/components/common/PostCarousel.tsx
parentc477ebfd00e3898814721b8316a47cf14f1740c4 (diff)
cleaned up TAGG_LIGHT_BLUE_2 color constant
Diffstat (limited to 'src/components/common/PostCarousel.tsx')
-rw-r--r--src/components/common/PostCarousel.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/common/PostCarousel.tsx b/src/components/common/PostCarousel.tsx
index cda9d8db..be3dcb16 100644
--- a/src/components/common/PostCarousel.tsx
+++ b/src/components/common/PostCarousel.tsx
@@ -1,6 +1,7 @@
import React, {Fragment, useRef, useState} from 'react';
import {Image} from 'react-native';
import Carousel, {Pagination} from 'react-native-snap-carousel';
+import {TAGG_LIGHT_BLUE_2} from '../../constants';
import {SCREEN_WIDTH} from '../../utils';
interface PostCarouselProps {
@@ -39,7 +40,7 @@ const PostCarousel: React.FC<PostCarouselProps> = ({
activeDotIndex={currentPage}
dotsLength={data.length}
containerStyle={{marginBottom: marginBottom}}
- dotColor={'#6ee7e7'}
+ dotColor={TAGG_LIGHT_BLUE_2}
inactiveDotColor={'#e0e0e0'}
/>
</>