This commit is contained in:
Akis 2022-09-25 12:50:05 +03:00
parent 028b4293ab
commit 7cdf51f81f
Signed by untrusted user: akis
GPG Key ID: 267BF5C6677944ED
2 changed files with 4 additions and 2 deletions

View File

@ -48,7 +48,6 @@
</a>
<div class="theme-toggle icon">
<ThemeToggle />
<span>Toggle theme</span>
</div>
</div>
</nav>

View File

@ -15,4 +15,7 @@
<DarkMode bind:theme />
<div on:click={toggle} class="i-fa6-solid:{theme === "dark" ? "sun" : "moon"} cursor-pointer flex items-center" />
<div on:click={toggle} class="cursor-pointer flex items-center">
<div class="i-fa6-solid:{theme === "dark" ? "sun" : "moon"}" />
<span class="ml-1 sm:hidden">Toggle theme</span>
</div>