import { cnb } from "cnbuilder";
import { cssUtils } from "../cssUtils.js";
import { bem } from "../utils/bem.js";
const styles = bem("rmd-avatar");
/**
 * @remarks \@since 6.0.0
 */ export function avatar(options) {
    const { className, color = "", size, theme } = options;
    return cnb(styles({
        [color]: color,
        icon: size === "icon"
    }), cssUtils({
        backgroundColor: theme
    }), className);
}
/**
 * @remarks \@since 6.0.0
 */ export function avatarImage(options = {}) {
    const { className } = options;
    return cnb(styles("image"), className);
}

//# sourceMappingURL=styles.js.map