/**
 * Набор часто встречающихся скруглений.
 */ "use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: Object.getOwnPropertyDescriptor(all, name).get
    });
}
_export(exports, {
    get applyRoundness () {
        return applyRoundness;
    },
    get getRoundness () {
        return getRoundness;
    },
    get radiuses () {
        return radiuses;
    }
});
const radiuses = {
    250: 15.625,
    32: 2,
    28: 1.75,
    24: 1.5,
    20: 1.25,
    18: 1.125,
    16: 1,
    14: 0.875,
    12: 0.75,
    8: 0.5,
    4: 0.25,
    0: 0
};
const getRoundness = ({ roundness })=>{
    if (!Number.isNaN(Number(roundness))) {
        return `${radiuses[roundness]}rem`;
    }
    return String(roundness);
};
const applyRoundness = (roundness)=>{
    return `
            border-radius: ${roundness};
        `;
};
