t/suki theme suggestions

I love the current selection of interface themes, but there are a few more that I think could be added. A custom css/custom theme option would also be nice, if possible.

Here are a few other themes that come to mind:

  • Gruvbox (my biased pick)
  • One Dark
  • Monokai
  • Nord

What do y’all think?

1 Like

I really like the Tomorrow Night 80s theme, but I don’t know if it would actually look good on the forum. It’s kind of hard to know without seeing it first. The more themes, the better IMO.

It sounds like you’re talking about color schemes, not themes. I’d be happy to add support for well-known color schemes that have both a dark and light version such as Gruvbox.

But… after a short search I was unable to find an already-created Gruvbox theme for Discourse. In fact, I’m having difficulty finding premade color schemes for Discourse at all – I could only find one on the official forum here. It appears that people mostly post themes (which have their own bespoke color schemes). I think this is why it’s hard to find color schemes; since each theme has its own set of colors there isn’t really much color scheme standardization across themes even if we’re using Discourse’s default theme.

I could create one manually, but I’m not exactly sure how to map the Gruvbox colors into the colors that the default Discourse theme expects. To make things worse, the official color scheme tutorial is not exactly straightforward as some of the color options are hidden. So, it might take me a while to figure that out.

Well, I finally added support for Gruvbox but I had to make up a bunch of colors not in the official palette:

You should be able to select those themes now in your user preferences. Let me know if you run into any issues with it.

I’ve posted the colors to github.com/exodrifter/discourse-gruvbox. Basically, all I did was create a new color scheme with the Solarized theme as a base as it had the most colors defined and changed the colors to Gruvbox ones as best as I could.

Frankly, that was a terrible experience that I never want to do again manually. I think, given the plethora and standardization of console terminal colors, if we wanted to add more it would be better to either:

  • Create a new theme that uses terminal color schemes so importing different color schemes is easy.

  • Create a script to convert a terminal color scheme into a new color scheme that the default theme expects.

1 Like

What resources did you use for creating the color scheme? I’d love to look into trying it out myself.

I tried to follow the guide I linked earlier, but it wasn’t very useful.

I got the colors from morhetz/gruvbox and then I had to manually plug the colors directly into Discourse. And, like I said, the palettes don’t match so I had to come up with my own mapping and also make up more colors.

There doesn’t appear to be a way to import JSON containing the color scheme even though the guide I linked appears to purport you can do this, as Discourse treats the repository you create using the guide as a new standalone theme instead. If you provide me a list of colors I can plug them in for you and we can see what it looks like.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.