aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2025-04-06 23:11:09 +0100
committerMohamedBassem <me@mbassem.com>2025-04-06 23:11:09 +0100
commitb17bf7d5b404ae13f843ce605468d1ea6706dccb (patch)
treece2e0b3de5ccfc79c3e398ba792e2a805bcebf91 /apps/web/components
parent3f2d3560dc04dbee23237d896c1325389035c738 (diff)
downloadkarakeep-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.tsx3
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",
},