<template>
  <div v-bind="$attrs">
    <div>
      <el-tooltip content="主题色修改" placement="bottom" effect="light">
        <span @click="handleSetTheme()">
          <SvgIcon icon="change-theme"></SvgIcon>
        </span>
      </el-tooltip>
    </div>

    <div>
      <SelectColor v-model="selectColorVisible"></SelectColor>
    </div>
  </div>
</template>

<script setup>
import { ref } from 'vue'
import SvgIcon from '../SvgIcon/index.vue';
import SelectColor from './components/SelectColor.vue'

//dialog 1
const selectColorVisible = ref(false);
const handleSetTheme = command => {
  selectColorVisible.value = true;
};
</script>

<style lang="scss" scoped>
</style>
