Theme Update

This commit is contained in:
Francesco 2024-04-22 19:49:53 +02:00
parent 68f1baa172
commit 303266ac28
3 changed files with 18 additions and 1 deletions

View file

@ -308,3 +308,11 @@ footer a {
.not-found div h1 {
font-size: 6rem;
}
.dark-toggle svg path {
fill: var(--background) !important;
}
.dark-toggle svg text {
fill: var(--content) !important;
}

View file

@ -27,5 +27,14 @@
</body>
<script>
function toggleTheme() {
document.body.classList.toggle('light');
document.body.classList.toggle('dark');
}
</script>
</html>

View file

@ -15,6 +15,6 @@
</p>
{{ end }}
{{ end }}
</div>
</div>