[link] Links using color="inherit"
don't use the proper color for the text decoration
#36007
Labels
component: link
This is the name of the generic UI component, not the React module!
design
This is about UI or UX design, please involve a designer
enhancement
This is not a bug, nor a new feature
Steps to reproduce 🕹
Link to live example: https://codesandbox.io/s/laughing-dubinsky-fsop9l?file=/src/App.tsx
Current behavior 😯
When using the property
color="inherit"
on aMuiLink
component, the underline color doesn't change on hover. Instead, it remains the same color as the link text.Expected behavior 🤔
The color should be different, or at least the alpha, as it is the behavior for all the other colors. Or the documentation should show a warning, or a workaround regarding this behavior.
Context 🔦
I am using
Alert
components in which there is a text link, in the form of aMuiLink
. I have to hardcode the color for it to be the same color as theAlert
text. On a side note, I could not find inside the palette the colors used for the text insideAlert
components.Your environment 🌎
The environment is the one set by the default Sandbox provided by the official template.
The text was updated successfully, but these errors were encountered: