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).
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)
Honestly this is one of the best looking themes I have found! Thank you so much
I just need one help, if it’s not too much trouble @ruidovisual
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
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
@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 :
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?
Thanks for this theme, loving it so far! One of the most pleasant discourse-styles I have yet seen
Only one issue: When performing mass operations in a category, the checkboxes do not appear, thus I can’t select multiple topics. This is really bugging me and I am unable to regularly use the theme, due to this issue. Could this be fixed? <3