🎀 Neomorphism,Discourse 的现代主题

The Neomorphism theme brings a new fresh look to Discourse. It uses the neomorphic design system which involved paper-like realism to the UI.
Features:

  1. Full-Width view
  2. Customizable color scheme
  3. Custom Welcome Banner
  4. Wide Search bar

Screenshot:

Customizable welcome banner:


Homepage:

Homepage Layout 2:

Topic page:

Full page search:

This is our first theme and I hope you will like it. We look forward to your feedbacks :sparkles:.

Contributors
Shalini Bose (@shalinibose)
Siddhant Kumar (@siddhantdante)
Aman Sharma (@amanintech)
36 个赞

Beautiful work.

Customizable color scheme is a convenient feature. How about customizable font as well?

How might I show the search bar only upon scroll?

Can the header be shown only on the index and nowhere else?

2 个赞

Forgot to mention, it supports customizable fonts as well. Adding that too
thanks @Zup

4 个赞

Hi, nice theme, but when using banner collapse I get following.

2 个赞

We have never seen this issue @bubblecatcher . Could you dig in a little and find what plugin/ setting might be causing this ?

1 个赞

@amanintech 干得漂亮!\n如何更改/配置左侧边栏?\n\n谢谢

1 个赞

@hollosch,感谢您的赞赏。

目前我们还没有为侧边栏添加动态控件。
您需要为此付出一些额外的努力。

  1. Fork 仓库 GitHub - twimbit/neomorphism-discourse: Discourse theme with neomorphism design
  2. 将此文件替换为您想要的项目 - neomorphism-discourse/desktop/after_header.html at main · twimbit/neomorphism-discourse · GitHub
  3. 将主题安装到 discourse

如果有所帮助,请告诉我。

1 个赞

@amanintech,它奏效了。非常感谢!
我该如何添加更多导航项?只需复制粘贴现有代码即可?

此致,
hollosch

1 个赞

很高兴能帮到你。

是的,目前直接编码是可行的方法,如果你能将其模块化并直接从设置中进行编辑,我将很乐意合并你的贡献。

1 个赞

嘿,
有人能告诉我这里出了什么问题吗?为什么类别名称不再显示,图标也没有了?

1 个赞

以前从未见过此问题,是仅此主题还是其他主题也存在此问题?另外,请告知您正在使用的 Discourse 版本,我们上次在 2.9.0 beta 3 版本上进行了测试,当时运行正常。

1 个赞

你好,
2.9.0.beta8
是版本

1 个赞

navbar navpills 中版本 3 的中断

您好,

感谢您的主题@amanintech,它很漂亮……

我遇到了同样的问题@amanintech(最新版本的 discourse)

@amanintech

搜索菜单及其逻辑已从(已弃用的)小部件转换为 Glimmer 组件 (https://github.com/discourse/discourse/pull/20482)。这些更改目前隐藏在一个基于组的功能标志后面,但我们打算在不久的将来将 Glimmer 搜索菜单设为新的默认设置。这些更改将破坏您主题中的任何 search 覆盖,因此我想在我们进行切换之前向您提出这个问题。

这是供您参考的拉取请求。

谢谢, :wave:

1 个赞

我已将主题标记为#broken。正如我在上方所解释的,该主题依赖于已弃用且现已从核心完全移除的小部件搜索菜单。需要对其进行重构,以适应基于组件的搜索菜单。

1 个赞