Add passage tags to passage-card
element using data-tags
#1438
Labels
enhancement
New feature or request
P3 (could)
Annoying bugs that have workarounds, Interesting ideas
Is your feature request related to a problem? Please describe.
Now that we have
user.css
I'd love to be able to style my passages differently based on their tags, but sadly that data isn't represented anywhere on the html structure.Describe the solution you'd like.
Add a
data-tags
attribute to thepassage-card
element with a space separated list of passage tags so that customuser.css
can target them.Describe alternatives you've considered.
I tried using
:has()
to target a passage based on the colour of its tags, but Electron 18 doesn't support:has()
so that's out.Additional context on this suggestion.
No response
Presubmission checklist
The text was updated successfully, but these errors were encountered: