-
Notifications
You must be signed in to change notification settings - Fork 0
/
valaxy.config.ts
123 lines (108 loc) · 2.42 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
121
122
123
import type { UserThemeConfig } from 'valaxy-theme-yun'
import { addonLightGallery } from 'valaxy-addon-lightgallery'
import { addonWaline } from 'valaxy-addon-waline'
import { defineValaxyConfig } from 'valaxy'
// add icons what you will need
const safelist = [
'i-ri-home-line',
]
/**
* User Config
*/
export default defineValaxyConfig<UserThemeConfig>({
// site config see site.config.ts
ignoreDeadLinks: true,
theme: 'yun',
siteConfig: {
// 启用评论
comment: {
enable: true
},
},
markdown: {
// default material-theme-palenight
// theme: 'material-theme-palenight',
theme: {
// light: 'material-theme-lighter',
light: 'github-light',
// dark: 'material-theme-darker',
dark: 'github-dark',
},
blocks: {
tip: {
icon: 'i-carbon-thumbs-up',
text: 'ヒント',
langs: {
'zh-CN': '提示',
},
},
warning: {
icon: 'i-carbon-warning-alt',
text: '注意',
},
danger: {
icon: 'i-carbon-warning',
text: '警告',
},
info: {
text: 'información',
},
},
},
addons: [
addonWaline({
serverURL: 'https://vercel-waline-cuuf-674019130s-projects.vercel.app/',
pageview: true,
comment: true
}),
addonLightGallery(),
],
themeConfig: {
bg_image: {
enable: true,
url: 'https://w.wallhaven.cc/full/qz/wallhaven-qzp8dr.png',
dark: 'https://s2.loli.net/2024/05/01/zgRmHkITt9w6ju7.jpg',
opacity: 0.7
},
banner: {
enable: true,
title: ['难道你','无台风会决定留下'],
cloud: {
enable: true,
},
},
notice: {
enable: true,
hideInPages: true,
content: '要变强,要变成更好的人!'
},
pages: [
{
name: '我的小伙伴们',
url: '/links/',
icon: 'i-ri-genderless-line',
color: 'dodgerblue',
},
{
name: '喜欢的女孩子',
url: '/girls/',
icon: 'i-ri-women-line',
color: 'hotpink',
},
],
footer: {
since: 2022,
// liveTime: {
// enable: true,
// prefix: '风已经走了',
// suffix: '(●\'◡\'●)',
// start_time: '2022-10-31T00:00:00'
// }
beian: {
enable: false,
icp: '苏ICP备17038157号',
},
},
},
unocss: { safelist },
})