ant-design / cssinjs

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

feat: support css var #147

Closed MadCcc closed 8 months ago

github-actions[bot] commented 8 months ago

🎊 PR Preview 8f2977fcb22c02b39dcc4fffe93186fc77523479 has been successfully built and deployed to https://ant-design-cssinjs-preview-pr-147.surge.sh

:clock1: Build time: 71.726s

🤖 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 (92dce00) 94.58% compared to head (56e1604) 95.10%.

:exclamation: Current head 56e1604 differs from pull request most recent head 8f2977f. Consider uploading reports for the commit 8f2977f to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## next #147 +/- ## ========================================== + Coverage 94.58% 95.10% +0.52% ========================================== Files 25 27 +2 Lines 2199 2413 +214 Branches 346 375 +29 ========================================== + Hits 2080 2295 +215 + Misses 119 118 -1 ``` | [Files](https://app.codecov.io/gh/ant-design/cssinjs/pull/147?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/147?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL2hvb2tzL3VzZUNTU1ZhclJlZ2lzdGVyLnRz) | `100.00% <100.00%> (ø)` | | | [src/hooks/useCacheToken.tsx](https://app.codecov.io/gh/ant-design/cssinjs/pull/147?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL2hvb2tzL3VzZUNhY2hlVG9rZW4udHN4) | `99.59% <100.00%> (+0.17%)` | :arrow_up: | | [src/hooks/useStyleRegister/index.tsx](https://app.codecov.io/gh/ant-design/cssinjs/pull/147?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL2hvb2tzL3VzZVN0eWxlUmVnaXN0ZXIvaW5kZXgudHN4) | `98.10% <100.00%> (-0.01%)` | :arrow_down: | | [src/index.ts](https://app.codecov.io/gh/ant-design/cssinjs/pull/147?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL2luZGV4LnRz) | `100.00% <100.00%> (ø)` | | | [src/util/css-variables.ts](https://app.codecov.io/gh/ant-design/cssinjs/pull/147?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%> (ø)` | | | [src/util/index.ts](https://app.codecov.io/gh/ant-design/cssinjs/pull/147?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL3V0aWwvaW5kZXgudHM=) | `57.96% <100.00%> (ø)` | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/ant-design/cssinjs/pull/147/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design)

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