nate-strauser / meteor-materialize-scss

Meteor MaterializeCSS Package in SCSS

Home Page:http://materializecss.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

INSTALL

$ meteor add fourseven:scss
$ meteor add poetic:materialize-scss
$ meteor remove materialize:materialize # if you have materialize installed

SCSS

Add the following lines to your last-loaded scss file (E.G. main.scss):

// If you want to override materialize sass variables you can uncomment the following:
// @import "{poetic:materialize-scss}/sass/components/_color.scss";
// $primary-color: color("blue", "lighten-2");

// import main scss file
@import "{poetic:materialize-scss}/sass/materialize.scss";

ICONS

Icons are automatically imported from this package.

You do NOT have to add an additional head element mentioned at http://materializecss.com/icons.html.

Read more about the MaterialIcons at https://google.github.io/material-design-icons/

JAVASCRIPT

Javascript is automatically imported from this package.

CHANGE LOG

  • 2015-11-22 update to materializecss 0.97.3

    • We rewrote the package as a fork and archived the previous gitrop. If you are looking for code in a version lower than 1.97.3, please check the archived repo. (Breaking)
  • 2015-10-01 update package for METEOR@1.2 (Breaking)

    • fourseven:scss is updated to 3.3.3_1
    • scss.json is not used anymore.
    • index.scss is not autoupdated anymore, you need to manullay update index.scss.
  • 2015-06-26 upgrade to 0.97.0

    • Icon Change (Breaking):

      <i class="mdi-content-add"></i> is still supported.

      However you should use <i class="material-icons">add</i> instead as metioned in the materialize doc.

FOR MAINTAINERS

  • HOW TO UPDATE TO NEW VERSIONS OF MATERIALIZECSS
git checkout master
git pull https://github.com/Dogfalo/materialize.git master
git checkout <previous-mms-version-on-github>
git checkout -b <next-mms-version>
git rebase <latest-stable-materializecss-version>
// test
meteor publish

About

Meteor MaterializeCSS Package in SCSS

http://materializecss.com

License:MIT License


Languages

Language:CSS 57.9%Language:JavaScript 40.7%Language:HTML 1.4%