activescaffold/active_scaffold — comment on commit 686f43c1fbd76224be9b32505ecde6d553a0d26d
File:  line 0
By courtland:

I tested again. Development mode works, but I am not sure how. For me,
my CSS delivered to the browser still has @import in development mode
(it's not being evaluated as sass), and I'm guessing somehow my
browser is pulling it down. In production mode it does not work, my
stylesheet lacks all color for active scaffold, as the sass import
line is never evaluated as sass.

I really think the file has to have a sass extension. Even then, how
are we to override the included active_scaffold_colors stylesheet and
tell sass where to find it? The @import is always going to pull in the
file that comes with active scaffold.

On Feb 3, 2012, at 11:52 AM, Sergio Cambra

wrote:

> I have tested, both with *= require active_scaffold and @import active_scaffold and it's working
>
> - with sass, including active_scaffold with "*= require", @import line is in generated file
> - with sass, including active_scaffold with "@import", active_scaffold_colors is included in generated file
>
> I'm using rails 3.2.1, are you using rails 3.1?
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/activescaffold/active_scaffold/commit/686f43c1fbd76224be9b32505ecde6d553a0d26d#commitcomment-930986