Why there are multiple icon images in icons folder? #2384
-
Ignite is managing 3 different sized images of one icon, what is the purpose of it? If i want to add new icon should i add 3 images of 24, 48 and 72 pixels> |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @maqeelqureshi thanks for your question! This comes from the Developer Guidelines from Apple/Android where it's mentioned under best practices: https://developer.apple.com/design/human-interface-guidelines/foundations/images/#best-practices This allows for the image to scale across larger devices with higher screen densities. You could also use a vector image, such as an SVG if you didn't want to provide the three different sizes like you see in the boilerplate. |
Beta Was this translation helpful? Give feedback.
Hey @maqeelqureshi thanks for your question! This comes from the Developer Guidelines from Apple/Android where it's mentioned under best practices: https://developer.apple.com/design/human-interface-guidelines/foundations/images/#best-practices
This allows for the image to scale across larger devices with higher screen densities.
You could also use a vector image, such as an SVG if you didn't want to provide the three different sizes like you see in the boilerplate.