This commit is contained in:
xingyu4j
2025-05-06 10:02:03 +08:00
57 changed files with 1648 additions and 943 deletions

View File

@@ -25,7 +25,7 @@ withDefaults(defineProps<{ shouldOnHover?: boolean }>(), {
shouldOnHover: false,
});
function handleChange(isDark: boolean) {
function handleChange(isDark: boolean | undefined) {
updatePreferences({
theme: { mode: isDark ? 'dark' : 'light' },
});