(function (factory) {
    if (typeof module === "object" && typeof module.exports === "object") {
        var v = factory(require, exports);
        if (v !== undefined) module.exports = v;
    }
    else if (typeof define === "function" && define.amd) {
        define(["require", "exports", "tslib", "styled-components", "../../Pallette/fonts", "../../Pallette/themes"], factory);
    }
})(function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    exports.P2Styled = void 0;
    var tslib_1 = require("tslib");
    var styled_components_1 = (0, tslib_1.__importStar)(require("styled-components"));
    var fonts_1 = require("../../Pallette/fonts");
    var themes_1 = require("../../Pallette/themes");
    var fontSizes = {
        20: fonts_1.piscesOnest,
        16: fonts_1.corvusOnest,
        14: fonts_1.lynxOnest,
        12: fonts_1.cetusOnest,
        10: fonts_1.muscaOnest
    };
    var fontTypes = {
        pisces: fonts_1.piscesOnest,
        aquarius: fonts_1.aquariusOnest,
        corvus: fonts_1.corvusOnest,
        lynx: fonts_1.lynxOnest,
        cetus: fonts_1.cetusOnest,
        pavo: fonts_1.pavoOnest,
        musca: fonts_1.muscaOnest,
        columba: fonts_1.columbaOnest
    };
    exports.P2Styled = styled_components_1.default.span(templateObject_2 || (templateObject_2 = (0, tslib_1.__makeTemplateObject)(["\n  margin: 0;\n  ", "\n  ", "\n  ", "\n"], ["\n  margin: 0;\n  ", "\n  ", "\n  ", "\n"])), function (props) { return props.type && fontTypes[props.type]; }, function (props) { return props.size && fontSizes[props.size]; }, function (props) {
        return props.color && (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = (0, tslib_1.__makeTemplateObject)(["\n      color: ", ";\n    "], ["\n      color: ", ";\n    "])), props.color);
    });
    exports.P2Styled.defaultProps = {
        theme: themes_1.LIGHT_THEME
    };
    var templateObject_1, templateObject_2;
});
