mirror of
https://github.com/fmhy/edit.git
synced 2025-10-13 08:11:07 +11:00
fix some more issues
This commit is contained in:
parent
a8e3bd15e3
commit
fce29fee51
2 changed files with 17 additions and 0 deletions
|
@ -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) =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue