thomas-mcdonald/bootstrap-sass — Issue #34: Use Sass’s @import directive?
Author: allaire
Created: 2012-02-01 02:31:49+00:00
State: open

From SASS's website:
@import
Stylesheets can get pretty big. CSS has an @import directive that allows you to break your styles up into multiple stylesheets, but each stylesheet takes a separate (slow) HTTP request. That’s why Sass’s @import directive pulls in the stylesheets directly. Not only that, but any variables or mixins defined in @imported files are available to the files that import them.

Sass has a naming convention for files that are meant to be imported (called “partials”): they begin with an underscore. Let’s create a partial called _rounded.scss to hold our rounded mixin.

In order to support both .scss and .sass files, Sass allows files to be imported without specifying a file extension. That means we can just import "rounded", rather than "rounded.scss".

I checked the gem, and it looks like it does not use the underscore convention to import the files. Do you have a trick behind this or do you use the normal css slow import like they mention? If it's the case, maybe converting the imports using the sass convention would be good?

Thanks