diff --git a/Frontend/src/App.vue b/Frontend/src/App.vue index 20e6f45..cfc3744 100644 --- a/Frontend/src/App.vue +++ b/Frontend/src/App.vue @@ -4,16 +4,17 @@ import SidebarComponent from '@components/sidebar/SidebarComponent.vue'; import {onMounted, provide, ref } from 'vue'; -onMounted( ()=> { switch( localStorage.theme ) { +onMounted( ()=> { + switch( localStorage.theme ) { case "dark":{ document.documentElement.classList.add('dark'); break; } case "light":{ document.documentElement.classList.remove('dark'); - } - } theme.value = localStorage.theme; } - ) + }} + theme.value = localStorage.theme; +}) const theme = ref( getTheme() ); provide('theme', theme ); diff --git a/Frontend/src/assets/dark_theme.svg b/Frontend/src/assets/dark_theme.svg deleted file mode 100644 index 7b86718..0000000 --- a/Frontend/src/assets/dark_theme.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/Frontend/src/assets/light_theme.svg b/Frontend/src/assets/light_theme.svg deleted file mode 100644 index 9a7b306..0000000 --- a/Frontend/src/assets/light_theme.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file