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

Add colors to labels/due date.

Open jacob-lynn opened this issue 1 year ago • 4 comments

In todoist I have colors set for my various labels and todoist adds colors to the due date automatically. I assume that this feature wasn't included because of concerns about theme compatibility? In either case I'm confused because the checkboxes are styled with colors based on their priority.

This probably falls under the same issue as issue 169.

It seems like this would be relatively easy to fix as Todoist has this object for labels in their official API documentation.

{ id: "2156154810", name: "Food", color: "charcoal", order: 1, isFavorite: false }

jacob-lynn avatar Mar 25 '24 17:03 jacob-lynn

This already seems implemented for overdue dates: image so could be added fairly easily?

socalledtheraven avatar Jun 12 '24 16:06 socalledtheraven

It would also be great if the project can also be color coded like the suggestion. Having all the same looks makes it really hard to intuitively check which task belongs to what project.

404notfoundyett avatar Jul 28 '24 10:07 404notfoundyett

There's actually a redesign that's landed in master and will be available with the next public release. As a sneak peak, this is what that looks like with the default theme:

CleanShot 2024-08-05 at 16 25 40@2x

Right now this is implemented for projects (it styles the hash icon on the right) and adding it for labels as well won't be too hard.

Due dates can be styled with CSS, I'll make sure to add some example snippets to the documentation site with the release to make this easier. In the medium term, I was thinking about using https://github.com/mgmeyers/obsidian-style-settings to expose more built-in style settings. How does that sound?

jamiebrynes7 avatar Aug 05 '24 15:08 jamiebrynes7

This looks great, excited!

socalledtheraven avatar Sep 08 '24 11:09 socalledtheraven