Skip to content

Theme type generation #9

Description

@nanoqoi

There is a problem with installing the package where theme types won't generate correctly and won't override the package default theme types. A solution has been provided for now but a non-ideal one at best.

Snippet from README.md:

Theme types

You will need to manually add a script to generate types for now until another solution is available.

{
  ...
  "scripts": {
    "postinstall": "npx @chakra-ui/cli tokens ./node_modules/@jpbbots/censorbot-components/lib/theme/index.js"
  }
  ...
}

Activity

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

Metadata

Metadata

Assignees

Labels

buildChanges regarding the build process or dependenciesfixChanges that fix a bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions