fix: old styling with new shadcn components

This commit is contained in:
2026-02-24 16:58:17 +01:00
parent 9c6b184f7e
commit 5d6ace4e46
11 changed files with 25 additions and 145 deletions

View File

@@ -39,7 +39,7 @@ export default function ContrastPage() {
}) => (
<div className="flex items-center justify-between p-3 bg-muted rounded-lg">
<span className="text-sm">{label}</span>
<Badge variant={passed ? 'secondary' : 'destructive'}>
<Badge variant={passed ? 'default' : 'destructive'}>
{passed ? (
<>
<Check className="h-3 w-3 mr-1" />