fix some more issues

This commit is contained in:
Samidy 2025-10-02 12:39:35 +03:00
parent a8e3bd15e3
commit fce29fee51
2 changed files with 17 additions and 0 deletions

View file

@ -84,6 +84,11 @@ const updateThemeColor = (colorName: ColorNames) => {
// Initialize theme color
updateThemeColor(selectedColor.value)
// halloween stuff
if (selectedColor.value === 'halloween') {
document.documentElement.setAttribute('data-halloween-theme', 'true')
}
watch(selectedColor, updateThemeColor)
const normalizeColorName = (colorName: string) =>