diff --git a/src/components/Header.astro b/src/components/Header.astro index d7e2f4e..a5da95a 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -1,9 +1,11 @@ --- import Hamburger from "./Hamburger.astro"; import Navigation from "./Navigation.astro"; +import ThemeIcon from "./ThemeIcon.astro"; ---
+
diff --git a/src/components/ThemeIcon.astro b/src/components/ThemeIcon.astro new file mode 100644 index 0000000..99d660e --- /dev/null +++ b/src/components/ThemeIcon.astro @@ -0,0 +1,66 @@ + + + + + diff --git a/src/styles/global.css b/src/styles/global.css index db67bd9..4cdba9b 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -80,3 +80,12 @@ h1 { display: none; } } + +html.dark { + background-color: #0d0950; + color: #fff; +} + +.dark .nav-links a { + color: #fff; +}