Package Exports
- ember-cli-materialize
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ember-cli-materialize) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
ember-cli-materialize
An ember-cli addon for using Materialize (CSS Framework based on Material Design) in Ember applications.
*Materialize Version ~0.96.0
Main features
- Imports Materialize sass (via ember-cli-sass) and fonts into your app.
- It's a components library for all Materialize components
Usage
The online demo demonstrates all components with all possible options.
Or you can download the demo:
$ sudo npm install -g ember-cli
$ git clone git@github.com:sgasser/ember-cli-materialize
$ cd ember-cli-materialize
# install dependencies
$ npm install && bower install
# fire up local server
$ ember serve
Configuration
Using SASS makes configuring the color scheme simple. Just make sure you import components/color
and components/variables
before materialize
like the example below.
// Example app.scss
@import 'components/color';
@import 'components/variables';
// Custom color settings go here
$primary-color: color("pink", "lighten-2");
@import 'materialize';
See the materialize docs on sass variables here.
Installation
$ ember install:addon ember-cli-materialize
Contributing
See CONTRIBUTING file.
License
ember-cli-materialize is released under the MIT License. See the bundled LICENSE file for details.