[wp-trac] [WordPress Trac] #41074: Create new Dashicons (4.9)
WordPress Trac
noreply at wordpress.org
Tue Oct 23 06:49:39 UTC 2018
#41074: Create new Dashicons (4.9)
---------------------------+------------------------
Reporter: EmpireOfLight | Owner: netweb
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 5.0
Component: Editor | Version: 4.9
Severity: normal | Resolution:
Keywords: needs-refresh | Focuses: ui
---------------------------+------------------------
Comment (by Joen):
> if this doesn't land in 5.0, it would be great to find another way to
get the Tide dashicon available so it can be used in various community and
marketing locations on make.
https://github.com/WordPress/dashicons/issues/248 has been waiting
patiently and would be ideal to have that landed ahead of this years'
WCUS.
> The tide icon is in the current master branch of dashicons... what else
needs to happen?
So because of all the changes that's happened to Dashicons in the past
year, it might be worth a quick summary.
- Dashicons are now automatically built using a build process. Grunt is
used as a tool to convert a folder full of SVG files into an icon font, an
SVG sprite, a folder of minimized and optimized SVG files, and a React
component.
- Development happens in https://github.com/WordPress/dashicons
- The SVG files converted, one 20x20px SVG for each icon, are stored in
the `sources/svg` folder:
https://github.com/WordPress/dashicons/tree/master/sources/svg — any SVG
file in that folder goes into the icon font.
- SVG files stored in the `sources/svg/gutenberg` do not go into the icon
font. These only go into the React component.
So Ben is right. The tide icon is part of the icon font.
So what needs to happen? Well, we need to use the new icon font that's
built from the SVG files,
https://github.com/WordPress/dashicons/tree/master/icon-font, in
WordPress, and replace the old icon font files. @netweb do you have more
info on how to make this happen?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41074#comment:66>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list