Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ThisIsMarkJones opened this issue Mar 20, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@ThisIsMarkJones
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
Status: Ready to Start Now
Development

No branches or pull requests

1 participant