From a246329572f1fe335f9c94f11dbb8d6c1f33f8c7 Mon Sep 17 00:00:00 2001 From: JasKang Date: Sat, 15 Jul 2023 02:14:08 +0800 Subject: [PATCH] fix: dark ring offset color --- src/components/Button/style.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Button/style.ts b/src/components/Button/style.ts index 0389feca..1fbbf40c 100644 --- a/src/components/Button/style.ts +++ b/src/components/Button/style.ts @@ -56,7 +56,8 @@ const createClass = tv({ false: '', }, disabled: { - false: 'cursor-pointer focus:ring-2 focus:ring-[--t-button-ring] focus:ring-offset-2', + false: + 'cursor-pointer focus:ring-2 focus:ring-[--t-button-ring] focus:ring-offset-2 dark:focus:ring-offset-gray-900', true: 'cursor-not-allowed opacity-50 hover:-underline hover:text-[--t-button-text] hover:bg-[--t-button-bg] hover:border-[--t-button-border]', }, },