Google's Material Design Lite for Ember.js apps
This addon requires ember >= 1.11.0
# ember-cli < 0.2.3
ember install:addon ember-material-lite
# ember-cli >= 0.2.3
ember install ember-material-lite
This addon can be used without SASS (relying on pure CSS for styles). If you choose this path, you'll need to alter your app slightly.
- Delete the
ember-cli-sass
NPM dependency that the installation blueprint will add to your app. - Add the following line to your
ember-cli-build.js
.
app.import(app.bowerDirectory + '/material-design-lite/material.css');
You can customize the colors of material design elements globally by setting sass variables prior to importing the main styles.
app/styles/app.scss
@import "_color-definitions";
$color-primary: $palette-teal-500;
$color-accent: $palette-pink-A200;
@import "material-design-lite";
ember test
ember test --server
ember build
For more information on using ember-cli, visit http://www.ember-cli.com/.