// TODO: Обновить prettier до версии 2.2.0+
/* eslint-disable prettier/prettier */ "use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "createApplyPaperMixin", {
    enumerable: true,
    get: function() {
        return createApplyPaperMixin;
    }
});
const createApplyPaperMixin = (tokens)=>{
    return ({ backgroundColor, shadow, borderRadius, styles })=>({
            backgroundColor: backgroundColor ? tokens[backgroundColor] : undefined,
            boxShadow: shadow ? tokens[shadow] : undefined,
            borderRadius: borderRadius ? tokens[borderRadius] : undefined,
            ...styles
        });
};
