Merge pull request #2600 from jryans/update-avatar-colors

Update avatar colors
This commit is contained in:
David Baker 2019-02-08 17:41:39 +00:00 committed by GitHub
commit a00c803f8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 1 additions and 1 deletions

BIN
res/img/03b381.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 B

BIN
res/img/368bd6.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 146 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 966 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 146 B

BIN
res/img/ac3ba8.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 146 B

View file

@ -51,7 +51,7 @@ module.exports = {
}, },
defaultAvatarUrlForString: function(s) { defaultAvatarUrlForString: function(s) {
const images = ['76cfa6', '50e2c2', 'f4c371']; const images = ['03b381', '368bd6', 'ac3ba8'];
let total = 0; let total = 0;
for (let i = 0; i < s.length; ++i) { for (let i = 0; i < s.length; ++i) {
total += s.charCodeAt(i); total += s.charCodeAt(i);