How can I assign a color code to a Tag Group (so all tags in the group share it)?

I’m trying to figure out if there’s a way to apply a specific color code to an entire Tag Group in Discourse.

Right now, I know you can set colors for individual tags, but in my case the tag group contains many tags, and I’d like them all to automatically share the same color styling (instead of manually setting each one).

  • Is there a built-in setting to do this at the group level?
  • Or does it require a CSS/Theme customization targeting the tag group class?
  • Has anyone implemented this successfully for large tag groups with dozens of tags?

Any guidance or code snippets would be really helpful!

Maybe you want to add your use case to this feature request:

1 Like