diff --git a/arches_lingo/src/arches_lingo/components/header/DarkModeToggle.vue b/arches_lingo/src/arches_lingo/components/header/DarkModeToggle.vue index 3fa1d3f1..b4bf391e 100644 --- a/arches_lingo/src/arches_lingo/components/header/DarkModeToggle.vue +++ b/arches_lingo/src/arches_lingo/components/header/DarkModeToggle.vue @@ -16,6 +16,7 @@ const isDarkModeEnabled = ref( function toggleDarkMode() { document.documentElement.classList.toggle(darkModeClass); isDarkModeEnabled.value = !isDarkModeEnabled.value; + localStorage.setItem(darkModeClass, isDarkModeEnabled.value.toString()); }