From 9ea6288ccce4bf76adb02837ac4bfb46a8e08794 Mon Sep 17 00:00:00 2001 From: W Beecher Baker Date: Wed, 2 Oct 2024 13:56:28 -0400 Subject: [PATCH] force light mode --- src/components/SwitchTheme.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/SwitchTheme.vue b/src/components/SwitchTheme.vue index e3e9c3f..5e1cb50 100644 --- a/src/components/SwitchTheme.vue +++ b/src/components/SwitchTheme.vue @@ -46,7 +46,7 @@ import { watch, ref } from 'vue' const themeModes = { - dark: 'dark', + dark: 'light', // Purdue Cascade expects only light mode light: 'light' } const themeMode = ref(null) @@ -57,7 +57,7 @@ if (window !== undefined) { (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches) ) { - themeMode.value = 'dark' + themeMode.value = 'light' // Purdue Cascade expects only light mode } else { themeMode.value = 'light' }