create-stylesheet ![build status](https://camo.githubusercontent.com/cd6d4d1ed35a6a08651c7749113461705a9f6c8dcf71d3df0a42e7236cb3f17c/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6d7a61627269736b69652f6372656174652d7374796c6573686565742e7376673f7374796c653d666c61742d737175617265)
Dynamically create a stylesheet
Example
import createStyleSheet from 'create-stylesheet';
let style = createStyleSheet({
'.foo': {
fontSize: 12,
padding: 5
},
'.bar': {
fontSize: 16,
color: 'grey'
}
});
document.head.appendChild(style);