import type { ReactNode } from 'react'; import Box from '@mui/material/Box'; import Chip from '@mui/material/Chip'; import Typography from '@mui/material/Typography'; export const PRIORITY_COLORS: Record = { CRITICAL: '#e53935', HIGH: '#fb8c00', MEDIUM: '#fdd835', LOW: '#78909c', }; export const DIFFICULTY_COLORS: Record = { EXTREME: '#e53935', HARD: '#fb8c00', MODERATE: '#fdd835', EASY: '#66bb6a', }; export function PriorityChip({ value }: { value: string }) { return ( ); } export function DifficultyChip({ value }: { value: string }) { return ( ); } export function SectionLabel({ children }: { children: ReactNode }) { return ( {children} ); } /** Plain-language explainer used at the top of each view. */ export function Explainer({ children }: { children: ReactNode }) { return ( {children} ); } export function StatChip({ label, value, color }: { label: string; value: ReactNode; color?: string }) { return ( {value} {label} } sx={{ bgcolor: '#232a31', color: color ?? '#e0e6ec', fontSize: 12, height: 24 }} /> ); }