obsidian-todoist-plugin icon indicating copy to clipboard operation
obsidian-todoist-plugin copied to clipboard

Adding classes for "has-date" and "has-no-date"

Open mitten opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe. There are classes added to an item when the task has a time associated with it - this allows me to tweak the CSS styling for those items. But I also have tasks that have a due date, but no time. I'd like to be able to tweak their CSS as well.

Describe the solution you'd like It would be super if the plugin added "has-date" and "has-no-date" classes to items with due dates, but no due times, similarly to the way it handles those with or without due times currently. It would also totally work to just add "has-date" to tasks with due dates and not bother with "has-no-date" - they're the ones I want to style differently.

Describe alternatives you've considered For the moment, I'll probably just live with it - though I've considered just adding a generic time to all my tasks with due dates (5pm or whatever).

mitten avatar Jun 11 '22 01:06 mitten