ant-design / cssinjs

https://ant-design.github.io/cssinjs
MIT License
247 stars 61 forks source link

feat: support createTheme for cache #30

Closed zombieJ closed 2 years ago

zombieJ commented 2 years ago

Enable theme as part of token cache.

github-actions[bot] commented 2 years ago

🎊 PR Preview 1be1da596e2848509fba27f7e47f241673d2f6b2 has been successfully built and deployed to https://ant-design-cssinjs-preview-pr-30.surge.sh

:clock1: Build time: 192.957s

🤖 By surge-preview

codecov-commenter commented 2 years ago

Codecov Report

Merging #30 (d29d891) into master (52bbf5b) will increase coverage by 0.08%. The diff coverage is 100.00%.

:exclamation: Current head d29d891 differs from pull request most recent head 1be1da5. Consider uploading reports for the commit 1be1da5 to get more accurate results

@@            Coverage Diff             @@
##           master      #30      +/-   ##
==========================================
+ Coverage   98.68%   98.76%   +0.08%     
==========================================
  Files           8        8              
  Lines         304      325      +21     
  Branches      104      106       +2     
==========================================
+ Hits          300      321      +21     
  Misses          4        4              
Impacted Files Coverage Δ
src/useCacheToken.tsx 97.82% <ø> (ø)
src/Theme.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 52bbf5b...1be1da5. Read the comment docs.