mirror of
https://github.com/Motschen/midnightdust-eu.git
synced 2025-12-17 19:05:09 +01:00
Smoother dark mode switch
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
import { Icon } from 'astro-icon/components'
|
||||
---
|
||||
<fancy-dark-mode>
|
||||
<button class="darkmode-toggle mr-4 xl:mr-0" aria-expanded="false" aria-label="Toggle dark mode">
|
||||
<button class="darkmode-toggle ml-1.5" aria-expanded="false" aria-label="Toggle dark mode">
|
||||
<div id="animation-icon" class="hidden"/>
|
||||
<Icon is:inline={true} id="light" class="hidden" name="line-md:sunny" width="32" height="32"/>
|
||||
<Icon is:inline={true} id="dark" class="hidden" name="line-md:moon" width="32" height="32" />
|
||||
|
||||
Reference in New Issue
Block a user