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(icons-shared): generate all symbols from 32px assets #6912

Conversation

emyarod
Copy link
Member

@emyarod emyarod commented Sep 25, 2020

Closes #5758
Ref #5749
Related #5170
Related #5597

This PR updates the Sketch plugin to generate all icon size variants from the 32px assets, which addresses existing icon skew and artboard positioning issues in Sketch. A few of the icons still show some issues, but those will be addressed as part of #5749 when transparent rectangles are added to the SVG source

Changelog

Changed

  • always generate icon size variants from 32px asset

Testing / Reviewing

Sync the 16/20 and 24/32 icons in sketch using the attached plugin.

carbon-elements.sketchplugin.zip

The <32px assets should look identical to the 32px assets when they are scaled down to the same size

@netlify
Copy link

netlify bot commented Sep 25, 2020

Deploy preview for carbon-elements ready!

Built with commit e9f8851

https://deploy-preview-6912--carbon-elements.netlify.app

@netlify
Copy link

netlify bot commented Sep 25, 2020

Deploy preview for carbon-components-react ready!

Built without sensitive environment variables with commit e9f8851

https://deploy-preview-6912--carbon-components-react.netlify.app

Copy link
Member

@laurenmrice laurenmrice left a comment

Choose a reason for hiding this comment

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

Looks good to me! Icons are coming in from the plugin with the 32px and scaling properly.

add--filled , apps, chevron--mini , and menu will automatically be fixed when transparent rectangles are added to the 32px asset. 👍🏻

Copy link
Contributor

@andreancardona andreancardona left a comment

Choose a reason for hiding this comment

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

yay!

@kodiakhq kodiakhq bot merged commit 2f61742 into carbon-design-system:master Sep 28, 2020
@emyarod emyarod deleted the 5758-sketch-plugin-icon-rendering-issues branch September 28, 2020 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[icons] rendering problems with sketch
4 participants