design-system icon indicating copy to clipboard operation
design-system copied to clipboard

utility:send icon is not properly configured for --slds-c-icon-color-foreground variable

Open JoeOsterfeld opened this issue 5 months ago • 0 comments

Describe the issue. Is it a bug or a feature request (new component, new icon, new CSS class)?

The utility:send icon SVG does not accept the --slds-c-icon-color-foreground variable. The variable has no impact. The --slds-c-icon-color-background variable works as expected.

Is this issue related to a specific component, variant, and/or state? If so, please detail which.

Lightning Icons

Which version of the Salesforce Lightning Design System are you using?

^2.25.1 (latest at the time of submitting this)

What steps and/or code are needed to reproduce this issue?

<lightning-icon 
    class="send-button-icon" 
    icon-name="utility:send" 
  ></lightning-icon>
.send-button-icon {
  --slds-c-icon-color-foreground: blue;
}

-->

What did you expect to happen?

Expect icon color to be blue.

What actually happened?

Styling has no impact

JoeOsterfeld avatar Sep 25 '24 18:09 JoeOsterfeld