Skip to content

Font Weight being registered as a color #180

Closed
@phil-scott-78

Description

@phil-scott-78

Looks like fontWeight is being registered as a color.

image

I suspect what's happening is in documentColorProvider.ts it's checking the variants and seeing if it's a valid color value. Because it returns a 3 digit number it looks like a valid color ( in semibold's case it returns 600 so #660000 hence the red decorator).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions