Reworking how styles are built and how SVG styles are included

This commit is contained in:
Jeff Avallone
2015-11-01 07:39:33 -05:00
parent fb4b39e75b
commit fdb79beb79
5 changed files with 32 additions and 13 deletions
-7
View File
@@ -1,7 +0,0 @@
var fs = require('fs'),
path = require('path'),
config = require('../../config');
module.exports = fs.readFileSync(config.buildPath('css/svg.css'), {
encoding: 'utf-8'
});
+1 -1
View File
@@ -5,7 +5,7 @@
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
version="1.1">
<defs>
<style type="text/css">{{svg_styles}}</style>
<style type="text/css">{{> svg_styles}}</style>
</defs>
<metadata>
<rdf:RDF>