Theme Update
This commit is contained in:
parent
21bc7c3a38
commit
ae23244df8
@ -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;
|
||||
}
|
@ -27,5 +27,14 @@
|
||||
|
||||
</body>
|
||||
|
||||
<script>
|
||||
|
||||
function toggleTheme() {
|
||||
document.body.classList.toggle('light');
|
||||
document.body.classList.toggle('dark');
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
</html>
|
@ -15,6 +15,6 @@
|
||||
</p>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user