Change Color of Active Bottom Bar Tab

This commit is contained in:
Samuel Oberhofer 2022-12-10 14:15:32 +01:00
parent 5725f02fe6
commit 7c6895ccbf
2 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,6 @@
const Colors = { const Colors = {
primary500: "#282A35", primary500: "#282A35",
primary400: "#373A49",
accent500: "#A587DD", accent500: "#A587DD",
}; };

View File

@ -22,6 +22,7 @@ function Navigator() {
headerTitle: (props) => <LogoTitle {...props} />, headerTitle: (props) => <LogoTitle {...props} />,
tabBarStyle: styles.TabBar, tabBarStyle: styles.TabBar,
tabBarActiveTintColor: Colors.accent500, tabBarActiveTintColor: Colors.accent500,
tabBarActiveBackgroundColor: Colors.primary400,
}} }}
> >
<Tab.Screen <Tab.Screen