fix(inputs): better customization for placeholder color

This commit is contained in:
Manu Mtz.-Almeida
2018-07-28 17:26:10 +02:00
parent f676f98628
commit 517104fbc7
12 changed files with 62 additions and 45 deletions

View File

@@ -4,7 +4,9 @@
// --------------------------------------------------
:host {
--placeholder-color: currentColor;
--placeholder-weight: inherit;
--placeholder-opacity: .5;
--padding-top: 0;
--padding-end: 0;
--padding-bottom: 0;
@@ -57,6 +59,8 @@
font-family: inherit;
font-weight: var(--placeholder-weight);
opacity: var(--placeholder-opacity);
}
&:-webkit-autofill {