Skip to content

Chakra CLI postinstall #6099

Answered by stevaras
vlbin asked this question in Q&A
May 24, 2022 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

@stevaras I did some explaining here, #4097. is that helpful?

Yes it is. Although I was coming here to tell you that I managed to make it work.
Probably yours is cleaner and more sophisticated, but what I ended up doing is :

    "gen:theme-typings": "chakra-cli tokens ./dist/index.cjs.js --out ../../@chakra-ui/styled-system/dist/theming.types.d.ts",

This seems to make it work in the consumer ( of my custom theme ) app :D

But thanks for also replying. I'll might take a deeper look at some point to your suggestion/solution <3

Thanks :)

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@vlbin
Comment options

Comment options

You must be logged in to vote
1 reply
@vlbin
Comment options

Answer selected by vlbin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants