diff --git a/apps/native/src/app/(auth)/_layout.tsx b/apps/native/src/app/(auth)/_layout.tsx index 27cfb9d..59ac4f6 100644 --- a/apps/native/src/app/(auth)/_layout.tsx +++ b/apps/native/src/app/(auth)/_layout.tsx @@ -1,5 +1,5 @@ import { Stack } from "expo-router"; -import { useCSSVariable, useResolveClassNames } from "uniwind"; +import { useResolveClassNames } from "uniwind"; import { hasStoredServerUrl } from "@/lib/server-url"; export const unstable_settings = { @@ -10,20 +10,11 @@ export const unstable_settings = { }; export default function AuthLayout() { - const headerTitleStyle = useResolveClassNames( - "font-display text-base text-foreground", - ); const contentStyle = useResolveClassNames("bg-background"); - const tintColor = useCSSVariable("--color-primary") as string; return ( , - headerTintColor: tintColor, contentStyle, animation: "fade", }} diff --git a/apps/native/src/app/(auth)/login.tsx b/apps/native/src/app/(auth)/login.tsx index 6deb11d..b97f3c4 100644 --- a/apps/native/src/app/(auth)/login.tsx +++ b/apps/native/src/app/(auth)/login.tsx @@ -1,11 +1,12 @@ import { useForm } from "@tanstack/react-form"; import { useQuery } from "@tanstack/react-query"; -import { Link, Stack } from "expo-router"; +import { Link } from "expo-router"; import { useRef } from "react"; import { Alert, Pressable, type TextInput, View } from "react-native"; import Animated, { FadeIn, FadeInDown } from "react-native-reanimated"; import { z } from "zod"; import { AuthScreen } from "@/components/auth-screen"; +import { AuthStackHeader } from "@/components/navigation/auth-stack-header"; import { Button, ButtonLabel } from "@/components/ui/button"; import { Spinner } from "@/components/ui/spinner"; import { Text } from "@/components/ui/text"; @@ -73,7 +74,7 @@ export default function LoginScreen() { return ( - + {showOidc && ( - +