From 039c52a8b7ea7772a0b17301acbc6ea8ee0fee75 Mon Sep 17 00:00:00 2001 From: Spythere Date: Fri, 23 Jan 2026 17:40:33 +0100 Subject: [PATCH] chore: updating color scheme with dark mode --- src/App.vue | 1 + src/components/App/Navbar.vue | 17 ++++++++++++++--- src/styles/_global.scss | 17 ++--------------- src/views/Home.vue | 1 + 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/App.vue b/src/App.vue index 410210e..99c0105 100644 --- a/src/App.vue +++ b/src/App.vue @@ -65,6 +65,7 @@ export default defineComponent({ } this.store.orderDarkMode = this.getOrderSetting('dark-mode') === 'true'; + document.documentElement.setAttribute('data-theme', this.store.orderDarkMode ? 'dark' : 'light'); }, handleQueries() { diff --git a/src/components/App/Navbar.vue b/src/components/App/Navbar.vue index b6d8219..2433ac2 100644 --- a/src/components/App/Navbar.vue +++ b/src/components/App/Navbar.vue @@ -2,9 +2,14 @@