feat(theme): 添加自定义光标功能
Discourse Theme / ci (push) Failing after 1s

- 在 SCSS 中实现条件编译以支持自定义光标
- 添加 $custom_cursor 变量控制光标样式
- 在 settings.yml 中增加 custom_cursor 配置项
- 支持上传 SVG 文件作为自定义光标
- 默认值设为空字符串以保持向后兼容性
This commit is contained in:
2026-02-26 15:37:57 +08:00
parent eb3f4efe2c
commit b6e54e3cbd
2 changed files with 9 additions and 3 deletions
+5
View File
@@ -15,3 +15,8 @@ home_bg_image:
default: ""
description: "首页背景图"
custom_cursor:
type: upload
default: ""
description: "自定义光标 SVG 文件"