dark avatar backgrounds only

This commit is contained in:
alecdwm 2017-01-06 07:18:22 +01:00
parent b044c2ae19
commit e4fe93249f
1 changed files with 4 additions and 1 deletions

View File

@ -5,7 +5,10 @@ var randomcolor = require('randomcolor');
// core // core
module.exports = function(name) { module.exports = function(name) {
var color = randomcolor({seed: name}); var color = randomcolor({
seed: name,
luminosity: 'dark',
});
var letter = name.substring(0, 1).toUpperCase(); var letter = name.substring(0, 1).toUpperCase();
var svg = '<?xml version="1.0" encoding="UTF-8" standalone="no"?>'; var svg = '<?xml version="1.0" encoding="UTF-8" standalone="no"?>';