Skip to content

typestyle/css-to-typestyle

Repository files navigation

CSS to TypeStyle converter

Convert your raw CSS to TypeScript

npm version Build Status Downloads

Why build this?

CSS comes from all kinds of sources. Rather than sticking css in cssRaw in TypeStyle, why not convert it to TypeStyle?

How to use it

import { convertCss } from 'css-to-typestyle';

convertCss('.redClass{ color: red }')
  .then((typestyleSource) => {
    // write out to file
  });

About

Convert raw CSS to TypeStyle

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published