Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AvatarVnextView] Add support for background/foreground/ring colors based on the primaryText and secondaryText #338

Closed
1 of 2 tasks
rdeassis opened this issue Dec 11, 2020 · 0 comments
Assignees
Labels
vnext-prototype Changes meant to be merged to the vnext-prototype branch.

Comments

@rdeassis
Copy link
Contributor

Platform

  • iOS
  • macOS

The current AvatarView relies on the logic of the InitialsView to get the background color of the Avatar.
The design team is currently proposing 30 different color variations to be used based on the hash of the primaryText and secondaryText properties.

These 30 colors should be tokenized in the YAML file (light, dark and HC variations) and used to define the AvatarVnext default colors for:

  1. background
  2. foreground (used for the text color or icon image tint color)
  3. avatar ring

What component or utility would this be added to

AvatarVnextView

Have you discussed this feature with our team, and if so, who

Discussion currently happening with Victor.

Additional context/screenshots

avatar_colors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vnext-prototype Changes meant to be merged to the vnext-prototype branch.
Projects
None yet
Development

No branches or pull requests

1 participant