From 6e129440b38d535dcdae2b400073a551285d8912 Mon Sep 17 00:00:00 2001 From: Cohan Carpentier Date: Mon, 19 Aug 2024 13:38:37 -0400 Subject: [PATCH] fix: better ring offset --- button.tsx | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/button.tsx b/button.tsx index 0d3cbcc..01a5266 100644 --- a/button.tsx +++ b/button.tsx @@ -5,7 +5,7 @@ import { type ButtonHTMLAttributes, type ReactElement, cloneElement, forwardRef import { cn } from "./cn"; const buttonVariants = cva( - "inline-flex items-center justify-center whitespace-nowrap rounded-md font-bold text-sm transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50", + "inline-flex items-center justify-center whitespace-nowrap rounded-md font-bold text-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-50", { variants: { variant: { diff --git a/package.json b/package.json index 2bf8bc6..f15f8ec 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@risc0/ui", - "version": "0.0.155", + "version": "0.0.156", "private": false, "sideEffects": false, "type": "module",