From d01c7968972cf0fefa0dac7d45228eda8c093fd0 Mon Sep 17 00:00:00 2001 From: p-sw Date: Sat, 18 May 2024 21:26:23 +0900 Subject: [PATCH] feat: add button variants --- packages/react/components/Button.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/react/components/Button.tsx b/packages/react/components/Button.tsx index 62cd9eb..3ba739e 100644 --- a/packages/react/components/Button.tsx +++ b/packages/react/components/Button.tsx @@ -8,7 +8,10 @@ const variants = vcn({ default: "bg-white border border-gray-300 dark:bg-black dark:border-gray-700 hover:bg-gray-100 dark:hover:bg-gray-900 transition-colors", ghost: - "bg-black/0 hover:bg-black/20 dark:bg-white/0 dark:hover:bg-white/10 transition-colors", + "bg-black/0 hover:bg-black/10 dark:bg-white/0 dark:hover:bg-white/20 transition-colors", + outline: + "bg-transparent border border-gray-300 dark:border-gray-700 hover:bg-gray-100 dark:hover:bg-gray-900 transition-colors", + link: "bg-transparent hover:underline transition-colors", }, size: { sm: "px-2 py-1 text-sm",