SCSSPHP
Component ID
1802488
Component name
SCSSPHP
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
1047
Component created
Component changed
Component body
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
drupal_add_css('example.scss');
stylesheets[all][] = scss/layout.scss
Dependencies
Installation (via Drush)
$ drush dl scssphp
$ drush en scssphp
$ drush composer-manager install
Installation (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
