keeganstoner / taskell

Command-line Kanban board/task manager with support for Trello boards and GitHub projects
https://taskell.app
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

New Attributes #23

Open keeganstoner opened 2 months ago

keeganstoner commented 2 months ago

Create new attributes and name them for each color, use them to customize parts like > color, etc.

keeganstoner commented 2 months ago

You CAN add more colors using Color240 and this guide: https://hackage.haskell.org/package/vty-5.1.4/docs/src/Graphics-Vty-Attributes-Color240.html

(taskCurrentAttr, fg (Color240 198)) can be placed in Taskell.UI.Theme.

keeganstoner commented 2 months ago

Color-code automatically - for task name, look before the colon and do some hash function on that string (project name), and then color the entire task automatically (near-white). This will automatically color-code tasks for the same project without specifying.

Or maybe put these maps (project name -> color) in the theme.ini file.