From 107f2f07474bfed0591af84ba981d022ab172117 Mon Sep 17 00:00:00 2001 From: Stefan Imhoff Date: Thu, 23 Feb 2023 20:22:22 +0100 Subject: [PATCH] feat(astro): add theme toggle --- src/components/ThemeToggle.astro | 49 ++++++++++++++++++++++++++++++++ src/icons/circle.svg | 2 +- 2 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 src/components/ThemeToggle.astro diff --git a/src/components/ThemeToggle.astro b/src/components/ThemeToggle.astro new file mode 100644 index 0000000..b8a97b7 --- /dev/null +++ b/src/components/ThemeToggle.astro @@ -0,0 +1,49 @@ +--- +import { Sprite } from 'astro-icon'; +--- + + + + + + + + diff --git a/src/icons/circle.svg b/src/icons/circle.svg index 03510b2..8b7a384 100644 --- a/src/icons/circle.svg +++ b/src/icons/circle.svg @@ -1 +1 @@ - \ No newline at end of file +