icon size
See original GitHub issueHi, why the icon size is multiplied by 1.5 ?
I refer to this snippet:
const width = typeof size === "string" ? size : `${size * 1.5}rem`;
I am wrapping @mdi/react
icon to add isSmall
, isLarge
props: I expected that size would be passed as is.
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Choosing the Right Size and Format for Icons - Icons8 Blog
Choosing the Right Size and Format for Icons ; iOS 9, 58×58, 80×80, 120×120, 152×152, 180×180, 1024×1024 ; Windows 10, 16×16, 24×24, 32×32,...
Read more >IBM Design Language – UI icons
Icons have been designed to work best in four sizes: 16px, 20px, 24px, and 32px. Please use icons at their originally produced size....
Read more >Sizing Icons | Font Awesome Docs
We'll cover the basics of industry standard sizing recommendations, and how you can size icons up when it's useful, or when text alignment...
Read more >Windows Icon Size Guide (Win 7 ICO Format) |
Standard Windows Icon Size for ICO format · 256 x 256 pixels – 32bit (24bit colour, 8bit transparency) · 48 x 48 pixels...
Read more >How To Change Icon Size (Windows 10) - Software Advice
Changing the size of your PC's desktop, taskbar, and File Explorer icons is a simple yet valuable computer personalization technique that helps ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Templarian thanks, I am going to check it out. I will probably using your package in production at my new job, just in few minutes I am going to discuss about some proposal and among many others there will be this package.
Ahah I was like cause it was what I was looking for and it was just created, I putted like the fifth star on GitHub.
Thanks for sharing your software and for your passion, I hope you can find useful some packages I shared or at least I will try to contribute with feedbacks and maybe PRs.
Have a nice day, Gianluca.
Since you’re passing a string it will continue to work the same after the changes go out for v1.0.0. Your feedback along with 2 others convinced me we should change the default functionality in the final release, so thanks!