Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
add custom options
  • Loading branch information
jalberto authored Sep 1, 2022
1 parent 1cf355b commit cfa5170
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ const React = require('react');
const { renderToString } = require('react-dom/server');
const Avatar = require('boring-avatars').default;

const DEFAULT_COLORS = ["#92A1C6", "#146A7C", "#F0AB3D", "#C271B4", "#C20D90"].join(',');
const DEFAULT_SIZE = 80;
const DEFAULT_VARIANT = 'marble';
const DEFAULT_COLORS = ["#1A1C39", "#E62648", "#ffb142", "#34ace0", "#ffda79"].join(',');
const DEFAULT_SIZE = 120;
const DEFAULT_VARIANT = 'beam';

const VALID_VARIANTS = new Set([
'marble', 'beam', 'pixel', 'sunset', 'ring', 'bauhaus'
Expand Down

1 comment on commit cfa5170

@vercel
Copy link

@vercel vercel bot commented on cfa5170 Sep 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.