export const colors = {
  background: '#f4f5f9',
  surface: '#f5f6f8',
  card: '#ffffff',
  text: '#1a1a1a',
  textMuted: '#6b7280',
  primary: '#4f46e5',
  border: '#e7e9ee',
  danger: '#dc2626',
  success: '#22c55e',
};

// Mêmes valeurs que `App\Enum\FoodEntryCategory::gradient()` (PHP) — dupliqué ici
// faute de pouvoir partager une source commune entre backend et client mobile.
export const categoryGradients: Record<string, [string, string]> = {
  breakfast: ['#fbbf24', '#f59e0b'],
  morning_snack: ['#f472b6', '#ec4899'],
  lunch: ['#34d399', '#10b981'],
  afternoon_snack: ['#a78bfa', '#8b5cf6'],
  dinner: ['#818cf8', '#7c3aed'],
};

export const gradients = {
  hero: ['#4f46e5', '#8b5cf6'] as [string, string],
  hydration: ['#38bdf8', '#0284c7'] as [string, string],
};

export const spacing = {
  xs: 4,
  sm: 8,
  md: 16,
  lg: 24,
  xl: 32,
};

export const radii = {
  sm: 8,
  md: 12,
  lg: 20,
  xl: 28,
  pill: 999,
};

export const typography = {
  title: { fontSize: 24, fontWeight: '700' as const },
  body: { fontSize: 16, fontWeight: '400' as const },
  caption: { fontSize: 13, fontWeight: '400' as const },
};
