Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benfoxall/style-compile
Compile newschool styles into oldschool files
https://github.com/benfoxall/style-compile
Last synced: 19 days ago
JSON representation
Compile newschool styles into oldschool files
- Host: GitHub
- URL: https://github.com/benfoxall/style-compile
- Owner: benfoxall
- Created: 2011-02-07T21:23:43.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2011-03-08T17:19:15.000Z (almost 14 years ago)
- Last Synced: 2025-01-10T19:40:31.689Z (27 days ago)
- Language: JavaScript
- Homepage:
- Size: 93.8 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# style-compile
## Warning - this has been cobbled together in a couple of hours, use with caution.
## Installation
(requires [node](http://nodejs.org/) & [npm](https://github.com/isaacs/npm))
npm install style-compile
## Using
Style compile lets you use modern css generators with existing stylesheets
In an existing css file (style.css) - include a comment like :
/* @style-compile madstyles.less */
then run :
style-compile style.css
This will make a file called madstyle.less, where you can put your new super awesome lesscss.
when you change your .less file - your style.css comment will change to
/* @style-compile madstyles.less */
/*---begin:madstyles.less---*/
... your compiled css here ...
/*---end:madstyles.less---*/