File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
packages/ui/src/components Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,16 @@ import { cva, type VariantProps } from "class-variance-authority"
44
55import { cn } from "../lib/utils"
66
7+ /**
8+ * Button variants following Apple's design language:
9+ * - default: Filled blue button (primary actions)
10+ * - tinted: Apple-style tinted button with subtle background
11+ * - destructive: Red button for delete/destructive actions
12+ * - outline: Secondary button with border
13+ * - secondary: Subtle gray background
14+ * - ghost: Minimal button with hover effect
15+ * - link: Text-only link style
16+ */
717const buttonVariants = cva (
818 "inline-flex items-center justify-center whitespace-nowrap rounded-lg text-sm font-medium transition-apple focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-40 active:scale-[0.98]" ,
919 {
You can’t perform that action at this time.
0 commit comments