refactor(design): replace status, priority and severity color maps with StatusTag and mono tokens
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -11,9 +11,9 @@ type RiskFlag = {
|
||||
}
|
||||
|
||||
const LEVEL_COLORS: Record<RiskFlag['risk_level'], string> = {
|
||||
low: 'bg-yellow-50 text-yellow-700 border-yellow-200',
|
||||
medium: 'bg-orange-50 text-orange-700 border-orange-200',
|
||||
high: 'bg-red-50 text-red-700 border-red-200',
|
||||
low: 'bg-neutral-100 text-neutral-800 border-divider',
|
||||
medium: 'bg-ground text-accent-700 border-accent',
|
||||
high: 'bg-accent-100 text-accent-800 border-accent',
|
||||
}
|
||||
|
||||
export function RiskFlagsPanel() {
|
||||
|
||||
Reference in New Issue
Block a user