What’s the best way to style the text color of a placeholder in a ion-put of Ionic2.
Is there a Sass variable for that purpose or should I do it with css code?
If you’ve got an example by your side, I would be happy to see it, thx in advance
<ion-row padding-top>
<ion-col width-100>
<ion-list>
<ion-item>
<ion-input type="text" placeholder="The placeholder text color I want to display in another color than the default one"></ion-input>
</ion-item>
</ion-list>
</ion-col>
</ion-row>
This is not just the correct answer, it is exactly with the author asks for - “is there a variable…” The answer used to be “No, but here is the workaround”. Now it is “Yes, and it is official and documented”