From 6db9917e7d2ffaa1a9e08c326c0ac8736332823c Mon Sep 17 00:00:00 2001 From: LynithDev <61880709+LynithDev@users.noreply.github.com> Date: Tue, 26 Dec 2023 17:16:04 +0100 Subject: Slider tweaks --- apps/website/src/components/base/Button.astro | 1 + apps/website/src/components/base/Card.astro | 8 ++-- apps/website/src/components/base/Slider.astro | 2 +- apps/website/src/pages/projects/oneconfig.astro | 54 ++++++++++++++----------- 4 files changed, 37 insertions(+), 28 deletions(-) diff --git a/apps/website/src/components/base/Button.astro b/apps/website/src/components/base/Button.astro index 285052a..fef01f6 100644 --- a/apps/website/src/components/base/Button.astro +++ b/apps/website/src/components/base/Button.astro @@ -7,6 +7,7 @@ const styles = { // TODO: adjust active / disabled colors primary: 'bg-blue-500 text-white hover:bg-blue-400 active:bg-blue-600 disabled:bg-blue-800 disabled:text-white-1/4', secondary: 'bg-blue-20 text-blue-60 border-[1px] border-blue-30 hover:bg-blue-200 active:bg-blue-300 disabled:bg-blue-50 disabled:text-blue-200', + ghost: 'bg-transparent text-blue-500 hover:bg-blue-20 active:bg-blue-30 disabled:bg-transparent disabled:text-blue-200', }; const sizes = { diff --git a/apps/website/src/components/base/Card.astro b/apps/website/src/components/base/Card.astro index 7cc51b2..9b75f16 100644 --- a/apps/website/src/components/base/Card.astro +++ b/apps/website/src/components/base/Card.astro @@ -16,7 +16,7 @@ const { --- -
{text}
-{text}
+