Skip to content

Theme tokens not working #567

Answered by peduarte
imadatyatalah asked this question in Help
Discussion options

You must be logged in to vote

A few things:

The config you're passing in is a copy/paste from the docs which isn't really a recommended config. It's more to show the keys available.

As a result of that you're passing in an empty "themeMap" object, so that's essentially removing all the mapping between properties and tokens.

Also, the insertion method needs to be one of the documented options or left out completely.

I'll improve the docs to make it clearer.

Remove these keys and other keys you're not making use of and it should work fine.

PS: for future reference please create issues instead of discussions for things like this. Thanks!

Replies: 1 comment 1 reply

Comment options

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

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