Merge branch 'bwindel/polish' into 'element'

More polish

See merge request new-vector/element/element-web/matrix-react-sdk!21
This commit is contained in:
J. Ryan Stinnett 2020-07-14 19:35:41 +00:00
commit 9d094a793c
5 changed files with 29 additions and 23 deletions

View file

@ -82,7 +82,7 @@ function urlForColor(color) {
const colorToDataURLCache = new Map();
export function defaultAvatarUrlForString(s) {
const defaultColors = ['#03b381', '#368bd6', '#ac3ba8'];
const defaultColors = ['#0DBD8B', '#368bd6', '#ac3ba8'];
let total = 0;
for (let i = 0; i < s.length; ++i) {
total += s.charCodeAt(i);