From 4f08b122e6785338664bdd8de3464091f870290f Mon Sep 17 00:00:00 2001 From: june Date: Wed, 13 Aug 2025 11:11:31 +1200 Subject: [PATCH] dark theme + format changes --- src/components/Card/OverviewCard.astro | 8 ++++---- src/components/Header.astro | 11 ++++++----- src/layouts/base.astro | 2 +- src/pages/index.astro | 2 +- src/styles/global.css | 5 +++-- 5 files changed, 15 insertions(+), 13 deletions(-) diff --git a/src/components/Card/OverviewCard.astro b/src/components/Card/OverviewCard.astro index 4f6cb94..23618ee 100644 --- a/src/components/Card/OverviewCard.astro +++ b/src/components/Card/OverviewCard.astro @@ -8,15 +8,15 @@ const headerImage = await client.collection("images").getOne(recipe.images[0]) const image = await client.files.getURL(headerImage, headerImage.image) --- -
+
-
-

{recipe.name}

-

{recipe.description}

+
+

{recipe.name}

+
diff --git a/src/components/Header.astro b/src/components/Header.astro index 2bb3951..86374dc 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -1,13 +1,14 @@ -
+
-

Recipie

+

Recipie

🥧
-
- +
+ new + tags + search
\ No newline at end of file diff --git a/src/layouts/base.astro b/src/layouts/base.astro index e1de4e5..f738f0a 100644 --- a/src/layouts/base.astro +++ b/src/layouts/base.astro @@ -10,7 +10,7 @@ import Header from "@/components/Header";
-
+
diff --git a/src/pages/index.astro b/src/pages/index.astro index 5492b5f..1ad33ec 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -9,7 +9,7 @@ const recipies = await client.collection("recipes").getFullList() -
+
{ recipies.map(r => ( diff --git a/src/styles/global.css b/src/styles/global.css index bebe217..281ef03 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -1,7 +1,8 @@ @import "tailwindcss"; html { - /* @apply bg-[#1d1f21]; */ - @apply bg-[#fafafa]; + @apply bg-[#1d1f21]; + /* @apply bg-[#fafafa]; */ + @apply text-white; @apply font-stretch-condensed; } \ No newline at end of file