When using the sassy and prepro as css preprocesser not working for mobile scss files

global.base.scss
global.style.scss
are compiling proper in sites/default/files/prepro folder

but not any settings for mobile files in subtheme of adaptivetheme

Comments

Jeff Burnz’s picture

I don't know what sassy and prepro are, but I assume from your issue title that they require something to be declared in the info file? Are they Drupal modules?

If so, then that is a limitation of those modules, mainly because there are many other ways to load stylesheets in Drupal - many of which AT uses to allow for different stylesheets to be loaded depending on various theme and Drupal core settings.

I strongly suggest you do things in a more conventional way, for example installing Ruby, Sass and Compass on your computer - then use the command line. This is probably far easier than you think and saves a lot of messing about.

Alternatively you can use one of the many excellent apps - the only thing they need to be able to do is read config.rb files (work with Compass), I am pretty dam sure Scout and Prepros can do this, and others such as Koala. I would put money on CodeKit being able to do this, although I have never used it.

http://mhs.github.io/scout-app/
http://incident57.com/codekit/
http://compass.kkbox.com
http://koala-app.com
http://alphapixels.com/prepros/

And there are others, this is just a shortlist of a few I have heard of.

I haven't tested with many of these apps since I do everything natively (and I use Mac, so I have only tested OSX versions), the one I have used a bit is Scout with Livereload.