From d63de8b1f783571eec00b37f2d9280c2c05093a2 Mon Sep 17 00:00:00 2001 From: spwoodcock Date: Wed, 13 Mar 2024 16:03:41 +0000 Subject: [PATCH] fix: update consistent css for button primary/secondary --- src/button/Button.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/button/Button.ts b/src/button/Button.ts index f332a06..e66b612 100644 --- a/src/button/Button.ts +++ b/src/button/Button.ts @@ -8,9 +8,11 @@ const buttonStyle = cva( { variants: { intent: { - primary: "bg-primary text-white", - secondary: - "bg-white border-2 border-primary text-primary! hover:bg-lightGray focus:bg-transparent focus:border-white", + primary: "bg-primary border-2 border-primary text-white", + secondary: ` + bg-white border-2 border-primary text-primary! hover:bg-lightGray + focus:bg-transparent focus:border-primary + ` }, disabled: { true: "opacity-50 cursor-not-allowed",