question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Avatar] Support for color and backgroundColor

See original GitHub issue

Regarding v1.0.0-alpha.20,

The Avatars and other components does not have previously supported color and backgroundColor props

Do we always have to use StyleSheet for this or the support will be added in future?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
atulmycommented, Jul 3, 2017

Thanks for your help and great work on MUI @kgregory @oliviertassinari 🤘

1reaction
oliviertassinaricommented, Jul 3, 2017

It seems that specific properties for individual aspects of a component’s style are being eliminated, favoring the CSS class override approach, resulting in a cleaner API.

@kgregory I can’t agree more. As I pointed out before, the only color values we have are normalized and answer to specific Material-UI configurations.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Avatar] Support for color and backgroundColor #7324 - GitHub
With Avatar specifically, color and backgroundColor are exposed through the colorDefault class, which can be overridden via the classes ...
Read more >
Avatar Background Color - Microsoft Community
Avatar Background Color. How do I change the background color on my Gamerpic/Avatar on xbone. All of them have defaulted to blue on...
Read more >
Compute an arbitrary color for user avatar starting from his ...
Here what we need to do. generate the Avatar background color starting from the user name;; use the HSL format to select only...
Read more >
How do I change the color of my letter avatar?
Click on your Avatar > Create initials avatar. There are seven different colors and you can use up to four characters.
Read more >
How to Avatar Customization in Vue Avatar component
The avatar comes with default background color (grey). This can be easily customized to desired color by adding custom class or directly selecting...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found