Skip to content

Commit

Permalink
feat(icons): Added a utility class to set icon color to current color…
Browse files Browse the repository at this point in the history
… (#2840)

* feat(icons): Added a utility class for current color

* feat(icons): Updated annotation selector
  • Loading branch information
ishakasliwal authored Oct 13, 2017
1 parent 84af220 commit c9974d1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ui/components/icons/base/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -177,3 +177,14 @@ $bg-standard-map: map-merge($task2-monkey-patch, $bg-standard-map);
.slds-icon-text-light {
fill: $color-text-input-icon;
}

/**
* @selector .slds-current-color
* @restrict *
*/
.slds-current-color {

.slds-icon {
fill: currentColor;
}
}

0 comments on commit c9974d1

Please sign in to comment.