-
Notifications
You must be signed in to change notification settings - Fork 1
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: Add new tokens to SkuSelector
[FS-379]
#202
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Preview is readyThis pull request generated a Preview👀 Preview: https://preview-202--nextjs.preview.vtex.app |
Lighthouse ReportsHere are the Lighthouse reports of this Pull Request📝 Based on commit 55449f1
|
5780d3a
to
9bd7a5c
Compare
@@ -0,0 +1,172 @@ | |||
@import "src/styles/scaffold"; | |||
|
|||
@mixin sku-selector-focus-ring { |
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.
should we move this to utilities.scss
file? Or specific enough to leave it here? 🤔
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.
I was thinking about this too, move this to another file. But is way specific indeed, idk if it would make sense..
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.
oh okay. Let's keep it here then... 👍
|
||
<Canvas> | ||
<Story | ||
name="overview-default-1" |
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.
name="overview-default-1" | |
name="overview-default" |
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.
Humm, idk about it because of the self-titled thing, I think |
f0a06de
to
e73808d
Compare
Well Done 🌟 |
I think we can go ahead and think about it afterward! |
e73808d
to
55449f1
Compare
* chore: Apply patch from vtex-sites/nextjs.store#202 * fix: `SkuSelector` exports Co-authored-by: Fanny Chien <[email protected]>
What's the purpose of this pull request?
This PR intends to apply new tokens to
SkuSelector
based on the new Theming structure: new scoped tokens linked to global ones.How does it work?
This PR uses local variables to parameterize the
SkuSelector
properties, then connects these scoped tokens to the global ones.How to test it?
These changes should not affect the
SkuSelector
behavior. It can be tested through Storybook, inside theSkuSelector
page.Checklist
PR Title and Commit Messages
feat
,fix
,chore
,docs
,style
,refactor
,perf
, andtest
PR Description
Breaking change
,Features
,Bug fixes
,Chore
,Documentation
,Style changes
,Refactoring
,Performance
, andTest
ComponentName
component,useWindowDimensions
hookDocumentation