react-life-design
Version:
Life Design UI components
40 lines • 2.15 kB
JavaScript
"use strict";
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
return cooked;
};
Object.defineProperty(exports, "__esModule", { value: true });
var styled_components_1 = require("styled-components");
var index_1 = require("../index");
exports.default = {
H1: styled_components_1.default.h1(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n "], ["\n ",
"\n "])), function (props) { return index_1.TextHelper.fontPropertiesFactory(props, {
defaultColor: index_1.Colors.codGray,
defaultFontSize: index_1.Sizes.s6,
defaultVariant: 'medium',
defaultMargin: index_1.Sizes.s6 + "px 0",
}); }),
H2: styled_components_1.default.h2(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n "], ["\n ",
"\n "])), function (props) { return index_1.TextHelper.fontPropertiesFactory(props, {
defaultColor: index_1.Colors.codGray,
defaultFontSize: index_1.Sizes.s5,
defaultVariant: 'medium',
defaultMargin: 0,
}); }),
H3: styled_components_1.default.h3(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", "\n"], ["\n ",
"\n"])), function (props) { return index_1.TextHelper.fontPropertiesFactory(props, {
defaultColor: index_1.Colors.codGray,
defaultFontSize: index_1.Sizes.s4,
defaultVariant: 'medium',
defaultMargin: 0,
}); }),
H5: styled_components_1.default.h5(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n ", "\n "], ["\n ",
"\n "])), function (props) { return index_1.TextHelper.fontPropertiesFactory(props, {
defaultColor: index_1.Colors.codGray,
defaultFontSize: index_1.Sizes.s3,
defaultVariant: 'medium',
defaultMargin: index_1.Sizes.s3 + "px 0 " + index_1.Sizes.s1 + "px",
}); }),
};
var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
//# sourceMappingURL=HeadingsModule.js.map