feat(mobile): add AsyncStorage dep + env reader + theme constants
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user