refactor: update alert components to use warning variant and clean up unused alerts in settings manager

This commit is contained in:
Anish Sarkar 2026-05-19 01:41:09 +05:30
parent d129ddd8f7
commit c8f0f7cb1b
4 changed files with 20 additions and 20 deletions

View file

@ -9,6 +9,8 @@ const alertVariants = cva(
variants: {
variant: {
default: "border-popover-border bg-accent text-accent-foreground",
warning:
"border-highlight/40 bg-highlight/10 text-foreground *:data-[slot=alert-description]:text-muted-foreground [&>svg]:text-highlight",
destructive:
"border-destructive/30 bg-destructive/10 text-destructive *:data-[slot=alert-description]:text-destructive/90 [&>svg]:text-current",
},