mirror of https://github.com/status-im/codimd.git
dark avatar backgrounds only
This commit is contained in:
parent
b044c2ae19
commit
e4fe93249f
|
@ -5,7 +5,10 @@ var randomcolor = require('randomcolor');
|
|||
|
||||
// core
|
||||
module.exports = function(name) {
|
||||
var color = randomcolor({seed: name});
|
||||
var color = randomcolor({
|
||||
seed: name,
|
||||
luminosity: 'dark',
|
||||
});
|
||||
var letter = name.substring(0, 1).toUpperCase();
|
||||
|
||||
var svg = '<?xml version="1.0" encoding="UTF-8" standalone="no"?>';
|
||||
|
|
Loading…
Reference in New Issue