I want to change the color of all tags once a task is @done or @cancelled to gray. The following code changes the task and @done to gray but my @due tag remains its previous style (blue, in my case).
item[data-done] {
> run[content] {
color: @light-tag-done-color;
text-strikethrough: none;
}
> run[tag="data-done"] {
color: @light-tag-done-color;
font-weight: normal;
}
}
I’d like all the content and tags changed to gray if it is done or cancelled. How can I do this?
RESOLVED: I figured this out. The solution was to put item[data-done] at the end of my .less file and include a run[tag]. In complete, it looks like this:
item[data-done] {
> run[content] {
color: @light-tag-done-color;
text-strikethrough: none;
}
> run[tag="data-done"] {
color: @light-tag-done-color;
font-weight: normal;
}
> run[tag] {
color: @light-tag-done-color;
}
}