<template>
  <UButton variant="ghost" size="sm" @click="themeStorage.setTheme()">
    <span class="hidden sm:inline">
      <UIcon class="size-5" :name="themeStorage.themeIcon" />
    </span>
  </UButton>
</template>

<script setup lang="ts">
import { useThemeStore } from '@/stores/theme'
const themeStorage = useThemeStore()
</script>
