From 45b7cc157cebac477edcccf38b38aa516bd14ddb Mon Sep 17 00:00:00 2001 From: Arthur Belleville Date: Sat, 19 Jul 2025 15:17:04 +0200 Subject: [PATCH] lowercase file --- xtablo-expo/app/(home)/(tabs)/_layout.tsx | 2 +- xtablo-expo/constants/colors.ts | 26 +++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 xtablo-expo/constants/colors.ts diff --git a/xtablo-expo/app/(home)/(tabs)/_layout.tsx b/xtablo-expo/app/(home)/(tabs)/_layout.tsx index 58714bb..596bfb2 100644 --- a/xtablo-expo/app/(home)/(tabs)/_layout.tsx +++ b/xtablo-expo/app/(home)/(tabs)/_layout.tsx @@ -4,7 +4,7 @@ import React from "react"; import { HapticTab } from "@/components/HapticTab"; import { IconSymbol } from "@/components/ui/IconSymbol"; import TabBarBackground from "@/components/ui/TabBarBackground"; -import { Colors } from "@/constants/Colors"; +import { Colors } from "@/constants/colors"; import { useColorScheme } from "@/hooks/useColorScheme"; import MaterialCommunityIcons from "@expo/vector-icons/MaterialCommunityIcons"; diff --git a/xtablo-expo/constants/colors.ts b/xtablo-expo/constants/colors.ts new file mode 100644 index 0000000..14e6784 --- /dev/null +++ b/xtablo-expo/constants/colors.ts @@ -0,0 +1,26 @@ +/** + * Below are the colors that are used in the app. The colors are defined in the light and dark mode. + * There are many other ways to style your app. For example, [Nativewind](https://www.nativewind.dev/), [Tamagui](https://tamagui.dev/), [unistyles](https://reactnativeunistyles.vercel.app), etc. + */ + +const tintColorLight = '#0a7ea4'; +const tintColorDark = '#fff'; + +export const Colors = { + light: { + text: '#11181C', + background: '#fff', + tint: tintColorLight, + icon: '#687076', + tabIconDefault: '#687076', + tabIconSelected: tintColorLight, + }, + dark: { + text: '#ECEDEE', + background: '#151718', + tint: tintColorDark, + icon: '#9BA1A6', + tabIconDefault: '#9BA1A6', + tabIconSelected: tintColorDark, + }, +};