element-hq / element-hq/element-x-android
User colors
- Dominant language
- Kotlin
- Stars
- 2.4k
- Forks
- 624
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 149
Description
We now have 8 colors to be consistent with EXI and EleWeb, but Figma file has only 6 colors.
At some point this will have to be updated, with some synchronization with the other Element clients.
Also the same should apply to room avatar, with some specific rules about the id to use to compute the hash. If the room is a DM, we should use the otherId to compute the hash, instead of the roomId.
(algo on web: https://github.com/matrix-org/matrix-react-sdk/blob/c853257d54c2056bb2dd08ba5d3798300daaaf61/src/components/views/avatars/RoomAvatar.tsx#L119, but not very clear to me)
**Note:** for now we can only use the roomId to compute the hash.
Related #1224
Contributor guide
Assessment
This issue has not been assessed yet.