ant-design / cssinjs

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

feat: useCSSVarRegister support scope #154

Closed MadCcc closed 8 months ago

github-actions[bot] commented 8 months ago

🎊 PR Preview 697e071b87066a2de6129c24ac46c6e1b295d747 has been successfully built and deployed to https://ant-design-cssinjs-preview-pr-154.surge.sh

:clock1: Build time: 102.127s

🤖 By surge-preview

codecov-commenter commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (85f1fd9) 95.21% compared to head (080fd6b) 95.23%.

:exclamation: Current head 080fd6b differs from pull request most recent head 697e071. Consider uploading reports for the commit 697e071 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## next #154 +/- ## ========================================== + Coverage 95.21% 95.23% +0.02% ========================================== Files 28 28 Lines 2550 2562 +12 Branches 389 389 ========================================== + Hits 2428 2440 +12 Misses 122 122 ``` | [Files](https://app.codecov.io/gh/ant-design/cssinjs/pull/154?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design) | Coverage Δ | | |---|---|---| | [src/hooks/useCSSVarRegister.ts](https://app.codecov.io/gh/ant-design/cssinjs/pull/154?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL2hvb2tzL3VzZUNTU1ZhclJlZ2lzdGVyLnRz) | `98.30% <100.00%> (+0.09%)` | :arrow_up: | | [src/util/css-variables.ts](https://app.codecov.io/gh/ant-design/cssinjs/pull/154?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL3V0aWwvY3NzLXZhcmlhYmxlcy50cw==) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.