/css-in-js-generator

A tool to generate Linaria-compatible CSS-in-JS files from regular CSS

Primary LanguageTypeScriptMIT LicenseMIT

Linaria-compatible CSS-in-JS-generator

A tool to generate Linaria-compatible CSS-in-JS files from regular CSS.

Usage

npm run start ./path-to-input.css ./output

This will create take the CSS from ./path-to-input.css and create a set of converted CSS-in-JS files at ./output.

Acknowledgements

Based heavily on the original (for Emotion) implementation from Brice Bernard.