New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: test antd dark theme component #20012
Conversation
Deploy preview for ant-design ready! Built with commit 4be9e9d |
Codecov Report
@@ Coverage Diff @@
## 4.0-prepare #20012 +/- ##
===============================================
+ Coverage 97.56% 97.56% +<.01%
===============================================
Files 294 294
Lines 7227 7231 +4
Branches 2001 2000 -1
===============================================
+ Hits 7051 7055 +4
Misses 176 176
Continue to review full report at Codecov.
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 4be9e9d:
|
use `@{ant-prefix}`ant-design/components/empty/style/index.less Lines 54 to 59 in d6f41db
This comment was generated by todo based on a
|
use `@{ant-prefix}`ant-design/components/empty/style/index.less Lines 54 to 59 in 22aba08
This comment was generated by todo based on a
|
use `@{ant-prefix}`ant-design/components/empty/style/index.less Lines 54 to 59 in e2251f5
This comment was generated by todo based on a
|
use `@{ant-prefix}`ant-design/components/empty/style/index.less Lines 54 to 59 in dc90c21
This comment was generated by todo based on a
|
use `@{ant-prefix}`ant-design/components/empty/style/index.less Lines 54 to 59 in 53e663a
This comment was generated by todo based on a
|
use `@{ant-prefix}`ant-design/components/empty/style/index.less Lines 54 to 59 in 0da761d
This comment was generated by todo based on a
|
简洁了很多👍 |
use `@{ant-prefix}`ant-design/components/empty/style/index.less Lines 54 to 59 in d8ab994
This comment was generated by todo based on a
|
@@ -49,7 +49,8 @@ export default class Progress extends React.Component<ProgressProps> { | |||
type: 'line', | |||
percent: 0, | |||
showInfo: true, | |||
trailColor: '#f3f3f3', | |||
// null for different theme definition | |||
trailColor: null, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zombieJ trailColor 传 null 目的是避免 rc-progress 使用 defaultProps
,将 trail color 加到 style 上。
@@ -5,7 +5,6 @@ | |||
@process-icon-color: @primary-color; | |||
@process-title-color: @heading-color; | |||
@process-description-color: @text-color; | |||
@process-tail-color: @border-color-split; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
put into default.less
for theme
only for dark component preview, not merge before removing
[WIP]
Close #19971.
🤔 This is a ...
🔗 Related issue link
💡 Background and solution
📝 Changelog
☑️ Self Check before Merge