| 1 | import { Stack } from "expo-router"; |
| 2 | |
| 3 | import { useColors } from "@/theme"; |
| 4 | |
| 5 | /** A tab's stack of screens, with g1t's header. */ |
| 6 | export function TabStack() { |
| 7 | const colors = useColors(); |
| 8 | return ( |
| 9 | <Stack |
| 10 | screenOptions={{ |
| 11 | headerStyle: { backgroundColor: colors.surface }, |
| 12 | headerTintColor: colors.fg, |
| 13 | headerTitleStyle: { color: colors.fg }, |
| 14 | headerShadowVisible: false, |
| 15 | contentStyle: { backgroundColor: colors.bg }, |
| 16 | }} |
| 17 | /> |
| 18 | ); |
| 19 | } |