The discussion introduces Category Badge Styles, an official Discourse theme component that replaces the deprecated category_style admin setting. It allows users to configure category badges as box, bar, or none via a single site setting. The official announcement provides installation links, previews, and guidance for reporting bugs or requesting features.
AstonJ requested a feature to add specific #color values to the style attribute for finer control over foreground colors, asking if this could be done locally or added to the component. Jagster noted a potential side effect: if the badge style is set to “none,” all new-style category icons are hidden.
Frenky presented Category Badge Styles EVO, an extended community version of the component. This fork offers greater flexibility with three independent settings (Main, Subcategory, and Topic List styles) and six display options (Box, Bar, None, Standard, Text, and Text Auto). Frenky shared the GitHub repository and expressed willingness to contribute these enhancements upstream if they would benefit the original project.
With the changes to the category_style admin setting, the ability to set the category badge style to be box, bar, or none has been moved to this theme component. You can read more about that change here:
Just switched to this and have managed to get most of my styling back, however is it possible to add #color: FOREGROUND-COLOUR to the style attribute please?