AutarkLabs / open-enterprise

A suite of apps that includes allocation, dot voting, issue curation, and other planning tools so organizations can collectively budget and design custom reward & bounty systems.
GNU General Public License v3.0
92 stars 54 forks source link

Address Book custom type feature #996

Open stellarmagnet opened 5 years ago

stellarmagnet commented 5 years ago

Figma: https://www.figma.com/file/XfvUr2MdzJQZdHWj7ZrRKZ82/Address-Book-type-selector

TODO: determine how to handle the color of the badge

javieralaves commented 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.

Screenshot 2019-07-02 at 15 08 06

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.

javieralaves commented 5 years ago

This is already a part of the Figma design file.