2017 © Pedro Peláez
 

library scssphp-compass

Compass for scssphp

image

yourilima/scssphp-compass

Compass for scssphp

  • Monday, December 14, 2015
  • by nizsheanez
  • Repository
  • 1 Watchers
  • 0 Stars
  • 25,408 Installations
  • CSS
  • 3 Dependents
  • 0 Suggesters
  • 35 Forks
  • 0 Open issues
  • 2 Versions
  • 13 % Grown

The README.md

scssphp-compass

This is work in progress, expect to have problems!, (*1)

This is a library for adding [Compass]0 to your scssphp installation., (*2)

The project composed of a couple parts:, (*3)

  • 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., (*4)

Installation

scssphp-compass is a Composer package. Add the following to your composer.json:, (*5)

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

The Versions

14/12 2015

dev-master

9999999-dev http://leafo.net/scssphp/

Compass for scssphp

  Sources   Download

The Requires

 

14/12 2015

1.0

1.0.0.0 http://leafo.net/scssphp/

Compass for scssphp

  Sources   Download

The Requires