sass output style

65 views
Skip to first unread message

Martin

unread,
Jun 5, 2010, 1:45:36 PM6/5/10
to StaticMatic
I'm trying to change the output style of SASS without success.

In the src/ directory I tried both:

configuration.sass_options = { :style => :compact }
configuration.sass_options = { :output_style => :compact }

I'm using the latest alpha.

Help me :)

Stephen Bartholomew

unread,
Jun 5, 2010, 3:55:25 PM6/5/10
to StaticMatic
Hey,

I'll investigate this further later but can you try setting the
sass_options in config/compass.rb? (see
http://compass-style.org/docs/tutorials/configuration-reference/ for
details).

Thanks,

Steve

Stephen Bartholomew

unread,
Jun 5, 2010, 4:26:45 PM6/5/10
to StaticMatic
Just realised I hadn't released the features that I advised using yet!

I have now - see http://groups.google.com/group/staticmatic/browse_thread/thread/baad2372f309613
for details.

Steve


On Jun 5, 6:45 pm, Martin <m.p.pet...@gmail.com> wrote:

Martin

unread,
Jun 6, 2010, 1:57:58 AM6/6/10
to StaticMatic
Thanks, it works!

compass.rb should be placed in project's base_dir/config (not in the /
src)

In addition to ...

require "staticmatic/compass"
project_type = :staticmatic

I added...

output_style = :compact
line_comments = false

The last line removes the line numbers in css produced by sass.


On 5 June, 23:26, Stephen Bartholomew <st...@curve21.com> wrote:
> Just realised I hadn't released the features that I advised using yet!
>
> I have now - seehttp://groups.google.com/group/staticmatic/browse_thread/thread/baad2...
Reply all
Reply to author
Forward
0 new messages