Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix false usage of themeMap #25

Merged
merged 2 commits into from
Jun 5, 2022
Merged

Fix false usage of themeMap #25

merged 2 commits into from
Jun 5, 2022

Conversation

alexaragao
Copy link
Contributor

Hello again!
I've noticed some issues related to themeMap configuration. The types definitions are fine, but the expected usage is quite different from the web stitches. ThemeMap is suppose to be a map of tokens to scales, but the code is using a map of scale to an object of a map of tokens to scales.
I've created a processThemeMap function to parse the themeMap of the config object into the used object structure.

Copy link
Owner

@Temzasse Temzasse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot! Great job 👍🏻 (sorry for slow review)

@Temzasse Temzasse merged commit 300f515 into Temzasse:main Jun 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants