Hi all, sorry about the quiet couple of days here…
Let’s talk about collection color tagging! I have it working well, and the only thing that remains is to pick a set of good colors, and decide exactly where to draw them!
You can get/set them from python bpy.data.collections['Collection'].color = 'ORANGE'
and from the outliner right-click menu.
I have 7 colors (Red, Orange, Yellow, Green, Blue, Purple, and no color) currently, and adding more is trivial. I think 8-10 at a maximum is fine.
Here are the tests I have done
1
This one is subtle and out of the way. It is also very easy to implement. It is very close to the activation radio button though. We might remove the radio button later so this is still a good possibility.
2
My favorite at the moment. This has the same benefit as being subtle like drawing a bar to the left. It’s not as simple to code, but still works well. One flaw is that the icon is thin, and the colors do not show clearly.
3
This was suggested many times, and I tried it because it was easy. I’m really not a fan - it conflicts with the selection lines, and it makes the overall UI of Blender very very unbalanced.
4
A few others I tried; these have a few issues (not updating to the correct x-position always).
5
Coloring behind the collection icon is good, so long that we choose colors that have good contrast against the white/black. I really like this option as well.
In my branch I committed the colored icons version (#2) because it works well enough for now. Let me know what y’all think about the placement of the colors, and the colors themselves! I just picked colors that already existed in the default theme for now, so I haven’t spent much time to make them consistent in saturation/contrast.