diff --git a/App.tsx b/App.tsx index 4a861c8..27868e4 100644 --- a/App.tsx +++ b/App.tsx @@ -1,6 +1,6 @@ +import theme from "@/themes/Theme"; import Text from "@components/bases/Text"; import { ThemeProvider } from "@shopify/restyle"; -import theme from "@themes/AppTheme"; import { StatusBar } from "expo-status-bar"; import { StyleSheet, View } from "react-native"; diff --git a/src/components/bases/Box.tsx b/src/components/bases/Box.tsx index a0a9c59..08db90c 100644 --- a/src/components/bases/Box.tsx +++ b/src/components/bases/Box.tsx @@ -1,6 +1,6 @@ +import type { Theme } from "@/themes/Theme"; import { createBox } from "@shopify/restyle"; -import type { AppTheme } from "@themes/AppTheme"; -const Box = createBox(); +const Box = createBox(); export default Box; diff --git a/src/components/bases/Text.tsx b/src/components/bases/Text.tsx index b9bd178..ad64fae 100644 --- a/src/components/bases/Text.tsx +++ b/src/components/bases/Text.tsx @@ -1,6 +1,6 @@ +import type { Theme } from "@/themes/Theme"; import { createText } from "@shopify/restyle"; -import type { AppTheme } from "@themes/AppTheme"; -const Text = createText(); +const Text = createText(); export default Text; diff --git a/src/themes/AppTheme.tsx b/src/themes/Theme.tsx similarity index 97% rename from src/themes/AppTheme.tsx rename to src/themes/Theme.tsx index 5ffefba..edb4d55 100644 --- a/src/themes/AppTheme.tsx +++ b/src/themes/Theme.tsx @@ -39,5 +39,5 @@ const theme = createTheme({ }, }); -export type AppTheme = typeof theme; +export type Theme = typeof theme; export default theme;