File tree Expand file tree Collapse file tree 2 files changed +160
-172
lines changed
Expand file tree Collapse file tree 2 files changed +160
-172
lines changed Original file line number Diff line number Diff 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 >
You can’t perform that action at this time.
0 commit comments