Skip to content

Commit

Permalink
fix(Input): 修复新的 scss color function 计算颜色偏差
Browse files Browse the repository at this point in the history
  • Loading branch information
shaodahong committed Jan 15, 2019
1 parent 08b4194 commit 4641d60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/input/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
}
&--disabled {
.x-input__ipt {
background: darken(#e6e6e6, 20);
background: lighten(#e6e6e6, 5);
}
}
&.x-input--error {
Expand Down
2 changes: 1 addition & 1 deletion packages/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@
z-index: 2;
box-shadow: 0 0 10px rgba(0, 187, 85, 0.3); }
.x-input--disabled .x-input__ipt {
background: #b3b3b3; }
background: #f3f3f3; }
.x-input.x-input--error .x-input__ipt {
border: 2px solid #ff6600;
/*no*/
Expand Down

0 comments on commit 4641d60

Please sign in to comment.