Skip to content

Latest commit

 

History

History
executable file
·
51 lines (31 loc) · 2.02 KB

README.md

File metadata and controls

executable file
·
51 lines (31 loc) · 2.02 KB

Dashicons

Dashicons, the WordPress admin icon font. For the official documentation, please refer to the according WordPress Developer Resource.

For new icon requests, please create a new issue on this GitHub repository. If you'd like to work an an icon request, check out our WIP Dashicons style guide.

For any bugs that appear within WordPress core, please create a new ticket on WordPress Trac. Use the "Administration" component and the "ui" focus when creating the new ticket, and be sure to include "Dashicons" somewhere in the text of the ticket.

Dashicons is licensed under GPLv2, or any later version with font exception.

Building / Installing

To build Dashicons, make sure you have Node JS installed. The next steps are platform specific. Once all steps for your platform are complete, you can type npm run build on the commandline to generate the minified SVG files and sprite.

Mac

Start by installing Brew. You may need to use sudo for brew, depending on your setup.

Then on the commandline:

brew install ttfautohint fontforge --with-python
npm install

Linux

On the commandline:

sudo apt-get install fontforge ttfautohint
npm install

Windows

On the commandline:

npm install

Then install ttfautohint (optional).

Then install fontforge.

  • Download and install fontforge.
  • Add C:\Program Files (x86)\FontForgeBuilds\bin to your PATH environment variable.

Adding an icon

Once you're installed, to add an icon, save an SVG in the svg folder, then run the npm run build command on the commandline.