Commit Graph

6 Commits

Author SHA1 Message Date
shiran b1c65791ab feat(style): 添加首页背景图片配置选项并优化设置文件格式
Discourse Theme / ci (push) Failing after 0s
- 在 scss 文件中添加了 $home_bg_image 变量用于背景图片配置
- 将 settings.yml 中的列表默认值格式从数组改为多行字符串格式
- 更新 extra_glass_morphism_selectors 和 extra_card_item_selectors 的默认值格式
- 保持所有选择器功能不变,仅调整配置文件的可读性
- 为首页背景功能提供了默认空值配置选项
2026-02-26 15:04:06 +08:00
shiran c567a2d1e1 feat(theme): 添加自定义毛玻璃和卡片样式配置选项
Discourse Theme / ci (push) Failing after 1s
- 在 head_tag.html 中添加条件样式块以支持毛玻璃效果
- 移除 scss/self.scss 中的硬编码卡片样式规则
- 在 settings.yml 中添加 extra_glass_morphism_selectors 配置项
- 在 settings.yml 中添加 extra_card_item_selectors 配置项
- 实现通过设置控制的动态 CSS 样式应用
- 支持自定义选择器列表进行毛玻璃和卡片样式的灵活配置
2026-02-26 15:02:05 +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