typestyle2.0.2 • Public • Published
Making CSS type safe.
There are quite a few css in js frameworks out there. This one is different:
- Provides great TypeScript developer experience.
- No custom AST transform or module loader support needed.
- Works with any framework (react, angular2, cyclejs, whatever, doesn't matter).
- Zero config. Just use.
- super small (~6k gz)
This project is powered by github 🌟s ^ go ahead and star it please.
Checkout the awesome list of reviews 🌹.
npm install typestyle --save
/** Import */;/** convert a style object to a CSS class name */;/** Use the class name in a framework of choice */// e.g. React
We really really want to make CSS maintainable and simple. So we even wrote a free and open source book, covering the super simple core API, a handful of utility styles in
csx and tons of other goodness 🌹. Jump to the guide
The guide contains everything you need to know. But if you prefer to watch video we have a free course up on egghead.