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

https://github.com/dschau/css-in-js-playground

A simple playground for CSS in JS solutions
https://github.com/dschau/css-in-js-playground

aphrodite css-in-js emotion glamorous jss playground radium react styled-components typescript

Last synced: 3 months ago
JSON representation

A simple playground for CSS in JS solutions

Awesome Lists containing this project

README

          

# css-in-js-playground

[![Build Status](https://travis-ci.org/DSchau/css-in-js-playground.svg?branch=master)](https://travis-ci.org/DSchau/css-in-js-playground) [![Greenkeeper badge](https://badges.greenkeeper.io/DSchau/css-in-js-playground.svg)](https://greenkeeper.io/)

A simple CodeMirror editor showcasing the various CSS in JS styling solutions. Content is previewed live from the editor, and various styling solutions can be swapped out to see how various code snippets look in each.

![CSS in JS Playground](./assets/css-in-js-playground.png)

## Currently supported libraries

- [aphrodite](./src/snippets/aphrodite/index.js)
- [cxs](./src/snippets/cxs/index.js)
- [emotion](./src/snippets/emotion/index.js)
- [fela](./src/snippets/fela/index.js)
- [glamorous](./src/snippets/glamorous/index.js)
- [inline-styles](./src/snippets/inline-styles/index.js)
- [jss](./src/snippets/jss/index.js)
- [jsxstyle](./src/snippets/jsxstyle/index.js)
- [linaria](./src/snippets/linaria/index.js)
- [radium](./src/snippets/radium/index.js)
- [react-jss](./src/snippets/react-jss/index.js)
- [styled-components](./src/snippets/styled-components/index.js)
- [styletron](./src/snippets/styletron/index.js)
- [yocss](./src/snippets/yocss/index.js)

## Credits

[Stripe][stripe]: their excellent form mockup served as the basis for each of the current form designs.

[stripe]: https://stripe.com/connect