Skip to content
Permalink
Browse files

feat(icons): Added a utility class to set icon color to current color…

… (#2840)

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

* feat(icons): Updated annotation selector
  • Loading branch information...
ishakasliwal committed Oct 13, 2017
1 parent 84af220 commit c9974d16bbbb1eaaf9f6c12c701820becd230f15
Showing with 11 additions and 0 deletions.
  1. +11 −0 ui/components/icons/base/_index.scss
@@ -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.
You can’t perform that action at this time.