https://github.com/jstransformers/jstransformer-suitcss
SuitCSS support for JSTransformers
https://github.com/jstransformers/jstransformer-suitcss
Last synced: over 1 year ago
JSON representation
SuitCSS support for JSTransformers
- Host: GitHub
- URL: https://github.com/jstransformers/jstransformer-suitcss
- Owner: jstransformers
- License: mit
- Created: 2015-08-12T23:13:45.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2020-04-30T21:12:58.000Z (about 6 years ago)
- Last Synced: 2025-02-21T15:04:47.841Z (over 1 year ago)
- Language: JavaScript
- Size: 60.5 KB
- Stars: 1
- Watchers: 6
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE.md
Awesome Lists containing this project
README
# jstransformer-suitcss
[SuitCSS](https://github.com/suitcss/preprocessor) support for [JSTransformers](http://github.com/jstransformers).
[](https://travis-ci.org/jstransformers/jstransformer-suitcss)
[](https://codecov.io/gh/jstransformers/jstransformer-suitcss)
[](http://david-dm.org/jstransformers/jstransformer-suitcss)
[](https://greenkeeper.io/)
[](https://www.npmjs.org/package/jstransformer-suitcss)
## Installation
npm install jstransformer-suitcss
## API
```js
var suitcss = require('jstransformer')(require('jstransformer-suitcss'))
suitcss.render(':root {--red: #0F0;} body {color: var(--red);}').body
//=>
// body {
// color: #0F0;
// }
```
## License
MIT