From d8e50f931e979c969056cef53905f32e33cc9e24 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Thu, 29 Oct 2015 16:31:58 -0400 Subject: [PATCH] material user icon bgs --- src/user/data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/user/data.js b/src/user/data.js index d9bad4f086..1f857a113c 100644 --- a/src/user/data.js +++ b/src/user/data.js @@ -115,7 +115,7 @@ module.exports = function(User) { } // User Icons - var backgrounds = ['#AB4642', '#DC9656', '#A1B56C', '#7CAFC2', '#BA8BAF', '#A16946']; + var backgrounds = ['#f44336', '#e91e63', '#9c27b0', '#673ab7', '#3f51b5', '#2196f3', '#009688', '#1b5e20', '#33691e', '#827717', '#e65100', '#ff5722', '#795548', '#607d8b']; user['icon:text'] = (user.username[0] || '').toUpperCase(); user['icon:bgColor'] = backgrounds[Array.prototype.reduce.call(user.username, function(cur, next) { return cur + next.charCodeAt();