Skip to content

Commit

Permalink
fix(infinite-scroll): use icon color from Sass var and add var for te…
Browse files Browse the repository at this point in the history
…xt color

fixes #10574
  • Loading branch information
brandyscarney committed Feb 27, 2017
1 parent 116ae38 commit 7b97fb7
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion src/components/infinite-scroll/infinite-scroll.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ $infinite-scroll-loading-margin: 0 0 32px 0 !default;
/// @prop - Color of the infinite scroll loading indicator
$infinite-scroll-loading-color: #666 !default;

/// @prop - Text color of the infinite scroll loading indicator
$infinite-scroll-loading-text-color: $infinite-scroll-loading-color !default;

/// @prop - Margin of the infinite scroll loading text
$infinite-scroll-loading-text-margin: 4px 32px 0 32px !default;

Expand Down Expand Up @@ -47,7 +50,19 @@ ion-infinite-scroll-content {
.infinite-loading-text {
margin: $infinite-scroll-loading-text-margin;

color: $infinite-scroll-loading-color;
color: $infinite-scroll-loading-text-color;
}

.infinite-loading-spinner .spinner-ios line,
.infinite-loading-spinner .spinner-ios-small line,
.infinite-loading-spinner .spinner-crescent circle {
stroke: $infinite-scroll-loading-color;
}

.infinite-loading-spinner .spinner-bubbles circle,
.infinite-loading-spinner .spinner-circles circle,
.infinite-loading-spinner .spinner-dots circle {
fill: $infinite-scroll-loading-color;
}


Expand Down

0 comments on commit 7b97fb7

Please sign in to comment.