PDA

View Full Version : Button / Button-UI / $icon-color ignored



bodyboarder20
11 May 2018, 10:22 AM
Having trouble getting a button to use one color for the icon and another color for the text. Noticed that the $color is actually being used for the icon color instead of $icon-color.

In file: ext-react-theme-neptune\sass\var\Button.scss



.#{$prefix}icon-el {
@include icon(
$color: $color, /* should be using $icon-color here!! */
$size: $icon-size,
$size-big: $icon-size-big,
$font-size: $icon-font-size,
$font-size-big: $icon-font-size-big,
);
}