V13-FE-005: Complete KBX v60 frontend components, T01-T12 screen recipes, and WBS progress tracker
This commit is contained in:
@@ -34,7 +34,7 @@ export const useLayoutStore = defineStore('layout', () => {
|
||||
// Theme
|
||||
const isDarkMode = ref(
|
||||
localStorage.getItem('theme') === 'dark' ||
|
||||
window.matchMedia('(prefers-color-scheme: dark)').matches
|
||||
(typeof window !== 'undefined' && typeof window.matchMedia === 'function' && window.matchMedia('(prefers-color-scheme: dark)').matches)
|
||||
)
|
||||
|
||||
// Save sidebar state
|
||||
|
||||
Reference in New Issue
Block a user