Summary | Adds styling options to the solved and unsolved topics. | |
Repository | GitHub - VaperinaDEV/solved-topic-badge: This theme component adds styling options to the solved and unsolved topics. | |
Install Guide | How to install a theme or theme component | |
New to Discourse Themes? | Beginner’s guide to using Discourse Themes |
Install this theme component
Hello
This theme component adds styling options to the solved and unsolved topics. You can set custom badge and background color.
By default it looks like this on topic list page
Styled (before title)
With background
Inline
Styled (after title)
Topic title, Topic header
Styled
Inline
There are a bunch of settings where you can change the icon, text and style separately solved and unsolved.
Global indicator settings
type
– styled (badge)
– inline (it placed inline before title)
placement (styled)
– before-title
– after-title
border-radius
– badge rounding
Solved Indicator settings
solved indicator
– It uses unicode but you can use other too. (e.g. emoji). It place before label.
…
…
…
solved border color
The badge has a 1px transparent border and this setting you can set a color for it.
enable solved topic background
Enabling this setting will activate the background field below it where you can set the topic list item background color.
Unsolved Indicator setting
Same settings for unsolved indicator below these…
If you want to enable the unsolved indicator than turn on the empty box on unsolved Discourse Solved plugin setting.
Todo:
– Try to move it to use as topic status (will appear everywhere the topic status is appear and it allows to use custom icon too)