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

Convert 256 color palette to 16 color palette #175

Open
thehunmonkgroup opened this issue May 25, 2019 · 1 comment
Open

Convert 256 color palette to 16 color palette #175

thehunmonkgroup opened this issue May 25, 2019 · 1 comment

Comments

@thehunmonkgroup
Copy link
Member

VIT 2.x uses the urwid display library, which includes support for 256 color and 16 color modes in its palette.

Currently only 256 color mode is supported. Since the color information for tasks is derived from Taskwarrior and needs to be converted, it seems the only sensible way to provide 16 color support is to convert the colors read from Taskwarrior config via some algorithm.

Least mean square seems like a reasonable approach to this issue.

@Matt-Deacalion
Copy link

Another option would be to have a configuration setting for the colour modes. Then all the colour modes in urwid could be supported: 16, 88, 256 and 2**24.

Personally I would like this as it would give me more range in making some themes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants