lassList.add('theme-' + localStorage.theme);
				}
			}
			if (localStorage.darkMode === 'dark') {
				if (document && document.documentElement) {
					document.documentElement.classList.add('dark');
				}
			} else if (localStorage.darkMode === 'light') {
				if (document && document.documentElement) {
					document.documentElement.classList.remove('dark');
					localStorage.setItem('darkMode', 'light');
				}
			} else if (window.matchMedia('(prefers-color-scheme: dark)').matches) {
				localStorage.setIt