Icons for the legacy Ember UI are in the
emberbranch of this repository.
Icons used by the Rancher Dashboard UI.
You can preview the icons available here: https://rancher.github.io/icons/
To build the icon font:
- yarn install
- yarn build
The font files are generated in the 'dist' folder.
You can open the file index.html in the dist folder to view the available icons.
- Add any new SVGs to the
svgfolder - Update the version number in
package.json - Commit the changes to this repository
- Build and upload the font by running
yarn run upload
You may want to add icons to the icon set and validate things are working correctly before publishng a new icon font.
You can to this by checking out the Rancher Dashboard UI, building the icon font using yarn build and then use yarn copy [PATH] where [PATH] is the path to your local
checkout of the Dashbord repository. The copy script will copy the built font into the node_modules/rancher-icons folder of Dashboard.