theme.js edited online with Bitbucket

This commit is contained in:
Walid Saleh
2023-11-29 21:42:14 +00:00
parent 760bf54281
commit 7e79fb977e

View File

@@ -6,8 +6,7 @@ import { ref, watch } from '@vue/composition-api'
const THEMES = {
dark: 'dark',
light: 'light',
purple: 'purple'
light: 'light'
}
const initialTheme = localStorage.getItem('selectedTheme') || document.documentElement.dataset.theme || THEMES.dark