-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalaxy.config.ts
120 lines (116 loc) · 3.08 KB
/
valaxy.config.ts
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
import type { UserThemeConfig } from 'valaxy-theme-yun'
import { defineValaxyConfig } from 'valaxy'
import { addonLive2d } from 'valaxy-addon-live2d'
import { addonWaline } from 'valaxy-addon-waline'
import { addonComponents } from 'valaxy-addon-components'
import { addonMeting } from 'valaxy-addon-meting'
// add icons what you will need
const safelist = [
'i-ri-home-line',
]
/**
* User Config
*/
export default defineValaxyConfig<UserThemeConfig>({
// site config see site.config.ts
theme: 'yun',
themeConfig: {
banner: {
enable: true,
title: '某曌的记事本',
cloud: {
enable: true
}
},
notice: {
enable: true,
content: '本站不定时更新...'
},
fireworks: {
enable: true,
colors: ['#F6A4B5', '#888E8E', '#BFCED0']
},
pages: [
{
name: '项目橱窗',
url: '/projects/',
icon: 'i-ri-code-s-slash-fill',
color: '',
},
],
footer: {
since: 2024,
beian: {
enable: true,
icp: '京ICP备17038157号',
},
powered: false
},
bg_image: {
enable: true,
url: 'https://s2.loli.net/2025/01/07/UCvIpoudfNGDBmT.jpg',
dark: 'https://s2.loli.net/2025/01/07/ckTfOXmRojZaStD.jpg'
},
say: {
enable: true,
api: '',
hitokoto: {
enable: true,
api: "https://v1.hitokoto.cn"
}
}
},
addons: [
addonWaline({
serverURL: 'walinecomment-5292.vercel.app',
copyright: false,
locale:{
admin: '博主',
sofa: '来发评论吧~',
placeholder: '📧本站已开启邮件通知,回复您评论的同时会email到您的邮箱,因此请确保邮箱的有效性',
}
}),
addonMeting({
global: true,
}),
addonComponents(),
addonLive2d({
enableLive2D: ['heimao', 'baimao', 'girl1', 'girl2', 'girl3', 'girl4'],
live2DCollection: {
heimao: {
message: '黑猫',
models: ['https://cdn.jsdelivr.net/gh/evrstr/live2d-widget-models/live2d_evrstr/blackcat/model.json'],
},
baimao: {
message: '白猫',
models: ['https://cdn.jsdelivr.net/gh/evrstr/live2d-widget-models/live2d_evrstr/whitecat/model.json'],
},
girl1: {
message: '',
models: ['https://cdn.jsdelivr.net/gh/evrstr/live2d-widget-models/live2d_evrstr/kp31_3101/model.json'],
},
girl2: {
message: '',
models: ['https://cdn.jsdelivr.net/gh/evrstr/live2d-widget-models/live2d_evrstr/mlemk1_604/model.json'],
},
girl3: {
message: '',
models: ['https://cdn.jsdelivr.net/gh/evrstr/live2d-widget-models/live2d_evrstr/vector_1901/model.json'],
},
girl4: {
message: '',
models: ['https://cdn.jsdelivr.net/gh/evrstr/live2d-widget-models/live2d_evrstr/aa12_2403/model.json'],
},
},
skipHello: true,
})
],
unocss: { safelist },
markdown: {
theme: {
light: 'github-light',
dark: 'github-dark',
},
lineNumbers: true,
}
})