From 3f11a2d6b3a7b5f0cb6cc1a09f1b9ef0773912f6 Mon Sep 17 00:00:00 2001 From: Shintaro Jokagi Date: Sun, 16 Mar 2025 18:17:40 +1300 Subject: [PATCH] chore(bg): replace the bg for buttons with a subtle background color --- src/components/Button.astro | 2 +- src/components/Features.astro | 10 +++++----- src/layouts/Layout.astro | 2 ++ tailwind.config.mjs | 1 + 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/src/components/Button.astro b/src/components/Button.astro index 6798d34..8f109ee 100644 --- a/src/components/Button.astro +++ b/src/components/Button.astro @@ -24,7 +24,7 @@ const { : isAlert ? 'bg-red-300 text-dark' : !isBordered - ? 'bg-[rgba(0,0,0,.05)]' + ? 'bg-subtle' : '!transition-bg border-2 border-dark hover:bg-dark hover:text-paper hover:shadow-sm', ]} > diff --git a/src/components/Features.astro b/src/components/Features.astro index b092569..7eb656c 100644 --- a/src/components/Features.astro +++ b/src/components/Features.astro @@ -235,20 +235,20 @@ const {