-
Notifications
You must be signed in to change notification settings - Fork 330
fix:[input,steps,loading]fix the style of dark themes #3238
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -380,8 +380,8 @@ | |
| margin-right: 12px; | ||
|
|
||
| .icon { | ||
| width: var(--tv-Steps-node-circle-size); | ||
| height: var(--tv-Steps-node-circle-size); | ||
| width: var(--tv-Steps-node-circle-size-lg); | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ensure that the new size variables are correctly applied throughout the component to maintain consistency. |
||
| height: var(--tv-Steps-node-circle-size-lg); | ||
| } | ||
| } | ||
| } | ||
|
|
@@ -482,6 +482,7 @@ | |
| .@{steps-prefix-cls}-main { | ||
| display: flex; | ||
| align-items: center; | ||
| height: var(--tv-Steps-node-circle-size-lg); | ||
| } | ||
| } | ||
|
|
||
|
|
@@ -700,6 +701,7 @@ | |
| margin-left: var(--tv-Steps-text-margin-left); | ||
| font-weight: 500; | ||
| padding-top: 2px; | ||
| line-height: 1.5; | ||
| overflow: hidden; | ||
| display: -webkit-box; | ||
| -webkit-box-orient: vertical; | ||
|
|
@@ -821,7 +823,7 @@ | |
| } | ||
|
|
||
| &.large { | ||
| .block-size-mixin(32px, 16px, 18px, 16px, 32px, 12px); | ||
| .block-size-mixin(40px, 16px, 26px, 16px, 40px, 12px); | ||
| } | ||
| } | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,8 +21,10 @@ | |
| --tv-Steps-disabled-icon-color: var(--tv-color-text-disabled, #c2c2c2); | ||
| // 描述信息文本色 | ||
| --tv-Steps-node-desc-text-color: var(--tv-color-text-weaken, #808080); | ||
| // 节点圆圈尺寸 | ||
| // 节点圆圈尺寸-中 | ||
| --tv-Steps-node-circle-size: var(--tv-size-height-md, 32px); | ||
| // 节点圆圈尺寸-large | ||
| --tv-Steps-node-circle-size-lg: var(--tv-size-height-lg, 40px); | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Verify that the new large size variable is used consistently across all relevant components. |
||
| // 已完成节点边框色 | ||
| --tv-Steps-node-done-border-color: var(--tv-color-border-active, #191919); | ||
| // 已完成节点背景色 | ||
|
|
||
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.
Ensure that the pointer cursor is appropriate for all interactive elements to enhance user experience.