We have two types of avatars, normal and primary (as in material term).
Normal ones are grey/boring, and primary avatars stand out. Each has its uses.
I do not want to set styles in HTML or TS -- this duplicates code, since all other app styles are set in SCSS.
So setting bgColor and fgColor as Angular props is out of question.
My SCSS of the wrapper component currently looks like this
We have two types of avatars, normal and primary (as in material term). Normal ones are grey/boring, and primary avatars stand out. Each has its uses.
I do not want to set styles in HTML or TS -- this duplicates code, since all other app styles are set in SCSS. So setting
bgColor
andfgColor
as Angular props is out of question.My SCSS of the wrapper component currently looks like this
Notice the need for
!important
everywhere.There should be a way to clear styles on the element and let developer customize via CSS. Please implement, much needed.