fix: update theme toggle shortcut position for improved accessibility

This commit is contained in:
2025-07-30 10:54:40 +02:00
parent 040bad7fa0
commit 432743c599

View File

@@ -51,7 +51,7 @@ function toggleDark(event: MouseEvent | { clientX: number, clientY: number }) {
}
defineShortcuts({
t: () => toggleDark({ clientX: window.innerWidth / 2, clientY: window.innerHeight / 2 }),
t: () => toggleDark({ clientX: window.innerWidth, clientY: 0 }),
})
</script>