Skip to content

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

Open
@JoeOsterfeld

Description

@JoeOsterfeld

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions