summaryrefslogtreecommitdiffstats
path: root/constants
diff options
context:
space:
mode:
authorjciespuertodelacruz <jc.iespuertodelacruz@gmx.es>2026-01-20 08:49:52 +0000
committerjciespuertodelacruz <jc.iespuertodelacruz@gmx.es>2026-01-20 08:49:52 +0000
commitc6f2b6f85d151d6d2a2cc68eb05edd7a1e448106 (patch)
tree1080219bee426d5d1372da6c31f138482c1544d7 /constants
Initial commit
Generated by create-expo-app 3.5.3.
Diffstat (limited to 'constants')
-rw-r--r--constants/theme.ts53
1 files changed, 53 insertions, 0 deletions
diff --git a/constants/theme.ts b/constants/theme.ts
new file mode 100644
index 0000000..f06facd
--- /dev/null
+++ b/constants/theme.ts
@@ -0,0 +1,53 @@
+/**
+ * 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.
+ */
+
+import { Platform } from 'react-native';
+
+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,
+ },
+};
+
+export const Fonts = Platform.select({
+ ios: {
+ /** iOS `UIFontDescriptorSystemDesignDefault` */
+ sans: 'system-ui',
+ /** iOS `UIFontDescriptorSystemDesignSerif` */
+ serif: 'ui-serif',
+ /** iOS `UIFontDescriptorSystemDesignRounded` */
+ rounded: 'ui-rounded',
+ /** iOS `UIFontDescriptorSystemDesignMonospaced` */
+ mono: 'ui-monospace',
+ },
+ default: {
+ sans: 'normal',
+ serif: 'serif',
+ rounded: 'normal',
+ mono: 'monospace',
+ },
+ web: {
+ sans: "system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif",
+ serif: "Georgia, 'Times New Roman', serif",
+ rounded: "'SF Pro Rounded', 'Hiragino Maru Gothic ProN', Meiryo, 'MS PGothic', sans-serif",
+ mono: "SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace",
+ },
+});