Skip to content

Commit

Permalink
fix: placeholder color of input
Browse files Browse the repository at this point in the history
  • Loading branch information
JeromeLin committed Dec 4, 2020
1 parent e0eebb2 commit 5626247
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion components/input/style/mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
-webkit-appearance: none;
color: var(--color-text);
line-height: var(--input-line-height);

@include placeholder {
color: var(--color-text-placeholder);
}
}

input {
Expand Down Expand Up @@ -93,7 +97,7 @@
@include e(clear) {
position: absolute;
visibility: hidden;
color: #bcbcbc;
color: var(--input-clear-icon-color);
width: var(--input-clear-icon-width);
text-align: center;
top: 50%;
Expand Down

0 comments on commit 5626247

Please sign in to comment.