chakra-ui / chakra-ui-docs

Documentation website for chakra ui
https://chakra-ui.com
MIT License
303 stars 475 forks source link

`fontWeight: "semibold"` is missing at the end. The comma at the end `fontWeight: "semibold" #1657

Open leo-web3 opened 1 year ago

leo-web3 commented 1 year ago

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",

shaikahmadnawaz commented 1 year ago

I am working on this issue.