Theme Update

This commit is contained in:
Francesco 2024-04-22 19:49:53 +02:00
parent 21bc7c3a38
commit ae23244df8
3 changed files with 18 additions and 1 deletions

View File

@ -307,4 +307,12 @@ footer a {
.not-found div h1 { .not-found div h1 {
font-size: 6rem; 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> </body>
<script>
function toggleTheme() {
document.body.classList.toggle('light');
document.body.classList.toggle('dark');
}
</script>
</html> </html>

View File

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