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

Compass for scssphp

Installs: 6 285

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 32

Language:CSS

0.1.6 2016-06-23 20:04 UTC

This package is not auto-updated.

Last update: 2024-12-19 03:39:21 UTC


README

this is a library extends scssphp package with compass stylesheets

  • 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

composer require eugene-matvejev/compass

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

##resources: