https://github.com/leafo/scssphp-compass
Compass for scssphp
https://github.com/leafo/scssphp-compass
Last synced: 6 months ago
JSON representation
Compass for scssphp
- Host: GitHub
- URL: https://github.com/leafo/scssphp-compass
- Owner: leafo
- Created: 2012-08-02T02:05:39.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2012-08-02T02:06:35.000Z (almost 13 years ago)
- Last Synced: 2024-12-11T21:41:46.990Z (6 months ago)
- Language: PHP
- Size: 206 KB
- Stars: 66
- Watchers: 9
- Forks: 32
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# scssphp-compass
*This is work in progress, expect to have problems!*
This is a library for adding [Compass][0] to your [scssphp][1] 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 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.## Installation
**scssphp-compass** is a Composer package. Add the following to your
`composer.json`:{
"require": {
"leafo/scssphp-compass": "dev-master"
}
}## Usage
compile('
@import "compass";.shadow {
@include box-shadow(10px 10px 8px red);
}
');[0]: http://compass-style.org/
[1]: http://leafo.net/scssphp/