Aupajo / almanack

Aggregate iCal and Google Calendar events. Pluggable or standalone app. UI optional and 100% customisable.
MIT License
54 stars 25 forks source link

SASS load paths not respected for themes #5

Closed fourseven closed 10 years ago

fourseven commented 10 years ago

Firstoff, loving the gem, it's so elegant.

I've been trying to @import "normalize"; in my theme's scss, but the load_path isn't set when the theme is changed (so sass can't find import files). I overrode the attr_writer for :theme in the configuration to set it there, can PR if that seems like a good idea to you.

Aupajo commented 10 years ago

Thanks for the feedback! This is a good thing to add!

Sass load paths should be manipulated when the server boots – the configuration can exist without the server, so adding anything Sass-specific there doesn't make too much sense.

I believe something like:

Sass.load_paths += ...

Might help :smile:

Aupajo commented 10 years ago

Fixed in 0b08852961b62c2e80068cdb522620c7e6c74437.