feat(mobile): add AsyncStorage dep + env reader + theme constants

This commit is contained in:
byGalax
2026-05-13 23:54:10 +02:00
parent 035b5f078d
commit a275703ba6
5 changed files with 72 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
// Centralised hex constants. Anything new screen / component should
// import from here instead of inlining a literal so we have a single
// place to swap brand tones later. The Phase-0 review flagged five
// hex codes duplicated across components — this is the fix.
export const colors = {
// Surfaces / chrome
bg: '#0b0b0f',
surface: '#16161c',
border: '#27272e',
// Text
text: '#ffffff',
textMuted: '#9ca3af',
textDim: '#6b7280',
// Accents
accent: '#5865f2',
accentMuted: 'rgba(88,101,242,0.15)',
// Status
danger: '#ef4444',
success: '#10b981',
} as const;
export type ColorKey = keyof typeof colors;