mirror of
https://github.com/Studio-Saelix/sencho.git
synced 2026-08-29 11:47:01 +00:00
refactor(design): align typography, colors, and card surfaces to DESIGN.md (#859)
* refactor(design): align surface tokens to DESIGN.md §2 * refactor(design): canonicalize tracked-mono kickers and display rungs * refactor(design): collapse to five-slot palette and align card surfaces
This commit is contained in:
@@ -81,9 +81,9 @@ const PAGE_SIZE = 25;
|
||||
const SEVERITY_CLASSES: Record<VulnSeverity, string> = {
|
||||
CRITICAL: 'text-destructive border-destructive/40 bg-destructive/10',
|
||||
HIGH: 'text-warning border-warning/40 bg-warning/10',
|
||||
MEDIUM: 'text-info border-info/40 bg-info/10',
|
||||
LOW: 'text-muted-foreground border-border bg-muted/30',
|
||||
UNKNOWN: 'text-muted-foreground border-border bg-muted/20',
|
||||
MEDIUM: 'text-warning border-warning/40 bg-warning/10',
|
||||
LOW: 'text-stat-subtitle border-border bg-muted/30',
|
||||
UNKNOWN: 'text-stat-subtitle border-border bg-muted/20',
|
||||
};
|
||||
|
||||
function SeverityChip({ severity }: { severity: VulnSeverity }) {
|
||||
|
||||
Reference in New Issue
Block a user