forked from ProjectSegfault/website
fix #82
This commit is contained in:
parent
028b4293ab
commit
7cdf51f81f
@ -48,7 +48,6 @@
|
|||||||
</a>
|
</a>
|
||||||
<div class="theme-toggle icon">
|
<div class="theme-toggle icon">
|
||||||
<ThemeToggle />
|
<ThemeToggle />
|
||||||
<span>Toggle theme</span>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
@ -15,4 +15,7 @@
|
|||||||
|
|
||||||
<DarkMode bind:theme />
|
<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>
|
Loading…
Reference in New Issue
Block a user