@antadesign/anta
    Preparing search index...

    Interface ResolvedAvatarUnreviewed

    Renderer-agnostic description of one avatar.

    interface ResolvedAvatar {
        initialsColor: string;
        figure: boolean;
        bg: string;
        bgLightness: number;
        scale: number;
        translate: [number, number];
        angle: number;
        gap: number;
        head: ResolvedHead;
        body: ResolvedBody;
    }
    Index
    initialsColor: string

    Ink for the initials fallback: the background's own hue at a text-like lightness, so the letters read as tinted ink on the generated color. It is derived from the background rather than a theme text token because the background does not follow the theme — a theme token would go light-on-light in dark mode.

    figure: boolean

    true for a generated head + shoulders figure; false for the initials fallback (no figure shape was configured).

    bg: string
    bgLightness: number
    scale: number
    translate: [number, number]
    angle: number
    gap: number

    Space between head and body in user units.