Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 625 Bytes

styles.md

File metadata and controls

29 lines (18 loc) · 625 Bytes

var styles = build.styles(nodes, [options])

options (in addition to builder options):

  • urlPrefx <''> - prefix urls, ex. //component.io/ will create urls like url("//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