Reworking how styles are built and how SVG styles are included
This commit is contained in:
@@ -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'
|
||||
});
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user