In Rails 4.2 I want to transition from using "Materialize" to style the views to using "Material Design Lite"
The Materialize styles require me to have @import 'materialize';
in application.scss
and the MDL styles require me to have @import 'material';
in the same file.
My problem is that when I import the Materialize styles it breaks the MDL ones. If I remove the Materialize import statement the MDL styles work, but any page that I haven't transitioned to MDL styles is then completely unstyled.
It's too big an app to make the transition to MDL in one go. I want to have some pages styled with MDL while others are styled with Materialize during the transition process.
Is there any way of of making the import statement in application.scss
conditional on which page the user is viewing?