Files
shoppy/theme/templates/components/theme-switch.html
T
2025-01-18 02:19:19 +01:00

10 lines
327 B
HTML

<button
onclick="switchTheme()"
id="theme-toggle"
type="button"
aria-label="switchtheme"
class="text-gray-500 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-700 focus:outline-none rounded-lg text-sm p-2.5">
{% include 'components/icons/moon.svg' %}
{% include 'components/icons/sun.svg' %}
</button>