Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color mapping does not work for labels #22

Closed
GregSal opened this issue Nov 22, 2017 · 2 comments
Closed

Color mapping does not work for labels #22

GregSal opened this issue Nov 22, 2017 · 2 comments
Assignees
Labels

Comments

@GregSal
Copy link

GregSal commented Nov 22, 2017

The pytodoist.todoist.Color class only refers to the first 12 colors for projects. The color mapping for labels and for filters is different. See attached spreadsheet:
ToDoist Color options.xlsx

The ColorDefinitions.txt file contains my proposed 3 dictionaries with updated color mapping for each type.
ColorDefinitions.txt

@Garee
Copy link
Owner

Garee commented Nov 22, 2017

Thanks for letting me know @GregSal. The Todoist API must have changed since I originally wrote the colour code mappings. I'll commit a fix and update this issue soon.

@Garee
Copy link
Owner

Garee commented Dec 1, 2018

I have updated the colors and they will be available in release 2.1.3 onwards.

@Garee Garee closed this as completed Dec 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants