JSPM

  • Created
  • Published
  • Downloads 1115265
  • Score
    100M100P100Q211820F
  • License MIT

Component level cssinjs resolution for antd

Package Exports

  • @ant-design/cssinjs
  • @ant-design/cssinjs/es/index.js
  • @ant-design/cssinjs/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ant-design/cssinjs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@ant-design/cssinjs

NPM version npm download dumi build status Codecov Dependencies DevDependencies bundle size

Component level cssinjs solution used in ant.design. It's a subset of Emotion with design token logic wrapper. Please feel free to use emotion directly if you want to find a web cssinjs solution. cssinjs related dep packages:

  • stylis
  • @emotion/hash
  • @emotion/unitless

Live Demo

https://cssinjs.vercel.app/

Install

@ant-design/cssinjs

Development

npm install
npm start

License

@ant-design/cssinjs is released under the MIT license.