Files
shoppy/theme/templates/components/theme-switch.html
T
2024-12-02 12:13:49 +01:00

9 lines
300 B
HTML

<button
onclick="switchTheme()"
id="theme-toggle"
type="button"
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>