Skip to content

Migrate pandacss config to strict #12

Description

@OzakIOne

In our current config strictTokens is set to false which means we won't have typechecking for properties that have config tokens, such as color, bg, borderColor, etc

We should also set strictPropertyValues which will throw for properties that do not have config tokens, such as display, content, willChange, etc. when the value is not a predefined CSS value.

https://panda-css.com/docs/concepts/writing-styles#type-safety

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions