From fad531667e42d3c153435760c32604fc77c6f0a3 Mon Sep 17 00:00:00 2001 From: sasha-astiadi Date: Wed, 22 Oct 2025 13:09:56 +0200 Subject: [PATCH] fix: update button outline style to use rem units and add font weight --- src/components/Button.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Button.tsx b/src/components/Button.tsx index 3816246..5511fe0 100644 --- a/src/components/Button.tsx +++ b/src/components/Button.tsx @@ -5,7 +5,7 @@ const baseStyles = { solid: 'inline-flex justify-center rounded-lg py-2 px-3 text-sm font-semibold transition-colors', outline: - 'inline-flex justify-center rounded-lg border py-[calc(--spacing(2)-1px)] px-[calc(--spacing(3)-1px)] text-sm transition-colors', + 'inline-flex justify-center rounded-lg border py-[calc(0.5rem-1px)] px-[calc(0.75rem-1px)] text-sm font-semibold transition-colors', } const variantStyles = { @@ -17,7 +17,7 @@ const variantStyles = { green: 'bg-green-500 text-white hover:bg-green-600', }, outline: { - gray: 'border-gray-300 text-gray-700 hover:border-cyan-500 active:border-cyan-500', + gray: 'border-gray-300 text-gray-600 hover:border-cyan-500 active:border-cyan-500', white: 'border-gray-300 text-white hover:border-cyan-500 active:border-cyan-500', }, }