From d3449609da17387f8caebd677162b5e619ae6ec0 Mon Sep 17 00:00:00 2001 From: Emma Date: Sat, 24 Apr 2021 22:52:49 -0400 Subject: [PATCH] Add 'Switch to Dark/Light Mode' to header & footer (Fixes #174) (#177) * Add 'Switch to Dark/Light Mode' to footer (Fixes #174) * Cursed mess * Adds mobile header dark/light mode toggle I do not like CSS. Mobile works fine, desktop does not * Remove unused div & other things I don't remember * Fixes dark/light mode toggles on desktop Also simplifies css for footer slightly. Sometimes a good night's sleep really does do ya good. https://cdn.discordapp.com/attachments/745980892735864953/835256687803367464/modrinth-2021-04-23_16.50.59.webm * that was a mistake for the login button but it actually works well --- components/layout/MFooter.vue | 15 +++++++++++++++ layouts/default.vue | 24 ++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/components/layout/MFooter.vue b/components/layout/MFooter.vue index cd0f94ea..7f466f0e 100644 --- a/components/layout/MFooter.vue +++ b/components/layout/MFooter.vue @@ -4,6 +4,14 @@ Modrinth is open source software. You may view the source code at our GitHub page. +