Added theme change button

This commit is contained in:
Kristofers Solo
2023-01-20 05:44:09 +02:00
parent 4169bacbbe
commit d3e465fdc7
2 changed files with 24 additions and 7 deletions

View File

@@ -47,7 +47,11 @@
<a href="{% url 'projects' %}" class="bold">Projects</a>
<button id="color-mode-toggle"
class="color-mode-toggle"
aria-label="toggle dark mode "></button>
aria-label="toggle dark mode ">
<svg width="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 496">
<path fill="currentColor" d="M8,256C8,393,119,504,256,504S504,393,504,256,393,8,256,8,8,119,8,256ZM256,440V72a184,184,0,0,1,0,368Z" transform="translate(-8 -8)"/>
</svg>
</button>
</div>
</nav>
</header>