Salesforce-Indicators icon indicating copy to clipboard operation
Salesforce-Indicators copied to clipboard

[DOCUMENTATION] Utility Icons Seemingly Don't Allow for Colour Overides

Open ThisIsMarkJones opened this issue 1 year ago • 0 comments

Please share the area or functionality of the Documentation need/issue

I am support an attendee at the Housing Commons Sprint to set up a demo of Indicators for the project their group is working on. In our work today we have noticed that Utility SLDS icons don't seemingly allow for colour overrides.

Below is a screenshot of the configuration for a missing email Indicator Item that I have configured:

screencapture-mjsfindicatorsdemo-dev-ed-develop-lightning-force-lightning-setup-CustomMetadata-page-2024-03-20-15_43_39

As you will see in the screenshot I set the background colour to white (#FFFFFF) and the foreground to red (#FF0000). When displaying the indicator in the UI, the utility displays in grey, as shown in the screenshot below.

Screenshot 2024-03-20 at 15 43 31

However, when I change the icon to the standard email icon from SLDS, the colour changes based on my configuration:

Screenshot 2024-03-20 at 15 51 15

If appropriate, please articulate as best as possible where the documentation is insufficient or doesn't seem clear

Honestly, I think it just needs to be either a footnote someone noting something like "please be aware that SLDS Utility icons do not allow for color overrides". That should suffice I think, alternatively maybe it could become an answer for an FAQ.

If appropriate, please provide documentation or adjustments

ThisIsMarkJones avatar Mar 20 '24 15:03 ThisIsMarkJones