<script setup lang="ts">
import zhCN from 'ant-design-vue/es/locale/zh_CN'

import ImageUploadProgressOverlay from '@/components/ImageUploadProgressOverlay.vue'
</script>

<template>
  <a-config-provider
    :locale="zhCN"
    :theme="{
      token: {
        colorPrimary: '#1677ff',
        borderRadius: 6,
        colorBgLayout: '#f0f2f5',
        zIndexPopupBase: 3000,
      },
    }"
  >
    <a-app class="app-root">
      <router-view />
      <ImageUploadProgressOverlay />
    </a-app>
  </a-config-provider>
</template>
