Open stellarmagnet opened 5 years ago
Choose a color at random from the secondary colors of the design system and always use this color for the type, but try not to reuse any colors (until you have 7+ types)
Best pattern in my opinion, agreeing with @stellarmagnet, assuming that not that many custom types are created, and assuming that this is not hard to code.
By the way, I like the way Gmail handles label colors, because it not only shows you the label color, but also the text color for a given background.
I'm aware that this is not doable for the current sprint, but I'd like to point it out as a good design pattern for this type of setting, and to mention that generating a palette of colors for the label backgrounds would have to also require some sort of code to know what the text color should look, looking at reference numbers from the HSL value system of a given color for example.
This is already a part of the Figma design file.
Figma: https://www.figma.com/file/XfvUr2MdzJQZdHWj7ZrRKZ82/Address-Book-type-selector
TODO: determine how to handle the color of the badge