Files
shoppy/theme/templates/components/theme-switch.html
T
2025-01-27 17:52:01 +01:00

10 lines
340 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-4 cursor-pointer">
{% include 'components/icons/moon.svg' %}
{% include 'components/icons/sun.svg' %}
</button>