[wp-trac] [WordPress Trac] #31352: Media icons are not retina friendly

WordPress Trac noreply at wordpress.org
Sat Feb 10 07:08:52 UTC 2024


#31352: Media icons are not retina friendly
-------------------------------------------------+-------------------------
 Reporter:  iseulde                              |       Owner:  joedolson
     Type:  defect (bug)                         |      Status:  accepted
 Priority:  normal                               |   Milestone:  6.5
Component:  Media                                |     Version:  3.9
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing dev-         |     Focuses:  ui,
  feedback                                       |  administration
-------------------------------------------------+-------------------------

Comment (by sabernhardt):

 I took the collection from dashicons-media-svgs.zip, used Adobe
 Illustrator to move the contents to the upper left corner of the image,
 exported at 500 by 500, resized the `viewBox` to 300 by 400, and ran the
 graphics through [https://svgomg.net/ optimization].

 Note:
 - The fill color is `#888888`.
 - The path numbers could be reduced for a smaller `viewBox`, but I would
 want to make sure the rest of the patch works well first.
 - I updated the default graphic's extension in `wp-playlist.js`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/31352#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list