-
Notifications
You must be signed in to change notification settings - Fork 9
/
config.json
180 lines (180 loc) · 4.46 KB
/
config.json
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
{
"name": "Notes",
"version": "1.2.0",
"author": "EryouHao",
"repository": "https://github.com/getgridea/gridea-theme-notes",
"customConfig": [
{
"name": "contentMaxWidth",
"label": "内容区最大宽度",
"group": "布局",
"value": "800px",
"type": "input",
"note": "可填像素类型(如:320px)或百分比类型(如:38.2%)"
},
{
"name": "textSize",
"label": "正文内容文字大小",
"group": "布局",
"value": "16px",
"type": "input",
"note": "px 或 rem(如 16px 或 1rem)"
},
{
"name": "titleAlign",
"label": "标题对齐",
"group": "布局",
"value": "center",
"type": "radio",
"options": [
{
"label": "居中对齐",
"value": "center"
},
{
"label": "左对齐",
"value": "left"
},
{
"label": "右对齐",
"value": "right"
}
],
"note": "包含标题及日期、标签等信息部分"
},
{
"name": "siteFont",
"label": "网站字体",
"group": "布局",
"value": "-apple-system,BlinkMacSystemFont,'Helvetica Neue','PingFang SC','Hiragino Sans GB','Droid Sans Fallback','Microsoft YaHei',sans-serif",
"type": "select",
"options": [
{
"label": "-apple-system,BlinkMacSystemFont,'Helvetica Neue','PingFang SC','Hiragino Sans GB','Droid Sans Fallback','Microsoft YaHei',sans-serif",
"value": "-apple-system,BlinkMacSystemFont,'Helvetica Neue','PingFang SC','Hiragino Sans GB','Droid Sans Fallback','Microsoft YaHei',sans-serif"
},
{
"label": "Georgia, serif",
"value": "Georgia, serif"
}
],
"note": ""
},
{
"name": "openPostToc",
"label": "是否显示文章目录",
"group": "布局",
"value": true,
"type": "switch",
"note": "仅在宽屏时生效"
},
{
"name": "contentBgColor",
"label": "内容区背景色",
"group": "颜色",
"value": "#ffffff",
"type": "input",
"card": "color",
"note": "颜色字符串:(如:#EEEEEE、rgba(255, 255, 255, 0.9))"
},
{
"name": "pageBgColor",
"label": "网页背景色",
"group": "颜色",
"value": "#ffffff",
"type": "input",
"card": "color",
"note": "颜色字符串:(如:#EEEEEE、rgba(255, 255, 255, 0.9))"
},
{
"name": "textColor",
"label": "文字颜色",
"group": "颜色",
"value": "rgba(0, 0, 0, 0.86)",
"type": "input",
"card": "color",
"note": "颜色字符串:(如:#EEEEEE、rgba(255, 255, 255, 0.9))"
},
{
"name": "linkColor",
"label": "链接颜色",
"group": "颜色",
"value": "rgba(0,0,0,.98)",
"type": "input",
"card": "color",
"note": "颜色字符串:(如:#EEEEEE、rgba(255, 255, 255, 0.9))"
},
{
"name": "linkHoverColor",
"label": "链接 Hover 颜色",
"group": "颜色",
"value": "#006CFF",
"type": "input",
"card": "color",
"note": "颜色字符串:(如:#EEEEEE、rgba(255, 255, 255, 0.9))"
},
{
"name": "github",
"label": "Github",
"group": "社交",
"value": "",
"type": "input",
"note": "链接地址"
},
{
"name": "twitter",
"label": "Twitter",
"group": "社交",
"value": "",
"type": "input",
"note": "链接地址"
},
{
"name": "weibo",
"label": "微博",
"group": "社交",
"value": "",
"type": "input",
"note": "链接地址"
},
{
"name": "zhihu",
"label": "知乎",
"group": "社交",
"value": "",
"type": "input",
"note": "链接地址"
},
{
"name": "facebook",
"label": "Facebook",
"group": "社交",
"value": "",
"type": "input",
"note": "链接地址"
},
{
"name": "customCss",
"label": "自定义CSS",
"group": "自定义样式",
"value": "",
"type": "textarea",
"note": ""
},
{
"name": "ga",
"label": "跟踪 ID",
"group": "谷歌统计",
"value": "",
"type": "input",
"note": "UA-xxxxxxxxx-x"
},
{
"name": "metaDescription",
"label": "Meta Description",
"group": "SEO",
"value": "",
"type": "input"
}
]
}