From b17bf7d5b404ae13f843ce605468d1ea6706dccb Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Sun, 6 Apr 2025 23:11:09 +0100 Subject: fix(web): Get rid of focus rings for ghost buttons --- apps/web/components/ui/button.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/web/components/ui/button.tsx') 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", }, -- cgit v1.2.3-70-g09d2