ember-cli-atomizer

0.1.0 • Public • Published

ember-cli-atomizer

Use Atomizer to generate Atomic CSS from your ember templates.

Installation

ember install ember-cli-atomizer

Usage

By default this addon will process app/templates/**/*.hbs to generate Atomic CSS rules using atomizer. Generated css will be imported into vendor.css.

You can specify options using the ember-cli-atomizer config property in ember-cli-build.js:

  'ember-cli-atomizer': {
    // Directory or directories of templates.
    // 'app/templates' by default.
    dir: <string|string[]>,
 
    // Pattern to match template files. [Glob](https://github.com/isaacs/node-glob) is used.
    // '**/*.hbs' by default.
    pattern: <string>,
 
    // [Atomizer](https://github.com/acss-io/atomizer) config (optional). [example-config.js](https://github.com/acss-io/atomizer/blob/master/examples/example-config.js)
    // `undefined` by default.
    config: <object>
  }

Package Sidebar

Install

npm i ember-cli-atomizer

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

6.31 kB

Total Files

5

Last publish

Collaborators

  • nag5000