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

STUDIO-2240 Add speaker, battery, charger icons #1037

Merged
merged 7 commits into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/svgs/battery.svg

Choose a reason for hiding this comment

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

Is this exported from the figma file? It is a bit strange that the icon is not in the middle of the canvas 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah it is, what do you mean it is not in the middle?
image

Copy link
Contributor Author

@badiuoanaalexandra badiuoanaalexandra May 15, 2024

Choose a reason for hiding this comment

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

It has viewBox="0 0 8 14" , and other ones have 18 18, but at least when showing the icon it looks like it is in the middle ? If I change that then it doesn't show in the middle anymore

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Maybe I should ask Stephen to export them with viewbox of 18 18?

Copy link
Contributor Author

@badiuoanaalexandra badiuoanaalexandra May 15, 2024

Choose a reason for hiding this comment

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

Where do you see that it is not in the middle? At least if I run the app it they all look correct?

Choose a reason for hiding this comment

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

image
I mean the left side looks having 2 pixel padding

Copy link
Contributor Author

@badiuoanaalexandra badiuoanaalexandra May 15, 2024

Choose a reason for hiding this comment

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

aaaah.. didn't even notice this.. I'll try to see if I can export it without that

Copy link
Contributor Author

@badiuoanaalexandra badiuoanaalexandra May 15, 2024

Choose a reason for hiding this comment

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

can you check again? I exported it with viewBox="0 0 16 16" (a bit above than before)

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions src/svgs/charger.svg

Choose a reason for hiding this comment

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

Why are charger.svg and speaker.svg are white by default?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It just exported it like that, I removed the fill

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/svgs/speaker.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading