Added bottts neutral

This commit is contained in:
Juan Sebastián Montoya 2025-01-17 01:23:22 -05:00
parent 5e330d8f54
commit 4fa0190e4b
3 changed files with 18 additions and 3 deletions

View file

@ -6,6 +6,7 @@ import { createAvatar, Style } from "@dicebear/core";
import * as openPeeps from "@dicebear/open-peeps";
import * as pixelArt from "@dicebear/pixel-art";
import * as thumbs from "@dicebear/thumbs";
import * as botttsNeutral from "@dicebear/bottts-neutral";
import { isValue, isSize, isStyle } from "../utils/type-guards";
@ -13,6 +14,7 @@ const DENSITY = 72;
const avatars: Record<string, Style<any> & { defaultSize: number }> = {
"open-peeps": { ...openPeeps, defaultSize: 704 },
"pixel-art": { ...pixelArt, defaultSize: 16 },
"bottts-neutral": { ...botttsNeutral, defaultSize: 120 },
thumbs: { ...thumbs, defaultSize: 100 },
};