POWR/lib/theme/constants.ts
DocNR ff8851bd04 feat(auth): implement auth system core infrastructure (Phase 1)
- Add state machine for authentication state management
- Add signing queue for background processing
- Add auth service for centralized authentication logic
- Add React context provider for components
- Keep feature flag disabled for now
2025-04-02 23:40:54 -04:00

61 lines
1.5 KiB
TypeScript

// 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 = false; // Temporarily set to false for development
/**
* App version information
*/
export const APP_VERSION = '1.0.0';
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,
},
};