The Skeleton component only supports one rendering colour, and if placed over a dark background is invisible.
I am using a text variant Skeleton on a dark grey background, but it can't be viewed. It would be nice if it supported a light variant.
I'm not sure if this is best done through a dark/light toggle, or perhaps through the color property? In my use case it is a child of an AppBar so could perhaps support color="inherit" to
know that I'm using a dark AppBar as other child components do.
@mattmcdonald-uk I would recommend customizing the CSS in userland in such a case.
OK - perhaps this is a fairly niche use case.
I don't think using a Mui Component in a dark theme is a niche use case. I am currently having the same issue.
Most helpful comment
I don't think using a Mui Component in a dark theme is a niche use case. I am currently having the same issue.