1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| <script setup lang="ts">
| import { useAppStore } from '@/store/modules/app';
| import { $t } from '@/locales';
|
| defineOptions({
| name: 'ThemeButton'
| });
|
| const appStore = useAppStore();
| </script>
|
| <template>
| <ButtonIcon
| icon="majesticons:color-swatch-line"
| :tooltip-content="$t('icon.themeConfig')"
| @click="appStore.openThemeDrawer"
| />
| </template>
|
| <style scoped></style>
|
|