As of version 2.0.0 of this package used v1.0.0 of materialize. There were signifigant changes between 0.9.* and 1.0 so more than likely, you will need to fix some things in your project after you upgrade. If you dont want to upgrade, just use the older version of this package with meteor add gantrim:materialize-stylus@=1.2.0
or api.use('gantrim:[email protected]');
Please also see the version 1 documentation
As of v1.2.0 this package has switched to using the coagmano:stylus package instead of the bundled meteor stylus package. This is because the meteor stylus package is being deprecated after 2.513.14. This package may continue to work with the bundled meteor stylus package, but I cannot gurantee anything. If you want to keep using the bundled meteor stylus package, please pin the package at v1.1.8 using meteor add gantrim:materialize-stylus@=1.1.8
or by doing api.use('gantrim:[email protected]');
inside your package.js
Materialize v1.0.0-rc.2 Packaged for meteor and using stylus. This packages allows you to use all variables available in the SCSS materialize package with the clean syntax of stylus.
Please make sure to remove the base meteor materialize package. This package has everything you need.
$ meteor add coagmano:stylus
$ meteor add gantrim:materialize-stylus
After you have added this package, create a main .styl
file and add the following
/ Color
@require "{gantrim:materialize-stylus}/lib/styl/components/color-variables.import";
@require "{gantrim:materialize-stylus}/lib/styl/components/color-classes.import";
// Variables;
@require "{gantrim:materialize-stylus}/lib/styl/components/variables.import";
// a file that contains your customized materialize variables.
@require 'PATH_TO_YOUR variables.import.styl'
// Materialize components
@require "{gantrim:materialize-stylus}/lib/styl/materialize.styl";
You can view all available variables here
Bug fixes and pull requests welcome. At the very least, if you notice an issue please open an issue on github.