Olá Meta! Criei um tema para o Discourse focando em ter acentos de cor claros e áreas de conteúdo sutilmente diferenciadas, tentando criar uma experiência de leitura agradável.
Na versão para desktop, também movi o avatar do criador do tópico para o lado esquerdo do título, a fim de dar a ele uma hierarquia mais alta no design.
Também foi divertido brincar com fontes serifadas e, no final, “Playfair Display” realmente dá um caráter (hehe) ao tema.
Outra coisa divertida é que, como o cabeçalho do tema é preto, você pode brincar com alguns aspectos do logotipo através das Configurações do Tema (inversão de cor, rotação de matiz e brilho).
Especifique um valor em graus para alterar a cor do seu logotipo. Se você não sabe o que é isso, pode deixá-lo em 0 ou pesquisar no Google ‘css filter hue rotation’
Brilho do logotipo
Defina a quantidade de brilho que deseja adicionar ao seu logotipo (se quiser deixá-lo mais escuro, defina um número negativo)
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?
Obrigado por este tema, estou adorando até agora! Um dos estilos de discourse mais agradáveis que já vi
Apenas um problema: ao realizar operações em massa em uma categoria, as caixas de seleção não aparecem, portanto, não consigo selecionar vários tópicos. Isso está me incomodando muito e sou incapaz de usar o tema regularmente, devido a este problema. Isso poderia ser corrigido? <3
Adorei o tema, mas… ;)\n\nVocê poderia me ajudar ou corrigir esta visualização de impressão, pois ela não é utilizável:\n- o título deve ser pequeno\n- a borda com sombra não deve ser visível\n\n