A Meteor package for Normalize.scss
Normalize.css is a customisable CSS file that makes browsers render all elements more consistently and in line with modern standards. The project relies on researching the differences between default browser styles in order to precisely target only the styles that need or benefit from normalizing.
- Make sure to add sass support to your meteor app:
meteor add fourseven:scss
- From within your Meteor app's directory:
meteor add httpstr:normalize.scss
- Simply import Normalize.scss at the top of your sass file below any other
@import
*.scss
@import "{httpstr:normalize.scss}/normalize";
*.sass
@import "{httpstr:normalize.scss}/normalize"
Because Meteor will attempt to compile you app's local stylesheets prior to copying the server assets directory, the first time you run the app after installing the package your app will complain that it is unable to find it. For the moment this can be resolved by either stopping and restarting the app, at which point you should no longer get this error message, our running touch
on your local stylesheet thats attempting to access the package, triggering a reload.