Commit 667caecf authored by Lorenzo Trujillo Rojas's avatar Lorenzo Trujillo Rojas
Browse files

Refactorización de la variable del tema global

parent 3617e6d4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
import { View, StyleSheet, Image, Text, Button } from "react-native";
import { LIGTHT_THEME } from "../src/common/constants/theme";
import { LIGHT_THEME } from "../src/common/constants/theme";
import { SignUpForm } from "../src/auth/components/sign_up_form";
import { router } from "expo-router";
import { SignUpPage } from "../src/auth/pages/sign_up_page";
+1 −1
Original line number Diff line number Diff line
import { Stack } from "expo-router";
import { LIGTHT_THEME } from "../../../../../../src/common/constants/theme";
import { LIGHT_THEME } from "../../../../../../src/common/constants/theme";

export default function ActivitySelectionScreen() {
  return (
+4 −4
Original line number Diff line number Diff line
import { Stack } from "expo-router";
import { LIGTHT_THEME } from "../../../../src/common/constants/theme";
import { LIGHT_THEME } from "../../../../src/common/constants/theme";

export default function Layout() {
    return (
@@ -7,13 +7,13 @@ export default function Layout() {
            <Stack.Screen name="[townId]/index" options={{
                title: "Select an activity",
                headerStyle: {
                    backgroundColor: LIGTHT_THEME.color.primary,
                    backgroundColor: LIGHT_THEME.color.primary,
                },
                headerTitleStyle: {
                    color: LIGTHT_THEME.color.white,
                    color: LIGHT_THEME.color.white,
                },
                headerTitleAlign: "center",
                headerTintColor: LIGTHT_THEME.color.white,
                headerTintColor: LIGHT_THEME.color.white,
            }}/>
            <Stack.Screen name="[townId]/activity" options={{
                headerShown: false
+4 −4
Original line number Diff line number Diff line
import { Stack } from "expo-router";
import { LIGTHT_THEME } from "../../src/common/constants/theme";
import { LIGHT_THEME } from "../../src/common/constants/theme";

export default function Layout() {
  return (
@@ -9,13 +9,13 @@ export default function Layout() {
        options={{
          title: "Select a town",
          headerStyle: {
            backgroundColor: LIGTHT_THEME.color.primary,
            backgroundColor: LIGHT_THEME.color.primary,
          },
          headerTitleStyle: {
            color: LIGTHT_THEME.color.white,
            color: LIGHT_THEME.color.white,
          },
          headerTitleAlign: "center",
          headerTintColor: LIGTHT_THEME.color.white,
          headerTintColor: LIGHT_THEME.color.white,
        }}
      />
      <Stack.Screen
+4 −4
Original line number Diff line number Diff line
import { Stack } from "expo-router";
import { LIGTHT_THEME } from "../../src/common/constants/theme";
import { LIGHT_THEME } from "../../src/common/constants/theme";
import { Button } from "react-native";
import { ShareButton } from "../../src/travel_history/components/share_button";

@@ -8,13 +8,13 @@ export default function Layout() {
    <Stack
      screenOptions={{
        headerStyle: {
          backgroundColor: LIGTHT_THEME.color.primary,
          backgroundColor: LIGHT_THEME.color.primary,
        },
        headerTitleStyle: {
          color: LIGTHT_THEME.color.white,
          color: LIGHT_THEME.color.white,
        },
        headerTitleAlign: "center",
        headerTintColor: LIGTHT_THEME.color.white,
        headerTintColor: LIGHT_THEME.color.white,
      }}
    >
      <Stack.Screen name="details/[id]" options={{
Loading