Skip to content
This repository has been 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
leo-web3 opened this issue Sep 24, 2023 · 1 comment

Comments

@leo-web3
Copy link

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
Copy link

I am working on this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants