diff options
| author | Hyteq <DerpsDer.es@gmail.com> | 2025-06-24 11:31:41 +0300 |
|---|---|---|
| committer | Hyteq <DerpsDer.es@gmail.com> | 2025-06-24 11:31:41 +0300 |
| commit | 33637c04819a35bc6470594d9b93da2db668f017 (patch) | |
| tree | 09c960fb6c169d170f75ea1969c6fcb185d6cc4b /apps/web/src/components/ui | |
| parent | 3b4577e474a95a16f0b9478ad3eddf50a2ba90eb (diff) | |
| parent | c3d49711b08a96b2b93656c2919fa1b95b4fce6b (diff) | |
| download | opencut-33637c04819a35bc6470594d9b93da2db668f017.tar.gz | |
Merge branch 'main' of https://github.com/OpenCut-app/OpenCut
Diffstat (limited to 'apps/web/src/components/ui')
| -rw-r--r-- | apps/web/src/components/ui/button.tsx | 2 | ||||
| -rw-r--r-- | apps/web/src/components/ui/calendar.tsx | 2 | ||||
| -rw-r--r-- | apps/web/src/components/ui/input.tsx | 2 | ||||
| -rw-r--r-- | apps/web/src/components/ui/pagination.tsx | 2 | ||||
| -rw-r--r-- | apps/web/src/components/ui/sidebar.tsx | 2 |
5 files changed, 5 insertions, 5 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: { diff --git a/apps/web/src/components/ui/calendar.tsx b/apps/web/src/components/ui/calendar.tsx index 2dca9b14..192643cb 100644 --- a/apps/web/src/components/ui/calendar.tsx +++ b/apps/web/src/components/ui/calendar.tsx @@ -43,7 +43,7 @@ function Calendar({ : "[&:has([aria-selected])]:rounded-md" ), day: cn( - buttonVariants({ variant: "ghost" }), + buttonVariants({ variant: "text" }), "h-8 w-8 p-0 font-normal aria-selected:opacity-100" ), day_range_start: "day-range-start", diff --git a/apps/web/src/components/ui/input.tsx b/apps/web/src/components/ui/input.tsx index 42f4c452..72314045 100644 --- a/apps/web/src/components/ui/input.tsx +++ b/apps/web/src/components/ui/input.tsx @@ -41,7 +41,7 @@ const Input = React.forwardRef<HTMLInputElement, InputProps>( {showPasswordToggle && ( <Button type="button" - variant="ghost" + variant="text" size="icon" onClick={() => onShowPasswordChange?.(!showPassword)} className="absolute right-0 top-0 h-full px-3 text-muted-foreground hover:text-foreground" diff --git a/apps/web/src/components/ui/pagination.tsx b/apps/web/src/components/ui/pagination.tsx index 79fd268e..61766cec 100644 --- a/apps/web/src/components/ui/pagination.tsx +++ b/apps/web/src/components/ui/pagination.tsx @@ -49,7 +49,7 @@ const PaginationLink = ({ aria-current={isActive ? "page" : undefined} className={cn( buttonVariants({ - variant: isActive ? "outline" : "ghost", + variant: isActive ? "outline" : "text", size, }), className diff --git a/apps/web/src/components/ui/sidebar.tsx b/apps/web/src/components/ui/sidebar.tsx index e69d8751..c1583503 100644 --- a/apps/web/src/components/ui/sidebar.tsx +++ b/apps/web/src/components/ui/sidebar.tsx @@ -269,7 +269,7 @@ const SidebarTrigger = React.forwardRef< <Button ref={ref} data-sidebar="trigger" - variant="ghost" + variant="text" size="icon" className={cn("h-8 w-8", className)} onClick={(event) => { |
