fui-fancyui
Version:
FancyUI Libary
23 lines (22 loc) • 894 B
JavaScript
import { styled as t } from "styled-components";
import { getBackgroundColor as n } from "../../../design/designFunctions/colorCalculatorForComponent/colorCalculatorForComponent.js";
const s = t.span`
color: ${({ theme: a, $themeType: l, $layer: o = 0 }) => l && n({ theme: a, $themeType: l, $layer: o })};
${({ $textAlign: a }) => a && `text-align: ${a};`}
${({ $variant: a }) => a};
${({ $externalStyle: a }) => a}
`, r = t(s).attrs({ as: "h1" })``, e = t(s).attrs({ as: "h2" })``, c = t(s).attrs({ as: "h3" })``, d = t(s).attrs({ as: "h4" })``, y = t(s).attrs({ as: "h5" })``, S = t(s).attrs({ as: "h6" })``, h = t(s).attrs({ as: "p" })``, p = t(s).attrs({ as: "span" })``, m = t(s).attrs({ as: "small" })``, H = t(s).attrs({ as: "label" })``, i = {
h1: r,
h2: e,
h3: c,
h4: d,
h5: y,
h6: S,
label: H,
p: h,
span: p,
small: m
};
export {
i as TypographyList
};