Skip to content

Commit

Permalink
force light mode
Browse files Browse the repository at this point in the history
  • Loading branch information
wbbaker committed Oct 2, 2024
1 parent 60a523a commit 9ea6288
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/SwitchTheme.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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'
}
Expand Down

0 comments on commit 9ea6288

Please sign in to comment.