Posted by RobLoach on October 3, 2012 at 7:15pm
scssphp is a compiler for SCSS written in PHP. Once installed, it will compile all .scss files added to the page to .css files dynamically.
Usage
<?php
drupal_add_css('example.scss');
?>stylesheets[all][] = scss/layout.scssDependencies
Installation (via Drush)
$ drush dl scssphp
$ drush en scssphp
$ drush composer-manager installInstallation (Manual)
- Download and install Composer Manager
- Download and install SCSSPHP module
- Rebuild dependencies at admin/config/system/composer-manager
- At sites/default/files/composer, run:
$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar install - Check admin/reports/status to make sure the module is installed correctly
- Check admin/help/scssphp for a demonstration of it in action
Downloads
Recommended releases
Development releases
Project Information
- Maintenance status: Actively maintained
- Development status: Under active development
- Reported installs: 2 sites currently report using this module. View usage statistics.
- Downloads: 110
- Last modified: May 7, 2013
