Skip to content

Theme type generation #9

@nanoqoi

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"
  }
  ...
}

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