diff --git a/Gruntfile.js b/Gruntfile.js index 4516193f..9ffe3269 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -178,6 +178,26 @@ module.exports = function (grunt) { } }, + /** + * Compile our SVG's into fonts. This is a utility method only which + * needs to be executed manually. + */ + webfont: { + custom_icons: { + src: dir.source + '/fonts/src/*.svg', + dest: dir.source + '/fonts', + destCss: dir.source + '/theme/base', + options: { + font: 'custom_icons', + syntax: 'bem', + htmlDemo: false, + stylesheet: 'css', + relativeFontPath: '../../fonts', + hashes: false + } + } + }, + /** * grunt html2js * diff --git a/package.json b/package.json index 1253b13a..083ad292 100644 --- a/package.json +++ b/package.json @@ -53,6 +53,7 @@ "grunt-protractor-runner": "0.2.3", "selenium-standalone": "2.39.0-2.7.0", "karma-html-reporter": "0.1.1", - "grunt-connect-proxy": "0.1.10" - } + "grunt-connect-proxy": "0.1.10", + "grunt-webfont": "0.4.2" + } } diff --git a/src/app/storyboard/template/header_menu.html b/src/app/storyboard/template/header_menu.html index 61d0f646..f322976a 100644 --- a/src/app/storyboard/template/header_menu.html +++ b/src/app/storyboard/template/header_menu.html @@ -31,7 +31,10 @@