feat: implement theme persistence and selection in header component, enhancing user experience with localStorage integration

This commit is contained in:
2025-12-15 09:01:56 -03:00
parent 4faf279c3e
commit c272ca05e8
3 changed files with 87 additions and 3 deletions

View File

@@ -40,9 +40,6 @@
if (result.error) {
console.error('Sign out error:', result.error);
}
// Resetar tema para padrão ao fazer logout
const { aplicarTemaPadrao } = await import('$lib/utils/temas');
aplicarTemaPadrao();
goto(resolve('/home'));
}
</script>