Commit Graph

6 Commits

Author SHA1 Message Date
shiran d1ce649fb2 feat(cursor): 添加多种自定义光标样式支持
Discourse Theme / ci (push) Failing after 0s
- 将原有的 custom_cursor 重命名为 default_cursor,并实现默认光标功能
- 新增 hover_cursor 配置,为链接和按钮元素提供悬停光标效果
- 新增 pointer_cursor 配置,为链接元素提供专用指针光标
- 新增 text_cursor 配置,为输入框和文本域提供文本编辑光标
- 在 settings.yml 中添加对应的配置项和描述信息
- 实现多层级光标样式的 SCSS 逻辑处理
2026-02-26 15:48:21 +08:00
shiran b6e54e3cbd feat(theme): 添加自定义光标功能
Discourse Theme / ci (push) Failing after 1s
- 在 SCSS 中实现条件编译以支持自定义光标
- 添加 $custom_cursor 变量控制光标样式
- 在 settings.yml 中增加 custom_cursor 配置项
- 支持上传 SVG 文件作为自定义光标
- 默认值设为空字符串以保持向后兼容性
2026-02-26 15:37:57 +08:00
shiran 7cdbcb539e feat(theme): 添加首页背景图片功能
Discourse Theme / ci (push) Failing after 0s
- 在设置中新增 home_bg_image 配置选项
- 实现主题 SCSS 中的背景图片样式逻辑
- 添加对首页背景图片的条件渲染支持
- 集成上传功能以支持自定义背景图片
- 设置默认值为空字符串以避免初始加载问题
- 添加中文描述文档以便用户理解功能用途
2026-02-20 13:16:48 +08:00
Martin Brennan 274e5f7a1f UX: Add theme settings and value transformers (#67)
This commit adds the above for these core site
settings:

* search_experience
* enable_welcome_banner

Since for horizon we want better control of
the default experience of these settings OOTB.

See also https://github.com/discourse/discourse/pull/31917
2025-03-20 15:38:46 +10:00
Jordan Vidrine 41ee5a5358 DEV: Merge topic list card component (#17)
This PR merges the topic-list-item card component into the nextgen theme.

Also does the following cleanup:

* Use template-only ember components
* Use `fire` instead of deprecated `fa-fire` icon
* Lower version requirement for node to 18 to match core
* Add english locale strings for topic status column
* Remove dummy theme settings

---------

Co-authored-by: Martin Brennan <martin@discourse.org>
2025-03-06 13:35:27 +10:00
Jordan Vidrine 247c98b0a4 Initial commit by discourse_theme CLI 2025-02-24 08:40:45 -06:00