Summary Files Commits Branches @commit @diff @stats
path: root / src / scripts / theme-changer-preload.js
blob: bb53b6c9a39aff664198d551f4df49755ec3cbc5 (plain) (blame)
1
2
3
4
const darkThemeStyle = document.styleSheets[1];

if (localStorage.getItem('theme') === 'light')
	darkThemeStyle.disabled = true;