Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/joshgillies/jss-color-rebeccapurple

JSS plugin to transform the W3C CSS rebeccapurple color to rgb.
https://github.com/joshgillies/jss-color-rebeccapurple

Last synced: 5 days ago
JSON representation

JSS plugin to transform the W3C CSS rebeccapurple color to rgb.

Awesome Lists containing this project

README

        

# jss-color-rebeccapurple

JSS plugin to transform the [W3C CSS `rebeccapurple` color](http://dev.w3.org/csswg/css-color/#valdef-color-rebeccapurple) to rgb.

[![JSS logo](https://avatars1.githubusercontent.com/u/9503099?v=3&s=60)](https://github.com/jsstyles)
[![Build Status](https://travis-ci.org/joshgillies/jss-color-rebeccapurple.svg)](https://travis-ci.org/joshgillies/jss-color-rebeccapurple)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)

## Usage

```js
var jss = require('jss')
var rebeccapurple = require('jss-color-rebeccapurple')

jss.use(rebeccapurple())

var sheet = jss.createStyleSheet({
'test': {
color: 'rebeccapurple'
}
})

console.log(sheet.toString())
```

```js
.test--jss-0-0 {
color: rgb(102, 51, 153)
}
```

## License

MIT