Motivation
Tweak the style of the category badges.
Background
This was spawned while working on implementing the Daemonite Material Theme on another Discourse instance the other day. While it’s only a pretty minor amendment to CSS, we just wrapped it up, added appropriate settings and packaged it.
https://github.com/ip-tools/discourse-category-badge-theme-component
Features
- Optionally adjust
border-radius
css attribute of category badges
to give them a more flat / less globular appearance. - Optionally prevent shrinked badges on e.g.
/latest
. - Optionally emphasize category label.
Note: We know this style might deviate from the official Google Material Design language which is pretty straight on Material Design, but nevertheless we find this look more pleasant. Please enjoy it as a language dialect.
Screenshots
Before
After
Setup
Install
- Documentation: How do I install a Theme or Theme Component?
-
Repository URL:
https://github.com/ip-tools/discourse-category-badge-theme-component
Configure
Configuration is pretty straightforward.