message: feat: split and export heading baseStyle
diff: import { styleConfig } from "@chakra-ui/theme-tools"
  +import { extraProps } from "@chakra-ui/system/dist/types/system.utils"
  -const heading = styleConfig({
  - baseStyle: {
  +const baseStyle = {
  fontFamily: "heading",
  lineHeight: "shorter",
  fontWeight: "bold",
  - },
  - sizes: {
  +}
  +
  +const sizes = {
  "2xl": {
  fontSize: ["4xl", null, "5xl"],
  },
  @@ -19,10 +20,22 @@ const heading = styleConfig({
  md: { fontSize: "xl" },
  sm: { fontSize: "md" },
  xs: { fontSize: "sm" },
  - },
  - defaultProps: {
  +}
  +
  +const defaultProps = {
  size: "xl",
  - },
  +}
  +
  +const heading = styleConfig({
  + baseStyle,
  + sizes,
  + // @ts-ignore
  + defaultProps,
  })
  +export const headingStyles = {
  + baseStyle,
  + sizes,
  +}
  +
  export default heading
  