-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.vue
51 lines (50 loc) · 1.02 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
50
51
<template>
<naive-config :theme-config="themeConfig">
<n-message-provider>
<n-layout>
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
</n-layout>
</n-message-provider>
</naive-config>
</template>
<script setup lang="ts">
import type { ThemeConfig } from '@bg-dev/nuxt-naiveui/dist/runtime/types';
const themeConfig: ThemeConfig = {
shared: {
common: {
primaryColor: '#fe086e',
primaryColorHover: '#fe0854',
primaryColorPressed: '#fe086e',
infoColor: '#43e2f2',
fontFamily: 'monospace',
},
Button: {
fontSizeLarge: '1.25rem',
},
},
dark: {
common: {
cardColor: 'rgb(17, 24, 48)',
bodyColor: 'rgb(17, 24, 39)',
},
Layout: {
textColor: '#ffffff',
},
Button: {
textColorText: '#ffffff',
textColorTextHover: '#fe086e',
},
},
light: {
Layout: {
textColor: '#000000',
},
Button: {
textColorText: '#000000',
textColorTextHover: '#fe086e',
},
},
};
</script>