import { Tabs } from 'expo-router'; import React from 'react'; import { StyleSheet, Platform, View } from 'react-native'; import { Feather } from '@expo/vector-icons'; import { useAppTheme } from '../../context/ThemeContext'; import { useAppConfig } from '../../context/ConfigContext'; export default function TabLayout() { const { colors, isDark } = useAppTheme(); const { config, syncConfig } = useAppConfig(); // Reference design: dark/charcoal tab bar with lime active, gray inactive const tabBarBg = isDark ? '#111111' : '#FFFFFF'; const activeColor = isDark ? '#C6F135' : '#1A1A1A'; // lime on dark, black on light const inactiveColor = isDark ? '#555555' : '#AAAAAA'; return ( { syncConfig(); }, }} screenOptions={{ tabBarActiveTintColor: activeColor, tabBarInactiveTintColor: inactiveColor, headerShown: false, tabBarStyle: { position: 'absolute', borderTopWidth: 0, backgroundColor: 'transparent', elevation: 0, height: 78, paddingBottom: Platform.OS === 'ios' ? 22 : 12, paddingTop: 10, }, tabBarBackground: () => ( ), tabBarLabelStyle: { fontFamily: 'Outfit_600SemiBold', fontSize: 11, marginTop: 2, }, }}> ( ), }} /> ( ), }} /> ( ), }} /> ( ), }} /> ); } const styles = StyleSheet.create({ activeIconWrap: { width: 42, height: 30, borderRadius: 10, alignItems: 'center', justifyContent: 'center', }, });