<script setup lang="ts">
import { darkTheme, NConfigProvider, NMessageProvider } from 'naive-ui'

// 可以根据需要配置主题
const themeOverrides = {
  common: {
    primaryColor: '#18a058',
  },
}
</script>

<template>
  <NConfigProvider :theme-overrides="themeOverrides">
    <NMessageProvider>
      <slot />
    </NMessageProvider>
  </NConfigProvider>
</template>
