Hi everyone,
As I enjoy flarum so much, I recently had a thought about its tag design. Frequently on my community, I search for the best css enhancements to make nested tags (primary + subtags) more comprehensive, especially to differentiate the subtags
from the secondary tags
. Recently, it led me to a solution I can only simulate. Before discussing it, I show you the prototype:
Well, I just love it.
Technically, what would this do:
Whenever a primary tag and one or more sub-tag are set, the sub-tag border (1px, solid
) and its foreground color are set to the parent tag color.
Why?
Should it be added to the tag extension?
Cons: Maybe it's too specific. I can't imagine one situation where it would be undesired for a specific UI/design reason, but maybe you have one to share?
Pros: I would love to see this feature bundled to the original tag extension, because I think this is one of its job to offer clean ways to clarify the different tag types by the UI.
And maybe it could be a general option in the tag admin panel, like automatic nested tag design for sub-tags
, with a possibility to override it on per-case.
And if it's not?
IDK, maybe this would become my very first extension attempt!! But I'm far from being a dev, so I guess I should finish my PhD first 😀
Well, whatever happens to this idea I'm happy to let it here, at least I'll remember!