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

Added package icon to glyph set #2378

Merged
merged 10 commits into from
Sep 26, 2019
Merged

Conversation

hbharding
Copy link
Contributor

@hbharding hbharding commented Sep 25, 2019

Summary

Created a package icon which will be used by the upcoming Integrations project as a placeholder for packages that don't have a 3rd party logo. This icon may be applicable for other use cases.

Artboard alignment

image

Rendered

image
image

Checklist

  • Checked in dark mode
    - [ ] Checked in mobile
    - [ ] Checked in IE11 and Firefox
    - [ ] Props have proper autodocs
  • Added documentation examples
  • Added or updated jest tests
    - [ ] Checked for breaking changes and labeled appropriately
    - [ ] Checked for accessibility including keyboard-only and screenreader modes
  • A changelog entry exists and is marked appropriately

@@ -0,0 +1,3 @@
<svg viewBox="0 0 14 14.69652">
Copy link
Contributor

Choose a reason for hiding this comment

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

Hmmm, it looks like maybe your optimizer optimized too much. The icon viewBoxes should always be 16x16.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Woops thanks good catch. I was having issue getting this to work as a single path in Figma, so I brought it into illustrator. Must have happened there on export

@hbharding hbharding changed the title Package icon Added package icon to glyph set Sep 25, 2019
@hbharding
Copy link
Contributor Author

Blah I just noticed I have some facet button commits in here from my last PR which got merged. Is that going to screw up anything?

Copy link
Contributor

@cchaos cchaos left a comment

Choose a reason for hiding this comment

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

LGTM!

@cchaos
Copy link
Contributor

cchaos commented Sep 25, 2019

Doesn't look like it based on the Diff.

@cchaos
Copy link
Contributor

cchaos commented Sep 25, 2019

And so long as you squash when merging.

@hbharding
Copy link
Contributor Author

I'm having second thoughts... I've done 3 iterations of the icon with slightly different perspective. The one i'm currently using is in the center. I'm leaning towards the option on the right, which leaves a little more whitespace around the vertical slit detail . Thoughts?

image

@cchaos
Copy link
Contributor

cchaos commented Sep 26, 2019

It's really up to you, I think either would work.

@ryankeairns
Copy link
Contributor

These look great... all options are good, I also vote #3 :)

@ryankeairns
Copy link
Contributor

@hbharding is the shot in the description the latest? It looks like the top and bottom points are bleeding over a bit.

@hbharding
Copy link
Contributor Author

Great thanks. Updated the icon. I'll merge once the checks complete

@hbharding hbharding merged commit 463b5ea into elastic:master Sep 26, 2019
@hbharding
Copy link
Contributor Author

@ryankeairns sorry i missed your comment before merging! The top/bottom does bleed into the area, but I noticed some of our other icons like node do that too. Think thats that okay?

image

@ryankeairns
Copy link
Contributor

ryankeairns commented Sep 26, 2019

Generally speaking, we do work to have things align to full pixels where possible. Obviously diagonal lines do not, for example, so it imperfect. In this his case, the top and bottom should. For that matter, node should as well.

This can be tracked and handled in a separate issue/PR. thanks!

snide pushed a commit to snide/eui that referenced this pull request Oct 10, 2019
* added package.js + package.svg

* added icon reference to icon.tsx and src-docs/.../icon.js

* update package icon

* updated changelog

* fixed svg viewbox

* update package icon

* updated icon test snapshot
@hbharding hbharding deleted the package-icon branch September 24, 2020 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants