-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvalaxy.config.ts
More file actions
83 lines (78 loc) · 1.71 KB
/
valaxy.config.ts
File metadata and controls
83 lines (78 loc) · 1.71 KB
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
import type { UserThemeConfig } from 'valaxy-theme-yun'
import { defineValaxyConfig } from 'valaxy'
import { addonLightGallery } from 'valaxy-addon-lightgallery'
import { addonVercount } from 'valaxy-addon-vercount'
import { addonComponents } from 'valaxy-addon-components'
// 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: '風凪的小窝',
},
colors: {
primary: '#9c5cd4'
},
fireworks: {
enable: true,
colors: ['#FFE57D', '#FFCD88', '#E6F4AD']
},
pages: [
{
name: '我的小伙伴们',
url: '/links/',
icon: 'i-ri-genderless-line',
color: 'dodgerblue',
},
{
name: '相册',
url: '/albums/',
icon: 'i-ri-gallery-line',
color: '#43abee',
},
{
name: '一些小项目',
url: '/projects/',
icon: 'i-ri-code-s-slash-line',
color: '#43abee',
},
{
name: '赞助',
url: '/sponsors/',
icon: 'i-ri-aed-fill',
color: '#43abee',
}
],
footer: {
since: 2025,
icon: {
enable: true,
name: 'i-ri-aed-fill',
animated: true,
color: '#d69b54',
url: '/sponsors/', //图标链接
title: '请给我钱' //鼠标悬停注释
},
beian: {
enable: false,
icp: '萌ICP备20250599号',
},
},
},
unocss: { safelist },
addons: [
addonLightGallery(),
addonVercount({
api: 'cn'
}),
addonComponents(),
],
})