@chakra-ui/react
Version:
Responsive and accessible React UI components built with React and Emotion
33 lines (29 loc) • 715 B
JavaScript
"use strict";
'use strict';
var config = require('../../styled-system/config.cjs');
const headingRecipe = config.defineRecipe({
className: "chakra-heading",
base: {
fontFamily: "heading",
fontWeight: "semibold"
},
variants: {
size: {
xs: { textStyle: "xs" },
sm: { textStyle: "sm" },
md: { textStyle: "md" },
lg: { textStyle: "lg" },
xl: { textStyle: "xl" },
"2xl": { textStyle: "2xl" },
"3xl": { textStyle: "3xl" },
"4xl": { textStyle: "4xl" },
"5xl": { textStyle: "5xl" },
"6xl": { textStyle: "6xl" },
"7xl": { textStyle: "7xl" }
}
},
defaultVariants: {
size: "xl"
}
});
exports.headingRecipe = headingRecipe;