ZeroNoise 主题

:discourse2: Summary Zeronoise focusses on having clear color accents and subtly differentiated content areas trying to create a pleasant reading experience.
:eyeglasses: Preview Preview on Discourse Theme Creator
:hammer_and_wrench: Repository Link https://github.com/discourse/zeronoise
:open_book: New to Discourse Themes? Beginner’s guide to using Discourse Themes

Install this theme

Features

Hello Meta! I’ve built a theme for discourse focusing on having clear color accents and subtly differentiated content areas trying to create a pleasant reading experience.

In the desktop version I also moved the topic creator avatar to the left side of the title In order to give it a higher hierarchy in the design.

It was also fun to play with serif fonts and in the end “Playfair Display” really gives a character (hehe) to the theme.

Another fun thing is that, since the theme header is black, you can play with some aspects of the logo through Theme Settings (color inversion, hue rotation and brightness).

I hope you enjoy it, use it and fork it :100:!

Settings

Name Description
logo invert colors
logo hue rotation Specify a value in degrees to change the color of your logo. If you don’t know what this is you could leave it in 0 or google ‘css filter hue rotation’
logo brightness Set the amount of brightness you want to add to your logo (if you want to make it darker, set a negative number)

Credits

Created by @ruidovisual


:discourse2: Hosted by us? Themes are available to use on our Standard, Business, and Enterprise plans.

Last edited by @JammyDodger 2024-06-17T13:43:50Z

Check documentPerform check on document:
51 个赞

Wow! Beautiful theme! Many of the elements should honestly be baked into Material Theme, but both themes are awesome. Great job! :+1:

2 个赞

This theme actually looks good. Will definitely try this on my website.

4 个赞

new topic is a component?

2 个赞

Honestly this is one of the best looking themes I have found! Thank you so much :slight_smile:

I just need one help, if it’s not too much trouble @ruidovisual :slight_smile:

  • I am a complete noob with all this, so forgive my naivety. I have managed to fork your file and change the colour themes. I need to change the font and I see I can do that by importing my own font family inside the variable SCSS?
  • What I am not able to figure is how to set two different fonts, one for the titles, headers etc., and the other for the body.

It will be so great if you could help me out here, I know this might be totally out of scope but it would certainly help a lot :slight_smile:

5 个赞

Hey Karthikk! I’m glad you like the theme : )

The easiest way would be to define a font-family for the body (I think doing it in common.scss would be the best):

body {
  font-family: 'The Name of your Font Family', [FALLBACKS];
} 

I don’t know if you are adding your own fonts or picking up some google fonts, but, I would advise that you pick a family from the google catalog.

Remember to replace [FALLBACKS] with your fallbacks depending on what type of font you’ve chosen, you can see more on font-family fallbacks here

About changing the font for titles and headers, I think that’s the part that you already figured out, but as a reminder, besides from importing it you need to declare it in the line 116 of variables.scss

Hope it helps! have a nice weekend : )

7 个赞

You mean a custom component for the theme? in this case the answer is no. It’s there with position: fixed See line 36 of mobile.scss

Have a nice weekend and thank you for your patience : )

4 个赞

Very nice theme! I can’t wait building a new theme for our discourse based upon zeronoise.
Thank you for sharing!

5 个赞

excellent theme. high on my personal like list. :slight_smile:

would be even more interesting if font could be optionally same as whatever was chosen in the wizard.

4 个赞

Hi @ruidovisual ,

I like your Theme a lot.

Is it possible to change the purple color to red? Can you release a red version of your theme?

I tried it myself but after that I lost the Theme effects and it wasn’t red. :grin:

2 个赞

@ruidovisual Thanks for the explanation, I have figure out how to change the fonts, thanks to you!

I am now playing around with my own light and dark version of the theme. I am using the Color Palettes to achieve this, as I wish to stay away from CSS as much as possible.

I have managed to tweak almost everything except these two elements :

  1. The status bar below the post has a special effect in your theme and I am not able to control it with the Color Palette. How do I tweak this using CSS? Which part do I target?

  2. The bar on top of all topics in the separate category view stays white no matter what colour I set in the palette

Would be great if you could help me with these :slight_smile:

P.S. This is my Color Palette for your reference :

1 个赞

Great theme.

One question, has anyone been able to make it work with “Box-type” Categories? They just get random shapes and the text remains white.

1 个赞

This is extremely clean and modern. The community makes the best themes ever!

1 个赞

Hi,This theme looks great
However, there seems to be some problems with the style in the Chinese forum.

zeronoise theme

default theme

3 个赞

Probably a formatting issue with Chinese characters

2 个赞

首先,非常感谢您提供这个精美的at @ruidovisual 主题。我已经在我的社区论坛上使用了近2个月了。

我有一个问题。是否可以移除移动设备上的导航下拉菜单?

提前感谢。

1 个赞

感谢这个主题,目前非常喜欢!这是我见过的最令人愉悦的 discourse 风格之一 :slight_smile:

只有一个问题:在类别中执行批量操作时,复选框不显示,因此我无法选择多个主题。这真的让我很困扰,由于这个问题,我无法正常使用这个主题。能修复这个问题吗? \u003c3

1 个赞

这与中文字符无关,而是“分类样式”的“box”设置问题。

.badge {
  &-category-bg,  /* <------ 不好!! */
  &-wrapper.bullet &-category-parent-bg,
  &-wrapper.bullet &-category-parent-bg + &-category-bg {
    border-radius: 50%;
    width: 9px;
  }

要解决此问题,请将其作为主题组件应用

.badge {
  &-wrapper.bar &-category-bg,
  &-wrapper.bar &-category-parent-bg,
  &-wrapper.bar &-category-parent-bg + &-category-bg {
     border-radius: 0%;
  }
  &-wrapper.box &-category-bg,
  &-wrapper.box &-category-parent-bg,
  &-wrapper.box &-category-parent-bg + &-category-bg {
    border-radius: 0%;
    width: 100%;
  }
}
3 个赞

喜欢这个主题,但是…… ;)\n\n你能帮我修复这个打印视图吗,因为它无法使用:\n- 标题应该小一点\n- 带阴影的边框不应该可见\n\n

\n\n另外,主题选择不起作用\n\nCleanShot 2022-11-20 at 00.12.18\n\n另外,如何全局更改此主题的字体?

非常棒,非常感谢。

现在就部署,希望很快能有更多贡献 :slight_smile: