目录模糊效果开关

This commit is contained in:
1152958806@qq.com 2023-12-27 21:59:53 +08:00
parent 14f19fc7ca
commit e86beeb99a
2 changed files with 15 additions and 0 deletions

View File

@ -1202,6 +1202,15 @@ spec:
- label: 关闭
value: false
help: 文章主色匹配图片颜色
- $formkit: radio
name: opacity
label: 目录模糊效果
value: true
options:
- label: 打开
value: true
- label: 关闭
value: false
- $formkit: group
name: aiDescription
label: 文章 AI 摘要

View File

@ -32,4 +32,10 @@
[data-theme=light] {
--halo-search-widget-color-result-item-title : #4B5563
}
[# th:if="${!theme.config.post.opacity}"]
#aside-content #card-toc .toc-content a.toc-link:not(.active) {
opacity: 1;
filter: blur(0px);
}
[/]
</style>