poetic/meteor-materialize-scss

Is it possible not to include the CSS twice when overriding variables?

vincentbello opened this issue · 1 comments

fourseven:scss seems to bundle in all of the Materialize SCSS. When adding the @import "{poetic:materialize-scss}..." statements to the last loaded SCSS file, the (mostly) same styles get bundled again.
Is this an issue with fourseven:scss? Is there a way to specify that we only want the Materialize SCSS explicitly loaded via an @import statement?
Thanks in advance!

I think the only file (if any) that is loaded twice is the _color.scss file if you want to use the color functions from materializecss. If you do not need these color functions, you do not need to import _color.scss and you will not bundle the same css file.

If you DO need the color functions, you can import the scss one by one instead of importing the materialize.scss file if you really want to only bundle them once.