<template>
  <n-config-provider :theme-overrides="theme">
    <n-message-provider>
      <n-dialog-provider>
        <nuxt-layout>
          <nuxt-loading-indicator />
          <nuxt-page />
        </nuxt-layout>
      </n-dialog-provider>
    </n-message-provider>
  </n-config-provider>
</template>

<script setup lang="ts">
import { NConfigProvider, NMessageProvider, NDialogProvider } from "naive-ui";
import "@/assets/css/index.css";

const theme = {
  "common": {
    "primaryColor": "#e7bf72",
    "primaryColorHover": "#f1ca7a",
    "primaryColorPressed": "#d6b26b",
    "primaryColorSuppl": "#c49e55"
  }
};
</script>
