feat(ui): add linear design foundation

This commit is contained in:
zetaloop
2026-04-25 19:56:24 +08:00
parent 42d7c50dc0
commit 0999f1905e
5 changed files with 113 additions and 8 deletions
+4
View File
@@ -11,6 +11,10 @@ const badgeVariants = cva(
variant: {
default: "bg-primary text-primary-foreground [a&]:hover:bg-primary/90",
secondary: "bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",
success: "border-success/20 bg-success/10 text-success [a&]:hover:bg-success/15",
warning: "border-warning/25 bg-warning/10 text-warning [a&]:hover:bg-warning/15",
info: "border-info/20 bg-info/10 text-info [a&]:hover:bg-info/15",
neutral: "border-neutral/20 bg-neutral/10 text-neutral [a&]:hover:bg-neutral/15",
destructive:
"bg-destructive text-destructive-foreground [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
outline: