Skip to content

Commit 6cc8b98

Browse files
committed
Modified DashboardScreen.js and changed color of navigation bar
1 parent 2d1f36e commit 6cc8b98

File tree

2 files changed

+160
-172
lines changed

2 files changed

+160
-172
lines changed

src/navigation/RootNavigator.js

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,33 @@ function DashboardTabs() {
2525
initialRouteName="Dashboard"
2626
screenOptions={{
2727
headerShown: false,
28+
29+
// <<< --- TAB BAR COLORS --- >>>
30+
tabBarStyle: {
31+
backgroundColor: "#0595F2", // deep GradQuest blue
32+
height: 60,
33+
paddingBottom: 8,
34+
paddingTop: 8,
35+
borderTopWidth: 0,
36+
},
37+
38+
tabBarActiveTintColor: "#FFC727", // gold text (active)
39+
tabBarInactiveTintColor: "#FFE08A", // light gold for inactive
40+
41+
tabBarLabelStyle: {
42+
fontSize: 12,
43+
fontWeight: "700",
44+
},
45+
46+
// Nice gold indicator under the active tab
47+
tabBarIndicatorStyle: {
48+
backgroundColor: "#FFC727",
49+
height: 3,
50+
},
2851
}}
29-
initialRouteName="Dashboard" // ✅ was "Home" which doesn't exist in tabs
30-
screenOptions={{ headerShown: false }}
3152
>
3253
<Tab.Screen name="Dashboard" component={DashboardScreen} />
33-
<Tab.Screen
34-
name="Saved Applications"
35-
component={SavedApplicationsScreen}
36-
/>
54+
<Tab.Screen name="Saved Applications" component={SavedApplicationsScreen} />
3755
<Tab.Screen name="Reminders" component={ReminderScreen} />
3856
<Tab.Screen name="Settings" component={SettingsScreen} />
3957
</Tab.Navigator>

0 commit comments

Comments
 (0)