This repository was archived by the owner on Jan 23, 2024. It is now read-only.
This repository was archived by the owner on Jan 23, 2024. It is now read-only.
fontWeight: "semibold"
is missing at the end. The comma at the end `fontWeight: "semibold" #1657
Open
Description
Description
at https://chakra-ui.com/docs/components/heading/theming#customizing-the-default-theme
example code
import { defineStyle, defineStyleConfig } from '@chakra-ui/react'
const custom = defineStyle({
color: "yellow.500",
fontFamily: "mono",
fontWeight: "semibold"
// let's also provide dark mode alternatives
_dark: {
color: 'yellow.300',
}
})
in, fontWeight: "semibold"
is missing at the end. The comma at the end fontWeight: "semibold",