github

styled-components / polished

  • среда, 29 марта 2017 г. в 03:11:36
https://github.com/styled-components/polished

JavaScript
A lightweight toolset for writing styles in JavaScript ✨



polished

A lightweight toolset for writing styles in JavaScript.

Build Status codecov Dependency Status Supported by Thinkmill

npm install --save polished
  • Make your app look great without stress
  • Cross framework compatible: No matter if you're using styled-components, 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

Docs

See the full documentation at polished.js.org!

ToC

Mixins
Color
Shorthands
Helpers
Types

Compatibility

polished is compatible with any library that accepts styles as JS objects. This includes, but is by far not limited to, styled-components, radium, aphrodite, glamor, jss and many more!

No matter if you're using inline styles or CSS-in-JS, polished is for you.

License

Copyright © 2016 Maximilian Stoiber. Licensed under the MIT License, see LICENSE.md for more information!