mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-23 19:05:16 +02:00
refactor: update alert components to use warning variant and clean up unused alerts in settings manager
This commit is contained in:
parent
d129ddd8f7
commit
c8f0f7cb1b
4 changed files with 20 additions and 20 deletions
|
|
@ -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",
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue