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(icon): embiggen caret and sort carets icons #5412

Merged
merged 18 commits into from
Feb 25, 2020

Conversation

chrisconnors-ibm
Copy link
Contributor

@chrisconnors-ibm chrisconnors-ibm commented Feb 20, 2020

"A noble spirit embiggens us all"
- Jedidiah Springfield

2 for one. Enlarges the carets and sort caret variants per @mjabbink and adjusts their geometries to improve their scaling (especially to 16px) eliminating a host of bespoke 16 px icons

Changelog

Changed

  • adjusts geometry of
    32/caret--down.svg
    32/caret--left.svg
    32/caret--right.svg
    32/caret--sort--down.svg
    32/caret--sort--up.svg
    32/caret--sort.svg
    32/caret--up.svg
    deletes -16 props from packages/icons/icons.yml for removed assets

Removed

  • deletes
    16/caret--down.svg
    16/caret--left.svg
    16/caret--right.svg
    16/caret--sort--down.svg
    16/caret--sort--up.svg
    16/caret--sort.svg
    16/caret--up.svg

Testing / Reviewing

Review these preview icons on @2x and @1x screens:
https://deploy-preview-5412--carbon-elements.netlify.com/icons/examples/preview/#32%2Fcaret--down
https://deploy-preview-5412--carbon-elements.netlify.com/icons/examples/preview/#32%2Fcaret--down%20(Downsized%20to%2016)

https://deploy-preview-5412--carbon-elements.netlify.com/icons/examples/preview/#32%2Fcaret--up
https://deploy-preview-5412--carbon-elements.netlify.com/icons/examples/preview/#32%2Fcaret--up%20(Downsized%20to%2016)

https://deploy-preview-5412--carbon-elements.netlify.com/icons/examples/preview/#32%2Fcaret--left
https://deploy-preview-5412--carbon-elements.netlify.com/icons/examples/preview/#32%2Fcaret--left%20(Downsized%20to%2016)

https://deploy-preview-5412--carbon-elements.netlify.com/icons/examples/preview/#32%2Fcaret--right
https://deploy-preview-5412--carbon-elements.netlify.com/icons/examples/preview/#32%2Fcaret--right%20(Downsized%20to%2016)

https://deploy-preview-5412--carbon-elements.netlify.com/icons/examples/preview/#32%2Fcaret--sort
https://deploy-preview-5412--carbon-elements.netlify.com/icons/examples/preview/#32%2Fcaret--sort%20(Downsized%20to%2016)

https://deploy-preview-5412--carbon-elements.netlify.com/icons/examples/preview/#32%2Fcaret--sort--up
https://deploy-preview-5412--carbon-elements.netlify.com/icons/examples/preview/#32%2Fcaret--sort--up%20(Downsized%20to%2016)

https://deploy-preview-5412--carbon-elements.netlify.com/icons/examples/preview/#32%2Fcaret--sort--down
https://deploy-preview-5412--carbon-elements.netlify.com/icons/examples/preview/#32%2Fcaret--sort--down%20(Downsized%20to%2016)

enlarge the caret icons and scale friendly dimensions
enlarge the caret icons and scale friendly dimensions
enlarge the caret icons and scale friendly dimensions
remove redundant 16s
@netlify
Copy link

netlify bot commented Feb 20, 2020

Deploy preview for carbon-elements ready!

Built with commit 8b7db5a

https://deploy-preview-5412--carbon-elements.netlify.com

@netlify
Copy link

netlify bot commented Feb 20, 2020

Deploy preview for carbon-components-react ready!

Built with commit 8b7db5a

https://deploy-preview-5412--carbon-components-react.netlify.com

@chrisconnors-ibm chrisconnors-ibm changed the title fix (icon): embiggen caret and sort carets icons WIP (icon): embiggen caret and sort carets icons Feb 21, 2020
@designertyler
Copy link
Contributor

Here are the new caret sizes mocked up with the data tree. They seem huge and would probably require extra padding when paired with the file type icon.

Is this the result we were expecting from this PR?

image

slightly smaller
tweaking the size relative to other assets
@chrisconnors-ibm
Copy link
Contributor Author

chrisconnors-ibm commented Feb 21, 2020

agree: was working w Conrad as you made that accurate observation :) .

original on the left, new size on the right:
image
image

@chrisconnors-ibm
Copy link
Contributor Author

chrisconnors-ibm commented Feb 21, 2020

mocked up with the sizes just pushed:
image

sort tweaked down
increase spacing between up and down
increases distance netween now awkwardly named --sort variants
@chrisconnors-ibm chrisconnors-ibm changed the title WIP (icon): embiggen caret and sort carets icons WIP(icon): embiggen caret and sort carets icons Feb 21, 2020
@chrisconnors-ibm chrisconnors-ibm changed the title WIP(icon): embiggen caret and sort carets icons fix(icon): embiggen caret and sort carets icons Feb 21, 2020
@chrisconnors-ibm
Copy link
Contributor Author

#5421 depends on this PR.

@mjabbink
Copy link

👍

@tw15egan tw15egan merged commit 29f416d into carbon-design-system:master Feb 25, 2020
@chrisconnors-ibm chrisconnors-ibm deleted the bigger-caret branch February 25, 2020 18:30
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.

8 participants