Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions frontend/app/(seeker)/_layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,20 @@
import { Tabs } from "expo-router";
import { Text } from "react-native";

import {
NAV_HEADER_STYLE,
NAV_HEADER_TINT_COLOR,
NAV_HEADER_TITLE_STYLE,
} from "@/lib/theme";

export default function SeekerLayout() {
return (
<Tabs
screenOptions={{
headerShown: true,
headerStyle: NAV_HEADER_STYLE,
headerTintColor: NAV_HEADER_TINT_COLOR,
headerTitleStyle: NAV_HEADER_TITLE_STYLE,
tabBarStyle: { minHeight: 64, paddingBottom: 8, paddingTop: 8 },
tabBarLabelStyle: { fontSize: 14, fontWeight: "600" },
tabBarActiveTintColor: "#2563EB",
Expand Down
9 changes: 9 additions & 0 deletions frontend/app/(volunteer)/_layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,20 @@
import { Tabs } from "expo-router";
import { Text } from "react-native";

import {
NAV_HEADER_STYLE,
NAV_HEADER_TINT_COLOR,
NAV_HEADER_TITLE_STYLE,
} from "@/lib/theme";

export default function VolunteerLayout() {
return (
<Tabs
screenOptions={{
headerShown: true,
headerStyle: NAV_HEADER_STYLE,
headerTintColor: NAV_HEADER_TINT_COLOR,
headerTitleStyle: NAV_HEADER_TITLE_STYLE,
tabBarStyle: { minHeight: 64, paddingBottom: 8, paddingTop: 8 },
tabBarLabelStyle: { fontSize: 14, fontWeight: "600" },
tabBarActiveTintColor: "#2563EB",
Expand Down
14 changes: 14 additions & 0 deletions frontend/lib/theme.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/**
* Shared theme constants for navigation and UI styling.
*/

export const NAV_HEADER_STYLE = {
backgroundColor: "#2563EB",
} as const;

export const NAV_HEADER_TINT_COLOR = "#FFFFFF";

export const NAV_HEADER_TITLE_STYLE = {
fontWeight: "700" as const,
fontSize: 18,
};