diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-06-24 10:32:19 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-06-24 10:32:19 +0200 |
| commit | b9e1dcf23e29e0adb08119b92f91e81db23ebb26 (patch) | |
| tree | 4b53ec92ac671f3392cf7671d6390ab88a627617 /apps/web/src/components/ui/button.tsx | |
| parent | 75ee0fb637cc4a89d2106a315412d4d6ae2ce0ae (diff) | |
| download | opencut-b9e1dcf23e29e0adb08119b92f91e81db23ebb26.tar.gz | |
refactor: change button variant from 'ghost' to 'text' across multiple components for consistency
Diffstat (limited to 'apps/web/src/components/ui/button.tsx')
| -rw-r--r-- | apps/web/src/components/ui/button.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/web/src/components/ui/button.tsx b/apps/web/src/components/ui/button.tsx index f5863e20..d4406d5b 100644 --- a/apps/web/src/components/ui/button.tsx +++ b/apps/web/src/components/ui/button.tsx @@ -17,7 +17,7 @@ const buttonVariants = cva( "border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground", secondary: "bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80", - ghost: "hover:bg-accent hover:text-accent-foreground", + text: "bg-transparent p-0 rounded-none hover:text-muted-foreground", // Instead of ghost (matches app better) link: "text-primary underline-offset-4 hover:underline", }, size: { |
