Making wordpress themes in SASS17 of Sep, 2012
Using SASS is great and provides lots of speed benefits for using preprocessors one thing is does do is removes comments by defaults when you compile a compress document.
This is great for file size until you need to make a wordpress theme that requires CSS comments to work.
Instead of using a CSS import with the @import in your CSS file you can save the extra http request with loud comments in sass.
/* This comment gets removed from sass compressed. */
/*! Theme Name: ThemeName Theme URI: http://www.URLHERE.com.au/ Description: This is how you implement loud comments so that wordpress continues to work Version: 1.0 Author: James Nowland Author URI: http://www.jamesnowland.com */ @import "compass/reset"; @import "screen/functions";