leafo/scssphp-compass
Adds Compass support to scssphp. Provides a helper class that plugs into scssc to extend import paths and register Compass-required functions, letting you @import "compass" and use mixins like box-shadow. Compass SCSS is bundled.
This is work in progress, expect to have problems!
This is a library for adding Compass to your scssphp installation.
The project composed of a couple parts:
scssc from scssphp. This script
updates the import path and adds built in functions required my CompassCompass' SCSS is checked into this repository, so you only need to run the extract script if you are updating the version of Compass that is included.
scssphp-compass is a Composer package. Add the following to your
composer.json:
{
"require": {
"leafo/scssphp-compass": "dev-master"
}
}
<?php
require "vendor/autoload.php";
$scss = new scssc();
new scss_compass($scss);
echo $scss->compile('
@import "compass";
.shadow {
@include box-shadow(10px 10px 8px red);
}
');
How can I help you explore Laravel packages today?