Skip to content

Commit

Permalink
fix(input): add variables for alert and input placeholder color
Browse files Browse the repository at this point in the history
closes #10153
  • Loading branch information
brandyscarney authored and adamdbradley committed Jan 27, 2017
1 parent ed8b6b5 commit 4ca9f2c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/components/alert/alert.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ $alert-button-line-height: 20px !default;
/// @prop - Font size of the alert button
$alert-button-font-size: 14px !default;

/// @prop - Color of the alert input placeholder
$alert-input-placeholder-color: #999 !default;


ion-alert {
position: absolute;
Expand Down Expand Up @@ -75,7 +78,7 @@ ion-alert input {
}

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

padding: 10px 0;

Expand Down
5 changes: 4 additions & 1 deletion src/components/input/input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ $text-input-highlight-color-valid: #32db64 !default;
/// @prop - Color of the input highlight when invalid
$text-input-highlight-color-invalid: #f53d3d !default;

/// @prop - Color of the input placeholder
$text-input-placeholder-color: #999 !default;


// Input/Textarea Wrapper
// --------------------------------------------------
Expand Down Expand Up @@ -41,7 +44,7 @@ ion-textarea {
// --------------------------------------------------

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

display: inline-block;
Expand Down

0 comments on commit 4ca9f2c

Please sign in to comment.