More Discourse themes?


#1

Bonjour Nix community! :cat:

I know this is an hosted instance of Discourse, but I wonder if the admins could install more themes for the users to chose from?

For the moment I find the base theme too empty and too bright.
OTOH the dark theme looks “unpolished” and text contrast is meeeh (dark grey text on dark background …).

The official material theme does look sleek in Dark and Indigo/Orange:

There is also this Classic Discourse :smile:

Thoughts?


#2

I can import themes easily enough. I imported the “Material Design Stock Theme” and made it accessible to users.


#3

Thanks @ryantm I find it more readable already. :wink:
I don’t get the same rendering as https://newmaterial.trydiscourse.com/ though… Most noticeably I don’t get the light grey background that makes the topic list or a message “pops out”… :confused:
Header aside, is there a global CSS override or something on this instance? Not that this is of a critical importance.


Could we also have a second choice on the Dark Side ™ ? :bat:
I’d vote for Vincent theme with the dark blue color scheme:

It’s sleek and easy to read and the deep blue fits the Nix/NixOS color codes.

Then I won’t bother you again, I swear :smile_cat:


#4

The only CSS override I see is for the default theme with

#main .d-header {
    box-shadow: 0 1px 10px rgba(0,0,0,0.1);
    background-image: linear-gradient(to bottom,#fff,#f2f2f2);
    background-repeat: repeat-x;
    border: 1px solid #d4d4d4;
}

I added the Vincent theme.

Is there a way for users to individually choose the “color schemes” of the themes?

Ryan


#5

Vincent renders like this for me somehow… :

And topics are even worse. But thanks for adding it still.


It does not seem possible directly.

However there might be a workaround :

So by creating a new theme (user selectable), applying the color scheme Material - Dark to it and setting the Material theme as a child theme you could expose the dark variant of Material without cloning the whole theme.