leafo/scssphp-compass

There is no license information available for the latest version (dev-master) of this package.

Compass for scssphp

Maintainers

👁 leafo

Package info

github.com/leafo/scssphp-compass

Homepage

pkg:composer/leafo/scssphp-compass

Statistics

Installs: 168 129

Dependents: 14

Suggesters: 25

Stars: 64

Open Issues: 7

dev-master 2012-08-02 02:04 UTC

Requires

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

Unknown License f1631ddb17731326863954d99b39694f0bbed6ec

This package is not auto-updated.

Last update: 2026-06-14 11:11:27 UTC


README

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:

  • A script that checks out Compass and extracts the SCSS
  • A PHP class that hooks into a instance of scssc from scssphp. This script updates the import path and adds built in functions required my Compass

Compass' 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.

Installation

scssphp-compass is a Composer package. Add the following to your composer.json:

{
 "require": {
 "leafo/scssphp-compass": "dev-master"
 }
}

Usage

<?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);
 }
');