fix(input): add color support for ion-input

fixes #14864
This commit is contained in:
Manu Mtz.-Almeida
2018-07-28 16:47:56 +02:00
parent 4f9cbfe73c
commit f676f98628
9 changed files with 144 additions and 23 deletions

View File

@@ -25,6 +25,9 @@
/* stylelint-enable */
}
:host(.ion-color) {
color: #{current-color(base)};
}
// Native Text Input
// --------------------------------------------------
@@ -32,6 +35,7 @@
.native-input {
@include border-radius(var(--border-radius));
@include padding(var(--padding-top), var(--padding-end), var(--padding-bottom), var(--padding-start));
@include text-inherit();
display: inline-block;
@@ -45,13 +49,7 @@
background: transparent;
font-family: inherit;
font-size: inherit;
font-weight: inherit;
letter-spacing: inherit;
box-sizing: border-box;
font-kerning: inherit;
appearance: none;
&::placeholder {