Browse Source

BI-115380 fix: 暗模式下按钮disabled时字体颜色被覆盖

research/test
chenzeyu 1 year ago
parent
commit
e72fa072d6
  1. 4
      packages/fineui/src/less/base/single/button/button.less

4
packages/fineui/src/less/base/single/button/button.less

@ -2,7 +2,7 @@
@hoverVal: opacity .3s ease; @hoverVal: opacity .3s ease;
@activeVal: transform .5s ease, opacity 1s ease; @activeVal: transform .5s ease, opacity 1s ease;
@activeStopVal: transform 0s; @activeStopVal: transform 0s;
.bi-button { body .bi-button, #body .bi-button {
&.hack { &.hack {
.border-radius(0px); .border-radius(0px);
} }
@ -479,7 +479,7 @@
} }
} }
.bi-theme-dark { .bi-theme-dark, #body .bi-theme-dark {
.bi-button { .bi-button {
&.button-ignore { &.button-ignore {
background-color: @color-bi-background-ignore-button-theme-dark; background-color: @color-bi-background-ignore-button-theme-dark;

Loading…
Cancel
Save