polished
A lightweight toolset for writing styles in JavaScript
... 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.