Can you use Spree without SASS

4 views
Skip to first unread message

metazen

unread,
Jul 3, 2009, 3:14:04 AM7/3/09
to Spree
No offense to anyone here but I would rather edit my CSS files
directly. The reason is that I do a lot of incremental changes while
styling a site and hit the browser refresh button about 100 times an
hour. So having to restart the app each time simply will not work for
me.

Paul Callaghan

unread,
Jul 3, 2009, 4:02:36 AM7/3/09
to spree...@googlegroups.com
At the end of the day, CSS is what is fed to the browser, so you just need to change the layout templates to load your CSS files after the core ones (or even remove the line(s) in the layout which load the core files)

Paul

grimen

unread,
Jul 3, 2009, 4:18:35 PM7/3/09
to Spree
I never have to restart the app...you should not need that either in
development mode. Maybe your config is wrong, but Compass should setup
this by default. Sass::Plugin.options[:always_check] should be set to
true. Run the script/console to check the value in runtime. (Dunno
about Spree default Compass settings though, I just started with a
Spree sandbox)

If you still wanna go CSS - me myself rather die =) - it should work
to delete the sass files and create css-files in the public
stylesheets folder.

grimen

Sean Schofield

unread,
Jul 5, 2009, 8:45:28 PM7/5/09
to spree...@googlegroups.com
We really should add some documentation on this in the spree-guides.
Its going to keep coming up. I'd offer to write it but I'm a CSS/Sass
noob compared to many of you here ....

Sean

metazen

unread,
Jul 6, 2009, 12:04:44 PM7/6/09
to Spree
Thanks for your feedback on the CSS vs SASS issue. It looks like it
should be no problem to make Spree look how I want it. I am on a fresh
install and have my design ready to go. Ill report back here once I
have a good feel for the workflow.

Sean Schofield

unread,
Jul 7, 2009, 6:54:54 AM7/7/09
to spree...@googlegroups.com
And let us know when your site is done so we can see it. Good luck!

Sean

metazen

unread,
Jul 8, 2009, 10:12:35 PM7/8/09
to Spree
SUCCESS! I was able to use my own CSS, after installing the source
build I just changed the CSS link to my files in appplication/html.erb
layout. After that I can edit the CSS without using spree. One less
thing to worry about, although Spree does look nice... maybe later.
Reply all
Reply to author
Forward
0 new messages