-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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(sketch): resolve sketch plugin color layer style duplication #7762
fix(sketch): resolve sketch plugin color layer style duplication #7762
Conversation
Deploy preview for carbon-elements ready! Built with commit e774911 |
Deploy preview for carbon-components-react ready! Built without sensitive environment variables with commit e774911 https://deploy-preview-7762--carbon-components-react.netlify.app |
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.
🎉
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.
381d201
to
7d3da2d
Compare
here is the updated plugin which should rename layers in place. the layers should now have the correct name format and no duplicate layers will be generated |
7d3da2d
to
891bf9a
Compare
891bf9a
to
c369682
Compare
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 see the correct color styles and they are maintaining overrides when I tested it 🎉
Closes #7734
related #5664 #5692 #5744
This PR resolves the color layer style duplication issue. Since we have changed direction in how we expect shared styles to be named, we can undo some changes initially introduced in #5744 to address #5692. We also add some logic to check for the breaking change in #5664 and rename the style layers in place
Changelog
Changed
formatSharedStyleName
to be more descriptiveRemoved
Testing / Reviewing
color style names should no longer contain style type, and any references to color style type should no longer be in the plugin codebase
carbon-elements.sketchplugin.zip