21-11-2025
This commit is contained in:
parent
fa2ebd457d
commit
07959c0ba2
113 changed files with 4730 additions and 898 deletions
9
resources/views/partials/theme-init-script.blade.php
Normal file
9
resources/views/partials/theme-init-script.blade.php
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<!-- Theme Initialisierung (vor dem Rendern, um Flackern zu vermeiden) -->
|
||||
<script>
|
||||
if (localStorage.getItem('theme') === 'light') {
|
||||
document.documentElement.classList.remove('dark');
|
||||
} else {
|
||||
document.documentElement.classList.add('dark');
|
||||
}
|
||||
</script>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue