Radiant, un thème élégant pour Discourse

This theme aims to be minimal and at the same time has modern appeal. The entire styling is implemented via CSS and no image has been used.

:rainbow: :dizzy: :rocket:

Homepage:

Topic page:

Full page search:

Modal:

Let me know how this theme can be further improved. Enjoy! :smiley:

29 « J'aime »

Very nice design!

Is there a way to customize the background shapes/colors? Being able to customize the “glow” of the main body on the background could be useful too.

3 « J'aime »

Hello,

Amazing work :heart: This theme looks pretty cool :heart_eyes:
I have one suggestion with uniform rounded corners and shadows. I mean the popups, menu, input fields etc… Will be pretty awesome with the new loading slider :heart_eyes:

2 « J'aime »

No, the background is made via CSS linear gradients and adding the ability to customize it will add complexity for forum admins.

Feel free to fork the theme to further customize it as per your requirements.

Good point. I’ll add it on my list for improvements. :+1:

6 « J'aime »

I have improved the theme to make form inputs, header menu and modal consistent with the theme styling. Updated the first post with latest screenshots. :slight_smile:

5 « J'aime »

lovely theme. i might be using this soon. thanks, good work.

2 « J'aime »

Hi, the theme is very good. Is there any way to reduce that space at the top (see arrow)?

2 « J'aime »

I have reduced the default margin-top to 30px, via:

https://github.com/MeghnaAJ/discourse-radiant-theme/commit/d3eac88041c3e5ebc8529ac79d99193c2d285349

Feel free to fork the theme and further customize it as per your requirements. :slight_smile:

3 « J'aime »

personally i think the smaller margin makes the gradient too noticeable. :confused:

could you lead me in the right direction to implement this as the background? https://codepen.io/chris22smith/pen/RZogMa

1 « J'aime »

I absolutely love this theme, I would request it to the forum I’m on, just wanted to ask you some stuff.

I’m not someone who uses Discourse to make any forums, I’m the user of these forums, so some stuff might come out wrong, or too obvious, but I never used Discourse to build anything.

Are there any plans to make a Dark Mode version of this? I personally have the ‘Force Dark Mode for Web Contents’ flag on Edge enabled. It’s also a thing for Chrome. And it usually helps, these are some of the results I got from it.

image

Overall it looks fine with that flag on, but there’s some stuff that looks out of place for no obvious reason, which I would love to see adapted / fixed for Dark Mode if that’s possible :)

You woudn’t necessarily need to modify everything to make a Dark Mode specific version, as long as you fixed the weird color difference on the profile pages, it would pretty much work just fine with the flag enabled.

4 « J'aime »

Not yet, but I’ll look into it. I’ll have to go with different color scheme though.

Thanks for the suggestions! I’ll look into them and make the changes if they do not affect the default (original) light version. :slight_smile:

5 « J'aime »

I’ve just set up a Discourse and was itching to customizing it. I’m really glad I found your theme—it’s fresh, colorful, and lovely. Thanks!

– ben

6 « J'aime »

Très beau thème, mais dernièrement, il semble que ce thème soit incompatible avec Discourse. La barre latérale est complètement écrasée.

`

3 « J'aime »

Bien vu ! Maintenant corrigé via :

3 « J'aime »

Merci, ça a l’air sympa et le problème est résolu

2 « J'aime »

Bonjour

Depuis la dernière mise à jour, il semble que tout le contenu soit « bloqué » des deux côtés. C’est comme si le padding/marge droit et gauche avaient disparu

Est-ce intentionnel ? Sur les images d’aperçu du thème, ce n’est pas comme ça. Comment puis-je corriger cela ?

Merci beaucoup

2 « J'aime »

Ceci est maintenant corrigé :

Merci d’avoir signalé ce problème :+1:

3 « J'aime »

Je confirme que c’est réparé !

C’était incroyablement rapide, merci beaucoup

Thème incroyable au passage :slight_smile:

3 « J'aime »

Pouvez-vous m’aider à comprendre comment changer la couleur de la barre d’accentuation bleue en haut ?

Je vois dans desktop.scss que c’est défini comme suit :

#main-outlet {
  border-top: 8px solid $tertiary;
}

$tertiary, je suppose, provient des variables définies par le SCSS de base de Discourse, et devrait provenir de la palette de couleurs sélectionnée par l’utilisateur.

Je peux voir dans devtools que la barre est définie sur #3977ff, que vous pouvez voir comme la barre bleue dans la capture d’écran ci-dessous. Mais dans ma palette de couleurs, j’ai une couleur jaune définie pour le “tertiary” et je n’ai aucune couleur #3977ff définie quelque part.

Alors, que se passe-t-il ici, et comment puis-je définir la couleur ?

1 « J'aime »

Oh ! Je vois que tertiary est défini dans about.json :

  "color_schemes": {
    "radiant": {
      "primary": "000000",
      "tertiary": "3977FF",
      "header_primary": "4d4d4d"
    }
  },

Je suppose donc que c’est de là qu’il obtient la valeur de la couleur. Mais pourquoi tirerait-il de ceci si je n’ai pas sélectionné le schéma de couleurs « radiant » ?