UNPKG

@cap3/capitano-components

Version:
17 lines 644 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const capitano_theme_1 = require("@cap3/capitano-theme"); const formElementHelpers_1 = require("../basics/formElementHelpers"); exports.Label = capitano_theme_1.styled("label")({ display: "flex", position: "relative", }, ({ theme, size }) => { const height = formElementHelpers_1.formElementHeight(size, theme); return { color: theme.colors.layout.M50, fontFamily: theme.typography.fontFamily.base, fontSize: formElementHelpers_1.fontSizeForElementSize(size, theme), height, }; }); //# sourceMappingURL=Label.js.map