Skip to content

Commit

Permalink
fix: 修复暗黑模式下,输入框样式黑色背景的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
ocean-gao committed Apr 9, 2024
1 parent 6e6b22e commit 77fe884
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/date-picker/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@
max-width: 100%;
height: @data-input-height-base;
padding: 5px 9px;
color: var(--f-text-color);
font-size: var(--f-font-size-base);
background-color: var(--f-white);
border: var(--f-border-base);
Expand Down Expand Up @@ -331,6 +332,7 @@
flex: 1;
width: 100%;
min-width: 0;
background-color: var(--f-white);
border: 0;
outline: none;
&::placeholder {
Expand Down
1 change: 1 addition & 0 deletions components/input-file/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

.@{input-file-dragger} {
width: 100%;
color: var(--f-text-color);

.@{input-file-dragger}-visible-content {

Expand Down
2 changes: 2 additions & 0 deletions components/input/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
width: 100%;
font-size: var(--f-font-size-base);
vertical-align: bottom;
background-color: var(--f-white);

&-inner {
.text();
Expand All @@ -85,6 +86,7 @@
color: var(--f-text-color);
font-size: inherit;
line-height: 1.5;
background-color: transparent;
border: var(--f-border-base);
border-radius: var(--f-border-radius-base);
outline: none;
Expand Down
1 change: 1 addition & 0 deletions components/select-trigger/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@
}
&-input {
width: 100%;
background-color: transparent;
border: none;
outline: none;
cursor: pointer;
Expand Down

0 comments on commit 77fe884

Please sign in to comment.