File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
src/components/tabController Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ import {orientations} from '../../commons/Constants';
15
15
import { useDidUpdate } from 'hooks' ;
16
16
17
17
const DEFAULT_HEIGHT = 48 ;
18
- const DEFAULT_BACKGROUND_COLOR = Colors . white ;
18
+ const DEFAULT_BACKGROUND_COLOR = Colors . $backgroundElevated ;
19
19
20
20
const DEFAULT_LABEL_STYLE = {
21
21
...Typography . text80M ,
@@ -323,19 +323,19 @@ const styles = StyleSheet.create({
323
323
left : 0 ,
324
324
width : 70 ,
325
325
height : 2 ,
326
- backgroundColor : Colors . primary
326
+ backgroundColor : Colors . $backgroundPrimaryHeavy
327
327
} ,
328
328
containerShadow : {
329
329
...Platform . select ( {
330
330
ios : {
331
- shadowColor : Colors . grey10 ,
331
+ shadowColor : Colors . black ,
332
332
shadowOpacity : 0.05 ,
333
333
shadowRadius : 2 ,
334
334
shadowOffset : { height : 6 , width : 0 }
335
335
} ,
336
336
android : {
337
337
elevation : 5 ,
338
- backgroundColor : Colors . white
338
+ backgroundColor : Colors . $backgroundElevated
339
339
}
340
340
} )
341
341
} ,
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ import TabBarContext from './TabBarContext';
10
10
11
11
const TouchableOpacity = Reanimated . createAnimatedComponent ( _TouchableOpacity ) ;
12
12
13
- const DEFAULT_LABEL_COLOR = Colors . black ;
14
- const DEFAULT_SELECTED_LABEL_COLOR = Colors . primary ;
13
+ const DEFAULT_LABEL_COLOR = Colors . $textDefault ;
14
+ const DEFAULT_SELECTED_LABEL_COLOR = Colors . $textPrimary ;
15
15
16
16
export interface TabControllerItemProps {
17
17
/**
@@ -212,7 +212,7 @@ export default function TabBarItem({
212
212
</ Reanimated . Text >
213
213
) }
214
214
{ badge && (
215
- < Badge backgroundColor = { Colors . red30 } size = { 20 } { ...badge } containerStyle = { styles . badge } />
215
+ < Badge backgroundColor = { Colors . $backgroundDangerHeavy } size = { 20 } { ...badge } containerStyle = { styles . badge } />
216
216
) }
217
217
{ trailingAccessory }
218
218
</ TouchableOpacity >
You can’t perform that action at this time.
0 commit comments