POWR/lib/theme/constants.ts

61 lines
1.4 KiB
TypeScript
Raw Normal View History

2025-03-12 19:23:28 -04:00
// lib/theme/constants.ts
import { COLORS } from './colors';
/**
* Application configuration
*/
/**
* Set to true for production builds (TestFlight, App Store)
* This should be automatically configured based on the EAS build profile
*
* For local development, keep this as false
* For TestFlight/App Store builds, set to true
*/
export const IS_PRODUCTION = true;
/**
* App version information
*/
export const APP_VERSION = '1.0.0';
2025-03-12 19:23:28 -04:00
export interface NavigationThemeColors {
background: string;
border: string;
card: string;
notification: string;
primary: string;
text: string;
tabActive: string;
tabInactive: string;
tabIndicator: string;
}
export const NAV_THEME: {
light: NavigationThemeColors;
dark: NavigationThemeColors;
} = {
light: {
background: COLORS.light.background,
border: COLORS.light.border,
card: COLORS.light.card,
notification: COLORS.destructive,
primary: COLORS.purple.DEFAULT,
text: COLORS.light.foreground,
tabActive: COLORS.light.foreground,
tabInactive: COLORS.light.mutedForeground,
tabIndicator: COLORS.purple.DEFAULT,
},
dark: {
background: COLORS.dark.background,
border: COLORS.dark.border,
card: COLORS.dark.card,
notification: COLORS.destructive,
primary: COLORS.purple.DEFAULT,
text: COLORS.dark.foreground,
tabActive: COLORS.dark.foreground,
tabInactive: COLORS.dark.mutedForeground,
tabIndicator: COLORS.purple.DEFAULT,
},
};