From b97d7b03da29a3ce823fb4f037a4314f4e16f710 Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Sun, 24 Aug 2025 23:52:49 +0200 Subject: [PATCH] make dark mode work --- src/components/StepList.astro | 9 +++++---- src/components/StepListReceive.astro | 3 ++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/components/StepList.astro b/src/components/StepList.astro index 033eb8d..9d7a3f7 100644 --- a/src/components/StepList.astro +++ b/src/components/StepList.astro @@ -11,7 +11,7 @@ const { steps, currentStep, title } = Astro.props as { ---
-

{title}

+
{title}
    { steps.map((step, i) => ( @@ -35,9 +35,10 @@ const { steps, currentStep, title } = Astro.props as { max-width: 400px; /* optional, keeps it compact */ } - .step-box h2 { - font-size: 1em; - padding-bottom: 1em; + .step-box .step-title { + font-size: 1.2em; + padding-bottom: 0.6em; + font-weight: 500; } .steps { diff --git a/src/components/StepListReceive.astro b/src/components/StepListReceive.astro index 9169c19..d26b677 100644 --- a/src/components/StepListReceive.astro +++ b/src/components/StepListReceive.astro @@ -1,7 +1,7 @@ --- import StepList from "./StepList.astro"; -const { currentStep, title } = Astro.props; +const { currentStep } = Astro.props; ---