[wp-trac] [WordPress Trac] #17428: Update star.gif file

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 14 16:33:16 UTC 2011


#17428: Update star.gif file
----------------------------+------------------
 Reporter:  tillkruess      |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  3.2
Component:  Graphic Design  |     Version:  3.2
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |
----------------------------+------------------

Comment (by dd32):

 minimum needed here:
  * new image for Gray theme (Already attached here), has a #f9f9f9
 background. Existing star.gif (#fff) in core is good for Blue theme.
  * Alteration needed in the code is to replace the 15 instances of {{{echo
 admin_url('images/star.gif');}}} with some kind of conditional, if Gray
 theme use images/gray-star.png, else, use star.gif. Not sure if we have a
 Colour-scheme helper function we can use here?

 Will investigate point 2 tomorrow.

 Notes:
  * Can't use CSS thanks to these being actual <img>'s (can't change that
 either)
  * New png looks much less pixelated and smooth edged, nice compared to
 the old one

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17428#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list