开源软件名称(OpenSource Name):mike-north/ember-cli-materialize开源软件地址(OpenSource Url):https://github.com/mike-north/ember-cli-materialize开源编程语言(OpenSource Language):JavaScript 71.3%开源软件介绍(OpenSource Introduction):ember-cli-materializeAn ember-cli addon for using Materialize (CSS Framework based on Material Design) in Ember applications. Ember 2.0 Friendly Materialize Version ~0.97.0 Which version do I use?
Main features
UsageThe 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:mike-north/ember-cli-materialize
$ cd ember-cli-materialize
# install dependencies
$ npm install && bower install
# fire up local server
$ ember serve ConfigurationStyleUsing SASS makes configuring the color scheme simple. Just make sure you import // Example app.scss
@import 'components/color';
// Custom color settings go here
$primary-color: color("pink", "lighten-2");
@import 'components/variables';
@import 'materialize';
@import 'ember-cli-materialize'; See the materialize docs on sass variables here. DefaultsSome of the library's defaults can be set via your config/environment.js file module.exports = function(/* environment, appConfig */) {
var ENV = {
materializeDefaults: {
modalIsFooterFixed: false,
buttonIconPosition: 'left',
loaderSize: 'big',
loaderMode: 'indeterminate',
modalContainerId: 'materialize-modal-root-element',
dropdownInDuration: 300,
dropdownOutDuration: 300
},
...
};
} Installation$ ember install ember-cli-materialize PhantomJSIf you are using PhantomJS version 1.9.x as a test runner then after installing this addon you may experience test failures when running tests via This is due to the known limitation in PhantomJS 1.9 not providing a TestingThis addon is continuiously integrated against the following framework versions
ContributingSee CONTRIBUTING file. Special ThanksSpecial thanks to Stefan Gasser for creating and originally maintaining this great library Licenseember-cli-materialize is released under the MIT License. See the bundled LICENSE file for details. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论