/*
 * avatar.css — a person, by their initials: who is assigned, who wrote this.
 *
 * <span class="app-avatar" data-size="regular | compact" role="img" aria-label="Jonas Leitner">JL</span>
 *
 * The wrapper takes the initials from the name. The name is the accessible name; the letters
 * are decoration. One colour for everyone: the palette's other hues are status colours, and a
 * red avatar would say something about a person it does not mean. A theme may reassign it.
 */
@layer components {
    .app-avatar {
        display: inline-flex;
        flex: none;
        align-items: center;
        justify-content: center;
        inline-size: var(--app-avatar-size);
        block-size: var(--app-avatar-size);
        border-radius: var(--app-radius-round);
        background: var(--app-color-avatar);
        color: var(--app-color-avatar-text);
        font-size: var(--app-text-count-size);
        font-weight: var(--app-text-chip-weight);
        line-height: var(--app-text-help-leading);
        user-select: none;
    }

    .app-avatar[data-size="compact"] {
        inline-size: var(--app-avatar-size-compact);
        block-size: var(--app-avatar-size-compact);
    }




}
