-
Notifications
You must be signed in to change notification settings - Fork 14
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
Feat: Adds tokens to ProductGrid
#127
Conversation
* Fixes Best Practices section * Creates `ProductGrid` tokens * Creates ProductGrid doc Co-Authored-By: Eduardo Formiga <[email protected]> * Updates Changelog * Fixes `ProductGrid` description typo Co-authored-by: Lucas Feijó <[email protected]> * Hides props that are not working for now * Improves BestPractices descriptions Co-authored-by: Eduardo Formiga <[email protected]> Co-authored-by: Lucas Feijó <[email protected]>
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Preview is readyThis pull request generated a Preview👀 Preview: https://sfj-b77d539--gatsby.preview.vtex.app |
Lighthouse ReportsHere are the Lighthouse reports of this Pull Request📝 Based on commit b77d539
|
…om/vtex-sites/gatsby.store into feat/theming-product-grid-fsss-391
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving because it looks the same as vtex-sites/nextjs.store#144 👍
What's the purpose of this pull request?
Ported from
next.store
repo: Adds tokens to ProductGrid #144This PR applies the new Theming structure to
ProductGrid
: new scoped tokens linked to global ones.How does it work?
This PR uses local variables to parameterize the
ProductGrid
properties, then connects these scoped tokens to the global ones.Tokens list can be visualized in the storybook.
How to test it?
ProductGrid
component and its related components should look just as it was before these changes.Checklist
Changelog
CHANGELOG.md
at the beginning of its due section. The latest version should comes first.CHANGELOG.md
. E.g., New items in thepull_request_template.md
(#4)PR Description
Breaking change
,Enhancement
,Bug
orChore
.ComponentName
component.Documentation