mozfet / meteor-autoform-materialize

Meteor AutoForm Materialize templates
https://atmospherejs.com/mozfet/autoform-materialize
MIT License
10 stars 6 forks source link

Only import _variables.scss since it contains everything we need. #28

Closed Wicloz closed 6 years ago

Wicloz commented 6 years ago

This will prevent loading materialize twice in some setups, without any downsides.

mozfet commented 6 years ago

Thank you.

mozfet commented 6 years ago

I tested this in the playground, but it breaks the playground with error message:

While processing files with fourseven:scss (for target web.browser):
   /packages/mozfet_autoform-materialize/style.scss: Scss compiler error: argument `$color` of `lighten($color,
   $amount)` must be a color

   Backtrace:
   {}/node_modules/materialize-css/sass/components/_variables.scss:39, in function `lighten`
   {}/node_modules/materialize-css/sass/components/_variables.scss:39
Wicloz commented 6 years ago

Sorry, totally forgot that variables requires color I can add it when I'm home

mozfet commented 6 years ago

No worries, I fixed it in V3.5.4, and published it on Atmosphere.

Wicloz commented 6 years ago

Thank you, these packages are a great help.