import { Tabs, router } from "expo-router"; import { Home, ScanLine, FileText, Wallet, Newspaper, Scan } from "@/lib/icons"; import { useColorScheme } from "nativewind"; import { Platform, View, Pressable } from "react-native"; const ACTIVE_TINT = "rgba(228, 98, 18, 1)"; const INACTIVE_TINT = "#94a3b8"; export default function TabsLayout() { const { colorScheme } = useColorScheme(); const isDark = colorScheme === "dark"; const NAV_BG = colorScheme === "dark" ? "rgba(31,31,31, 1)" : "rgba(255,255,255, 1)"; const BORDER_COLOR = isDark ? "#1e293b" : "#ffffff"; return ( ( ), tabBarLabelStyle: { fontSize: 9, fontWeight: "700", marginBottom: Platform.OS === "ios" ? 0 : 4, textTransform: "uppercase", letterSpacing: 0.5, }, tabBarStyle: { backgroundColor: NAV_BG, borderTopWidth: 0, elevation: isDark ? 0 : 6, shadowColor: "#000", shadowOffset: { width: 0, height: -10 }, shadowOpacity: isDark ? 0 : 0.1, shadowRadius: 20, height: Platform.OS === "ios" ? 75 : 75, paddingBottom: Platform.OS === "ios" ? 30 : 10, paddingTop: 10, marginHorizontal: 20, position: "absolute", bottom: 25, left: 20, right: 20, borderRadius: 32, }, }} > ( ), }} /> ( ), }} /> ( ), }} /> ( ), }} /> ( ), }} /> ); }