Skip to content
Phil Hofmann edited this page May 14, 2019 · 1 revision

Icons

We use SVG symbols for the icons. All icons can be found here: voicerepublic.com/pages/icons.

A Grunt task has been set up in the repository to convert SVG files into the correct symbol markup and add it to the icons partial:

Inside the root directory of the project, run

grunt

Any SVG file added to lib/svg will be processed and can be referred to by the various helpers, i.e. inside Rails HAML:

icon 'megaphone'

or

naked_icon 'megaphone'

Clone this wiki locally