You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All avatar styles now support background gradients. Just set the new backgroundType option to ['gradientLinear']. Note that the option only takes effect if background colors have been defined.
The CLI now also supports json as output format. Additionally, a json option is available if you want to save the JSON in addition to the generated avatar.
dicebear initials --seed "John Doe" --json
And of course, the HTTP-API can also respond in JSON format.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Over the past few days, you guys have been sharing great ideas for DiceBear. You can find many of these ideas in this release.
Background gradient support #260
All avatar styles now support background gradients. Just set the new
backgroundType
option to['gradientLinear']
. Note that the option only takes effect if background colors have been defined.JSON output format #259
Sometimes you want to know which options were selected by the PRNG. Now you can output the avatar as JSON and read this information!
The CLI now also supports
json
as output format. Additionally, ajson
option is available if you want to save the JSON in addition to the generated avatar.And of course, the HTTP-API can also respond in JSON format.
https://api.dicebear.com/5.x/initials/json?seed=John%20Doe
textColor
option for initials #256The avatar style
initials
now accepts a new optiontextColor
. This allows you to create very light avatars with black instead of white text.Documentation
Beta Was this translation helpful? Give feedback.
All reactions