first commit

This commit is contained in:
yann
2025-11-03 18:11:56 +01:00
commit fa2387cb10
350 changed files with 17971 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
/**
* Add listener for theme mode toggle
*/
const $toggle = document.getElementById('mode-toggle');
export function modeWatcher() {
if (!$toggle) {
return;
}
$toggle.addEventListener('click', () => {
Theme.flip();
});
}