polished
A lightweight toolset for writing styles in JavaScript
...No matter if you're using styled-components, emotion, jss, aphrodite, radium, or plain inline styles, as long as you're writing your styles in JavaScript you can use polished! Switching from a pre-processor to styles in JS made easy. polished modules are meant to be used as stand-alone imports. You should avoid importing the entire library directly. When polished modules are imported properly, tree shaking in webpack and Rollup can be leveraged to reduce your bundle size. Flow frequently updates and it is possible that the version you are running may cause you to run into errors coming from the polished package in your node_modules directory. polished has TypeScript definitions to allow the library to be used in any TypeScript project.