Open tobyzerner opened 9 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We do this to keep the amount of open issues to a manageable minimum. In any case, thanks for taking an interest in this software and contributing by opening the issue in the first place!
We are closing this issue as it seems to have grown stale. If you still encounter this problem with the latest version, feel free to re-open it.
I'm thinking one class tag--{slug}
on the body should be enough, as it could be combined with several other classes for some of the other aspects mentioned.
From @tobscure on August 27, 2015 13:50
We should add a className to the body and each DiscussionListItem based on what tags are in use. Could be handy for doing some special tag-based styling.
What needs to be done:
config
method to add a class (IndexPage--tag--{slug}
) to the body based on the currently-active tag. Ensure that it is removed properly onunload.config
method to add classes (DiscussionPage--tag--{slug}
) to the body based on the current discussion's tags. Ensure that they are removed properly onunload.DiscussionListItem--tag--{slug}
) based on the discussion's tags.Copied from original issue: flarum/tags#15