It Does work – with a lil tweaking
-
This actually works pretty well, if you bear 3 things in mind:
1.) you can NOT use ‘style’ as your style sheet name
probably a ‘safety’ thing, but it will throw an error.
The error doesn’t show on my site (see below). Anyway, just leave
a ‘stub’ style.css in the theme, and put all your stuff in mystyle.scss or whatever (see the install directions)2.) the error output in wordpress_sass.php doesn’t work on my site.
you can adderror_log("SASS: $error: $message");
to the
wpsass_report_error function in wordpress_sass.php3.) you need to edit wordpress_sass.php
As others have noticed, there is a broken comment generated as the
first line of the css file. Edit wordpress_sass.php and fix the ‘/ * ‘ broken comment markers ( should ‘/*’ and ‘*/’). You can find them by searching for ‘DO NOT EDIT’
- The topic ‘It Does work – with a lil tweaking’ is closed to new replies.