Hallo Meta! Ich habe ein Theme für Discourse erstellt, das sich auf klare Farbakzente und subtil differenzierte Inhaltsbereiche konzentriert, um ein angenehmes Leseerlebnis zu schaffen.
In der Desktop-Version habe ich den Avatar des Themenverfassers zusätzlich an die linke Seite des Titels verschoben, um ihm im Design eine höhere Hierarchie zu verleihen.
Es war auch spaßig, mit Serifenschriften zu spielen, und am Ende verleiht „Playfair Display" dem Theme wirklich Charakter (hehe).
Eine weitere lustige Sache ist, dass Sie, da der Theme-Header schwarz ist, einige Aspekte des Logos über die Theme-Einstellungen spielen können (Farbinvertierung, Farbtonrotation und Helligkeit).
Ich hoffe, es gefällt euch, nutzt es und forkt es !
Geben Sie einen Wert in Grad an, um die Farbe Ihres Logos zu ändern. Wenn Sie nicht wissen, was das ist, können Sie es auf 0 lassen oder nach „css filter hue rotation" googeln.
Logo-Helligkeit
Stellen Sie die gewünschte Helligkeit ein, die Sie zu Ihrem Logo hinzufügen möchten (wenn Sie es dunkler machen möchten, setzen Sie eine negative Zahl)
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?
Danke für dieses Theme, ich liebe es bisher! Einer der angenehmsten Discourse-Stile, die ich bisher gesehen habe
Nur ein Problem: Wenn Massenoperationen in einer Kategorie durchgeführt werden, erscheinen die Kontrollkästchen nicht, daher kann ich keine mehreren Themen auswählen. Das nervt mich wirklich und ich kann das Theme wegen dieses Problems nicht regelmäßig nutzen. Könnte das behoben werden? <3