turnstyle

0.5.0 • Public • Published

🌀 turnstyle npm version Build Status Bundle Size Gzipped Size

a tiny, fast, simple CSS-in-JS library

NOTE: Until version 1.0.0 is released on NPM, this library should not be considered stable or ready for real use. Expect breaking changes in minor releases until 1.0.0.

🌟 features

  • ✔️ Automatic vendor prefixing!
  • ✔️ Media queries! (e.g. @media (max-width: 768px), pseudoclasses (e.g. :hover), & pseudoelements (e.g. ::after)!
  • ✔️ No plugins/configuration required!
  • ✔️ No dependencies!
  • ✔️ Framework independent!
  • ✔️ Support for server-side rendering!
  • ✔️ Small bundle size!
  • ✔️ Fully tested!

🌴 goals

Yes, there are many CSS-in-JS libraries out there. What makes this one special? Turnstyle prioritizes simplicity, development speed, and predictability. You should spend your time thinking about what your app will look like, not about which packages/plugins/configuration files you'll need just to get started.

🔧 development

  • yarn build to generate a production build
  • yarn build-watch to watch for changes & rebuild
  • yarn test to run all the tests
  • yarn test-watch to start the test watcher
  • yarn test-coverage to analyze test coverage

Package Sidebar

Install

npm i turnstyle

Weekly Downloads

1

Version

0.5.0

License

MIT

Unpacked Size

30.2 kB

Total Files

18

Last publish

Collaborators

  • reid47