-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
There are folks like nepugia & kythyria who have avatars with transparent backgrounds. Currently in Riot we force a white background for avatars so in practice they ended up rendered on white. However, in practice, we should probably render them as transparent on whatever bg is suitable for the theme being used (i.e. either light or dark), to avoid breaking the theming.
If this results in a black-on-transparent avatar against a black bg being invisible, then the user shouldn't have uploaded a black-on-transparent avatar in the first place; they should have uploaded black-on-white instead.
In other words: if you upload a transparent avatar, you'd need to make sure it looks good on both light & dark bgs. Woe betide you if the app implementer chose a colourful bg colour (e.g. purple or yellow) which then makes nepugia or kythria disappear into the wallpaper (and even then, they should be including a border around such avatars anyway).
See also #6305