feat: 更新主题颜色和标签栏选项

This commit is contained in:
2026-03-09 07:53:55 +07:00
parent e41f1cfe1f
commit 007794688b
3 changed files with 27 additions and 6 deletions

View File

@@ -3,7 +3,12 @@ import Ionicons from "@expo/vector-icons/MaterialIcons"
export default function TabLayout() {
return (
<Tabs>
<Tabs
screenOptions={{
tabBarActiveTintColor: "#00D48C",
tabBarInactiveTintColor: "#94A3B8",
}}
>
<Tabs.Screen name="index" options={{ title: '消息', tabBarIcon: ({ color }) => <Ionicons size={28} name="message" color={color} /> }} />
<Tabs.Screen name="contacts" options={{ title: '通讯录', tabBarIcon: ({ color }) => <Ionicons size={28} name="assignment-ind" color={color} /> }} />
<Tabs.Screen name="discover" options={{ title: '发现', tabBarIcon: ({ color }) => <Ionicons size={28} name="compass-calibration" color={color} /> }} />