cssinjs / styled-jss

Styled Components on top of JSS.
http://cssinjs.org/styled-jss
MIT License
217 stars 25 forks source link

Resolve #56, provide jss instance via styled #57

Closed lttb closed 6 years ago

lttb commented 6 years ago

Now we can set jss plugins without the need to create special styled function. For example:

import styled from 'styled-jss'
import camelCase from 'jss-camel-case'

styled.jss.use(camelCase())

Note that it's better to set up all the plugins once somewhere in one place

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 7fd83fb5360c2f17500bae21d1fb1860cf26dab6 on feature/provide-jss-instance-in-styled into eec629d384bd360db257a0aa46922ab6cd131f72 on master.