2024-06-22 10:54:02 +08:00
|
|
|
<script lang="ts" setup>
|
2024-07-23 17:34:23 +08:00
|
|
|
import { darkTheme } from 'naive-ui'
|
2024-06-22 10:54:02 +08:00
|
|
|
</script>
|
|
|
|
<template>
|
|
|
|
<div>
|
|
|
|
<NuxtPwaManifest />
|
2024-07-22 18:41:15 +08:00
|
|
|
<n-loading-bar-provider>
|
2024-07-23 17:34:23 +08:00
|
|
|
<n-config-provider :theme="$colorMode.value === 'dark' ? darkTheme : null">
|
2024-06-22 10:54:02 +08:00
|
|
|
<NuxtLayout>
|
|
|
|
<NuxtPage />
|
|
|
|
</NuxtLayout>
|
2024-07-23 17:34:23 +08:00
|
|
|
</n-config-provider>
|
2024-07-22 18:41:15 +08:00
|
|
|
</n-loading-bar-provider>
|
2024-06-22 10:54:02 +08:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
@import "base";
|
|
|
|
|
|
|
|
:root {
|
|
|
|
--primary-color: $primary-color
|
|
|
|
}
|
2024-06-29 18:16:29 +08:00
|
|
|
|
2024-06-22 10:54:02 +08:00
|
|
|
</style>
|