styles.md
April 1, 2014 ยท View on GitHub
var styles = build.styles(nodes, [options])
options (in addition to builder options):
urlPrefx<''> - prefix urls, ex.//component.io/will create urls likeurl("//component.io/fortawesome/font-awesome/v4.0.3/css/font-awesome.css")
Plugins
css()
This just appends the CSS file as a string.
build.styles()
.use('styles', builder.plugins.css())
string()
Includes a file as a string.
build.scripts()
.use('templates', builder.plugins.string());
Other
- autoprefixer - Autoprefixes the CSS files