feat(cursor): 添加多种自定义光标样式支持
Discourse Theme / ci (push) Failing after 0s

- 将原有的 custom_cursor 重命名为 default_cursor,并实现默认光标功能
- 新增 hover_cursor 配置,为链接和按钮元素提供悬停光标效果
- 新增 pointer_cursor 配置,为链接元素提供专用指针光标
- 新增 text_cursor 配置,为输入框和文本域提供文本编辑光标
- 在 settings.yml 中添加对应的配置项和描述信息
- 实现多层级光标样式的 SCSS 逻辑处理
This commit is contained in:
2026-02-26 15:48:21 +08:00
parent b6e54e3cbd
commit d1ce649fb2
2 changed files with 57 additions and 4 deletions
+17 -2
View File
@@ -15,8 +15,23 @@ home_bg_image:
default: ""
description: "首页背景图"
custom_cursor:
default_cursor:
type: upload
default: ""
description: "自定义光标 SVG 文件"
description: "默认光标 SVG 文件"
hover_cursor:
type: upload
default: ""
description: "悬停光标 SVG 文件"
pointer_cursor:
type: upload
default: ""
description: "链接光标 SVG 文件"
text_cursor:
type: upload
default: ""
description: "文本光标 SVG 文件"