-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.vue
executable file
·49 lines (33 loc) · 1.03 KB
/
app.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<template>
<div class="u-overflow-y-hidden u-max-h-screen">
<NuxtLayout >
<n-config-provider :theme-overrides="themeOverrides">
<n-message-provider>
<n-notification-provider>
<n-loading-bar-provider>
<n-dialog-provider>
<NuxtPage />
</n-dialog-provider>
</n-loading-bar-provider>
</n-notification-provider>
</n-message-provider>
</n-config-provider>
</NuxtLayout>
</div>
</template>
<script setup>
import {NNotificationProvider,NConfigProvider,NMessageProvider,NLoadingBarProvider,NDialogProvider} from 'naive-ui'
const themeOverrides = {
common: {
primaryColor: "#0E1C15FF",
primaryColorHover: "#9BABA2FF",
primaryColorPressed:"#9BABA2FF"
},
Button: {
textColorPrimary: "#FFFFFFFF",
textColorHoverPrimary: "#140808FF",
textColorPressedPrimary:"#140808FF",
textColorFocusPrimary:"#140808FF"
}
}
</script>