In a Support discussion titled “Customizing colors,” Biscuit noted that key UI elements like the New Topic button and icons use a grey color not available in the EZ Themer’s color palette. awesomerobot explained this is intentional to keep the tool simple for non-CSS users, though suggested an “advanced mode” or plugin could offer more control. Biscuit clarified they’d like prominent UI elements covered by a single color selector, acknowledging that broad changes might affect unintended elements. awesomerobot proposed a theme component to manage button colors via variables, which Biscuit and BlackKnob supported as helpful for users with limited CSS skills. Johani shared a comprehensive CSS snippet for targeting buttons, linking to the source file in Discourse’s repo. Biscuit thanked them. Flower_Child endorsed the idea of an advanced color mode. Finally, awesomerobot released a theme component — Discourse Button Styles — to simplify button color customization, with plans to streamline core CSS based on its usage.
The color palette options listed under Admin > Customize > Colors don’t include the grey colour that’s used for some key UI components, like the column headings, the new topic button and the search / hamburger icons:
Is this intentional or should an additional color selector be added for this? I appreciate this can probably be done with CSS, but feels like these key UI components should be covered on the COLOR page.
It’s intentional, the goal of the color configurator is to be a very low bar to customization. The color variables are run through some color transformations (we have ~25 colors that are determined from that core 10). Given that those 10 customizable variables are relatively reasonable, we also try to ensure that we’re keeping elements in decent contrast with each other.
This “EZ Themer” has worked fairly well for those who don’t want to touch any CSS at all, and we definitely need to hold on to that.
That being said, it could be interesting to have an “advanced mode” or a plugin(?) that allows for more finesse when editing colors…
Curious about what you’re trying to achieve: would simply editing all instances of that particular shade of gray be enough for you (wherever it applies, borders, buttons, text, etc)?
Any per-element finesse beyond changing a single color everywhere it occurs is a huge can of worms that’s better solved by writing some CSS.
Would like the EZ Themer to cover the "New Topic button, “All Categories”, search & hamburger icons, as these are such prominent features. Even if one colour selection covers them all.
hmmm… could create a problem with unread post titles, row headings and the thin lines between topics also being made more prominent, if they’re considered the same type of grey.
I appreciate that another user will want something slightly different, so the EZ Themer will never replace CSS.
Thinking about it a little more… something like this could be good as a theme component. If someone put together a “buttons” component with the relevant CSS, you could then import it and change a few variables to change all button colors.