Skip to content
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
@leo-web3

Description

@leo-web3

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions