From d857ecb30ab383a5833b1e9cc1f4a58507359244 Mon Sep 17 00:00:00 2001 From: SindreKjelsrud Date: Tue, 22 Aug 2023 16:09:29 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=F0=9F=92=84=20WIP:=20darkmode/ligh?= =?UTF-8?q?tmode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Header.astro | 2 + src/components/ThemeIcon.astro | 53 ++++++++++++++++++++++++ src/styles/global.css | 75 ++++++++++++---------------------- 3 files changed, 82 insertions(+), 48 deletions(-) create mode 100644 src/components/ThemeIcon.astro diff --git a/src/components/Header.astro b/src/components/Header.astro index afaaa5d..5fe46a1 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -1,6 +1,7 @@ --- import HeaderLink from './HeaderLink.astro'; import { SITE_TITLE } from '../consts'; +import ThemeIcon from './ThemeIcon.astro'; ---
@@ -8,6 +9,7 @@ import { SITE_TITLE } from '../consts'; {SITE_TITLE} +