Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

config.sass.style does nothing #103

Closed
dgm opened this Issue · 4 comments

3 participants

@dgm

I can't figure out why this isn't working. According to the docs, I should be able to put config.sass.style= :nested in the application.rb file... but it changes nothing for me. Everything in production is compressed, and development is ... not. Has something changed in the config code?

Backstory - I need to get sass to ease up on the compression of colors, because compass gradients get screwed up in IE with three hex digit colors.

@dgm

Ok, that's confusing, the doc says on the one hand:

MyProject::Application.configure do
  config.sass.line_comments = false
  config.sass.style = :nested
end

but then says:

Output compression is now controlled via the config.assets.compress boolean option instead of through the :style option.

Why suggest that option when it is ignored? Better yet, why is it ignored???? But that will be the subject of another bug ticket shortly.

@nd2s

Can confirm this - you really should fix that...

@dgm

A large part of this was due to config lines being ignored, see the fix for #105 ... I haven't checked if this ticket is still valid after that fix.

@frodsan

@dgm Is this still an issue?

@frodsan frodsan closed this in 58293f5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.