0

By including @import "compass/reset"; in my .scss file, I can have Compass automatically include a simple HTML5 reset. I'd like to use a different reset, so how can I add my own reset to Compass, or change the default one?

KatieK
  • 13,586
  • 17
  • 76
  • 90

1 Answers1

3

The simplest way would be to create a partial in the same directory like _reset.scss and import that.

The easiest way that would allow you to use it across projects would be to create your own Compass extension.

If you create a gem out of it (even just locally), you can just require it in your config.rbs and then @import it into your .scss files.

bookcasey
  • 39,223
  • 13
  • 77
  • 94