dark avatar backgrounds only
This commit is contained in:
parent
b044c2ae19
commit
e4fe93249f
1 changed files with 4 additions and 1 deletions
|
@ -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"?>';
|
||||||
|
|
Loading…
Reference in a new issue