<template>
  <el-tooltip effect="dark" content="主题设置" placement="bottom" :show-after="200">
    <div class="theme-setting toolbar-icon-container default-btn" @click="openDrawer">
      <i :class="'iconfont iconpalette'" class="toolBar-icon"></i>
    </div>
  </el-tooltip>
</template>

<script setup lang="ts">
import mittBus from "@/utils/mittBus";
import { MittEnum } from "@/enums/mittEnum";
const openDrawer = () => {
  mittBus.emit(MittEnum.ThemeDrawer);
};
</script>
