| Summary | Assign tags to custom color styles | |
| Repository | Manuel Kostka / Discourse / Helpers / Tag Styles · GitLab | |
| Install Guide | How to install a theme or theme component | |
| New to Discourse Themes? | Beginner’s guide to using Discourse Themes |
Create custom color styles and assign them to existing tags.
The component ships with three example styles so you can see how it works (a yellow highlight, a subtle accent, and an outline). They don’t do anything until you assign tags to them, and you can edit or delete them freely.
Theme settings
Each style has:
- Name — just a label, so you can tell your styles apart
- Tags — pick the tags this style applies to
- Background color
- Text color
- Border color
- Bullet color — colors the square when your site uses the bullet tag style
Colors accept any CSS value, e.g. #ff7a00 or limegreen. You can also use Discourse color variables like var(--tertiary) — those automatically adapt to your color palette, dark mode included.
Site settings
Discourse has three base tag styles, simple, bullet and box. You can pick your base style in site settings:







