Skip to content

Commit

Permalink
section to div
Browse files Browse the repository at this point in the history
  • Loading branch information
semanticdata committed Oct 16, 2024
1 parent a3ba4ad commit 35bf190
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/partials/darkmode.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<section class="darkmode">
<div class="darkmode">
<input class="toggle" id="darkmode-toggle" type="checkbox" tabindex="-1" />
<label id="toggle-label-light" for="darkmode-toggle" tabindex="-1">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="dayIcon"
Expand All @@ -16,7 +16,7 @@
d="M96.76,66.458c-0.853-0.852-2.15-1.064-3.23-0.534c-6.063,2.991-12.858,4.571-19.655,4.571 C62.022,70.495,50.88,65.88,42.5,57.5C29.043,44.043,25.658,23.536,34.076,6.47c0.532-1.08,0.318-2.379-0.534-3.23 c-0.851-0.852-2.15-1.064-3.23-0.534c-4.918,2.427-9.375,5.619-13.246,9.491c-9.447,9.447-14.65,22.008-14.65,35.369 c0,13.36,5.203,25.921,14.65,35.368s22.008,14.65,35.368,14.65c13.361,0,25.921-5.203,35.369-14.65 c3.872-3.871,7.064-8.328,9.491-13.246C97.826,68.608,97.611,67.309,96.76,66.458z" />
</svg>
</label>
</section>
</div>

<script>
const userPref = window.matchMedia("(prefers-color-scheme: light)").matches
Expand Down

0 comments on commit 35bf190

Please sign in to comment.