Currently, we provide 6 colors that annotations can be recognized in:
red green blue yellow purple orange.
Since we are already mapping these color names to exact rgb tuples behind the scenes,
we may as well allow the user access to provide exact tuples to check for custom annotation colors.
A possible configuration file could then look like this:
[[[tags]]]
orange = "important"
blue = "todo"
mygreycolor = "0.5,0.5,0.5:unimportant"
in the form {customcolorname} = "{color_vector}:{tag_name}
. This form would preserve the old settings structure but be a little awkward with no purpose for the color name given.
A more streamlined form would be:
[[[tags]]]
important = "orange"
todo = "blue"
unimportant = "0.5,0.5,0.5"
which turns tags and mapped color around, making it easily possible to map custom colors but breaking the old configuration format.