EasyAdminBundle icon indicating copy to clipboard operation
EasyAdminBundle copied to clipboard

Upgrade internal icons to FontAwesome 7

Open Seb33300 opened this issue 2 months ago • 3 comments

Upgrade internal icons to FontAwesome 7

Note: Created as draft for now because it looks like there is an issue with the new icons, some of them are cropped: https://github.com/FortAwesome/Font-Awesome/issues/20831

Seb33300 avatar Oct 20 '25 04:10 Seb33300

In the related issue that you opened in FontAwesome, they replied that this is intended and we must use overflow to let the new icons grow beyond the original size. Not sure how it's going to look in the UI 😐

javiereguiluz avatar Oct 23 '25 18:10 javiereguiluz

Yeah, that's a weird decision. But they also suggested to use the full SVG version.

Full SVG are all the same size (square images) with margin on sides: https://github.com/FortAwesome/Font-Awesome/blob/7.x/svgs-full/solid/lock.svg https://github.com/FortAwesome/Font-Awesome/blob/7.x/svgs-full/solid/arrow-up.svg

Should we try to use full size instead? They may look a bit smaller, but the good point is that all icons will have the exact same size.

Seb33300 avatar Oct 24 '25 02:10 Seb33300

Should we try to use full size instead?

Yes, I think that makes sense. We can make some CSS tweaks if neede to fix some size issues. If this is too much work, don't worry: just update the icons and I'll take the time to fix the CSS issues. Thanks!

javiereguiluz avatar Oct 24 '25 06:10 javiereguiluz