5 lines
176 B
JavaScript
5 lines
176 B
JavaScript
try {
|
|
const theme = localStorage.getItem('dsh-platform:console-theme')
|
|
if (theme === 'light' || theme === 'dark') document.documentElement.dataset.theme = theme
|
|
} catch {}
|