Skip to content

Commit

Permalink
📖 更新README
Browse files Browse the repository at this point in the history
  • Loading branch information
qinhua committed Nov 4, 2021
1 parent 7a12404 commit 7a92f32
Show file tree
Hide file tree
Showing 14 changed files with 28 additions and 35 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@

- 主题升级后配置项变化较大时可能报错,导致页面渲染不出来。只需要进入当前主题的设置界面执行一下保存操作来更新旧的配置,然后再访问页面即可。

- 刷新时记得打开控制台进行强刷,避免潜在缓存的影响。
- 刷新时记得打开控制台进行强刷,避免潜在缓存的影响`CDN缓存` 也要及时清除

<br>

Expand Down
26 changes: 7 additions & 19 deletions settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,7 @@ genernal:
type: textarea
placeholder: 请输入公告信息
description: "网站公告信息,将展示在页面右侧,尽量简洁明了(不填不展示该模块,也可单独开关)"
# enable_theme_comment_plugin:
# name: enable_theme_comment_plugin
# label: 使用评论
# type: switch
# data-type: bool
# default: true
# options:
# - value: true
# label: 开启
# - value: false
# label: 关闭
baidu_statistic:
baidu_statistic:
name: baidu_statistic
label: 百度统计
type: textarea
Expand Down Expand Up @@ -190,10 +179,10 @@ theme:
label: 无(默认)
- value: simple_cursor
label: 简洁卡通
- value: simple_sunset_light
label: 简单日落(浅色)
- value: simple_sunset_dark
label: 简单日落(暗黑)
# - value: simple_sunset_light
# label: 简单日落(浅色)
# - value: simple_sunset_dark
# label: 简单日落(暗黑)
- value: crystallize
label: 简约水晶
- value: emoji_zip
Expand Down Expand Up @@ -2232,15 +2221,14 @@ comment:
label: 缺省头像
type: text
placeholder: 请输入
# default: "https://cdn.jsdelivr.net/gh/qinhua/halo-theme-joe2.0@master/source/img/error_avatar.jpg"
default: "https://cdn.jsdelivr.net/gh/LIlGG/[email protected]/img/Sakura/images/Transparent_Akkarin.th.jpg"
default: "https://cdn.jsdelivr.net/gh/qinhua/halo-theme-joe2.0@master/source/img/error_avatar.jpg"
description: "当评论头像加载不出来时展示的默认头像"
comment_avatar_loading:
name: comment_avatar_loading
label: 头像加载图
type: text
placeholder: 请输入
default: "https://cdn.jsdelivr.net/gh/LIlGG/[email protected]/img/svg/loader/trans.ajax-spinner-preloader.svg"
default: "https://cdn.jsdelivr.net/gh/qinhua/halo-theme-joe2.0@master/source/svg/spinner-preloader.svg"
description: "头像加载时展示的loading图片"
comment_empty_text:
name: comment_empty_text
Expand Down
1 change: 1 addition & 0 deletions source/css/joe.global.less
Original file line number Diff line number Diff line change
Expand Up @@ -4329,6 +4329,7 @@ body {
img {
display: block;
width: 200px;
max-width: unset;
border-radius: 5px;
}
}
Expand Down
2 changes: 1 addition & 1 deletion source/css/joe.search.less
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

&-icon {
margin-right: 5px;
vertical-align: bottom;
vertical-align: middle;
font-size: 18px;
color: var(--theme);
}
Expand Down
2 changes: 1 addition & 1 deletion source/css/min/joe.global.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion source/css/min/joe.search.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion source/cursor/style/black_cat.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ body {
}

a {
cursor: url(//cdn.jsdelivr.net/gh/qinhua/halo-theme-joe2.0@master/source/cursor/Black_Cat/ayuda.cur), auto;
cursor: url(//cdn.jsdelivr.net/gh/qinhua/halo-theme-joe2.0@master/source/cursor/black_cat/ayuda.cur), auto;
}

a:active {
Expand Down
2 changes: 1 addition & 1 deletion source/cursor/style/min/black_cat.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion source/cursor/style/min/simple_cursor.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions source/cursor/style/simple_cursor.less
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,8 @@ a:active {

p {
cursor: url(//cdn.jsdelivr.net/gh/qinhua/halo-theme-joe2.0@master/source/cursor/simple_cursor/x1.cur), auto;
}

.joe_header__above-nav .item {
cursor: url(//cdn.jsdelivr.net/gh/qinhua/halo-theme-joe2.0@master/source/cursor/simple_cursor/x2.cur), auto !important;
}
10 changes: 5 additions & 5 deletions source/js/joe.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -327,13 +327,13 @@ const commonContext = {
modules: "120",
background: "5",
tmpColor: "FFFFFF",
tmpSize: "12",
tmpSize: "13",
cityColor: "FFFFFF",
citySize: "12",
citySize: "13",
aqiColor: "FFFFFF",
aqiSize: "12",
weatherIconSize: "12",
alertIconSize: "12",
aqiSize: "13",
weatherIconSize: "13",
alertIconSize: "13",
padding: "5px 5px 4px 5px",
shadow: "0",
language: "auto",
Expand Down
Loading

0 comments on commit 7a92f32

Please sign in to comment.