<template>
  <n-config-provider :date-locale="dateZhCN" :locale="zhCN" :theme-overrides="themeOverrides">
    <n-dialog-provider>
      <n-message-provider>
        <router-view></router-view>
      </n-message-provider>
    </n-dialog-provider>
  </n-config-provider>
</template>

<script setup lang='ts'>
import { type GlobalThemeOverrides, dateZhCN, zhCN } from "naive-ui";
const themeOverrides: GlobalThemeOverrides = {
  // 待配置主题色
  common: {
    primaryColor: "#9CC9E5",
    primaryColorHover: "#c0dff1",
    primaryColorPressed: "#74a6c3",
    primaryColorSuppl: "#CAE5D3",
  }
};
</script>
<style scoped lang='scss'></style>
