Is there a way to turn off strikethrough on completed checkbox items?
My preference for done and invalidated tasks:
The CSS below:
- keeps the
line-throughor italic, but the line-through is set to 50% opacity - replaces the gray text color with a faded variant of the task’s original priority color.
This makes it possible to see the task priorities while also clearly marking them as closed.
span.task_closed, span.task_invalidated {
color: unset;
opacity: 0.4;
text-decoration-color: color-mix(in srgb, currentColor 50%, transparent);
text-decoration-thickness: 1px;
}
span.node_text.task_closed a, span.node_text.task_closed a:visited, span.node_text.task_invalidated a, span.node_text.task_invalidated a:visited {
color: unset;
text-decoration: unset;
}
1 Like
@jola16 Nice approach! Should probably be fine-tuned for the Darkula mode, but overall quite good.