etn-ccis / blui-icons

Brightlayer UI icons for Eaton applications. Includes design files, icon font, and svg icons
BSD 3-Clause "New" or "Revised" License
9 stars 7 forks source link

Two-color warning icon #206

Open huayunh opened 2 years ago

huayunh commented 2 years ago

Describe the desired behavior

Would love to see an icon like this that takes theme.palette.warning.main as its background color, and theme.palette.warning.dark as its foreground color, by default under both light and dark themes.

image

Describe the current behavior

Not offered by default. The default yellow gives a light yellow that is inaccessible (contrast less than 2)

image

Is this request related to a current issue?

Part of the A11y initiative

Additional Context

bkarambe commented 2 years ago

@huayunh All of our icons share a contrast colors, we haven't added any specific contrast color override for a single icon.

huayunh commented 2 years ago

I don't understand. This is a feature request to write a new component.