Ionic-framework: placeholder mixin should use a global sass variable

Created on 24 Jan 2017  路  2Comments  路  Source: ionic-team/ionic-framework

Ionic version:
[ ] 1.x
[X] 2.x

I'm submitting a ...
[ ] bug report
[X] feature request
[ ] support request

Current behavior:
in input.scss:

.text-input {
  @include placeholder();

Expected behavior:

.text-input {
  @include placeholder($placeholder-text-color);

OR change the mixin declaration from:

@mixin placeholder($color: #999, $text-indent: 0) {

to:

@mixin placeholder($color: $placeholder-text-color, $text-indent: 0) {

Most helpful comment

can i say: "AWESOME GUYS" ? :)

All 2 comments

can i say: "AWESOME GUYS" ? :)

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gio82 picture gio82  路  3Comments

masimplo picture masimplo  路  3Comments

danbucholtz picture danbucholtz  路  3Comments

GeorgeAnanthSoosai picture GeorgeAnanthSoosai  路  3Comments

alan-agius4 picture alan-agius4  路  3Comments