Astro component for PicoCss V2 DarkMode Switcher
Astro: https://docs.astro.build/ Pico V2: https://v2.picocss.com/
Inspired by: https://github.com/RWDevelopment/theme_switch
Pico V2 must be used in your CSS.
Usage:
---
import ThemeSwitcher from "./ThemeSwitcher.astro";
---
...
<li>
<ThemeSwitcher />
</li>