Merge pull request #2600 from jryans/update-avatar-colors
Update avatar colors
BIN
res/img/03b381.png
Normal file
After Width: | Height: | Size: 169 B |
BIN
res/img/368bd6.png
Normal file
After Width: | Height: | Size: 171 B |
Before Width: | Height: | Size: 146 B |
Before Width: | Height: | Size: 966 B |
Before Width: | Height: | Size: 146 B |
BIN
res/img/ac3ba8.png
Normal file
After Width: | Height: | Size: 170 B |
Before Width: | Height: | Size: 146 B |
|
@ -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);
|
||||||
|
|