ant-design / cssinjs

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

feat: add px2rem transformer #89

Closed Wxh16144 closed 1 year ago

Wxh16144 commented 1 year ago

背景来源于: https://github.com/ant-design/ant-design/discussions/40789

codecov-commenter commented 1 year ago

Codecov Report

Base: 92.18% // Head: 92.54% // Increases project coverage by +0.36% :tada:

Coverage data is based on head (bd8fb41) compared to base (f9826f3). Patch coverage: 100.00% of modified lines in pull request are covered.

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

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #89 +/- ## ========================================== + Coverage 92.18% 92.54% +0.36% ========================================== Files 18 19 +1 Lines 576 604 +28 Branches 192 199 +7 ========================================== + Hits 531 559 +28 Misses 45 45 ``` | [Impacted Files](https://codecov.io/gh/ant-design/cssinjs/pull/89?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design) | Coverage Δ | | |---|---|---| | [src/transformers/px2rem.ts](https://codecov.io/gh/ant-design/cssinjs/pull/89?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL3RyYW5zZm9ybWVycy9weDJyZW0udHM=) | `100.00% <100.00%> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.