diff options
| author | MohamedBassem <me@mbassem.com> | 2025-04-06 23:11:09 +0100 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2025-04-06 23:11:09 +0100 |
| commit | b17bf7d5b404ae13f843ce605468d1ea6706dccb (patch) | |
| tree | ce2e0b3de5ccfc79c3e398ba792e2a805bcebf91 /apps/web/components | |
| parent | 3f2d3560dc04dbee23237d896c1325389035c738 (diff) | |
| download | karakeep-b17bf7d5b404ae13f843ce605468d1ea6706dccb.tar.zst | |
fix(web): Get rid of focus rings for ghost buttons
Diffstat (limited to 'apps/web/components')
| -rw-r--r-- | apps/web/components/ui/button.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/web/components/ui/button.tsx b/apps/web/components/ui/button.tsx index 6caff414..6857d80d 100644 --- a/apps/web/components/ui/button.tsx +++ b/apps/web/components/ui/button.tsx @@ -26,7 +26,8 @@ const buttonVariants = cva( "border border-input bg-background hover:bg-accent hover:text-accent-foreground", secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80", - ghost: "hover:bg-accent hover:text-accent-foreground", + ghost: + "hover:bg-accent hover:text-accent-foreground focus-visible:ring-0 focus-visible:ring-offset-0", border: "border border-input hover:bg-accent", link: "text-primary underline-offset-4 hover:underline", }, |
