Stripe rows tables via theme and other theme nested overrides #15476
Labels
component: table
This is the name of the generic UI component, not the React module!
customization: theme
Centered around the theming features
Oftentimes we have a situation in project when we need to redefine nested elements styles via theme. (We tend to use theme instead of styling each component individually because we need extensive skinning support).
The cases:
TableBody > TableRow
stripe pattern (not just generic TableRow, eg.TableHead > TableRow
should not be affected)ListItemIcon
inMenuItem
For now that seems to be impossible to do.
We'd expect something like
I hoped there could be a simple nesting introduced to overrides, since class selectors are meaningless due to CSS mangling in production.
Related: #5286
@oliviertassinari @eps1lon @mbrookes
The text was updated successfully, but these errors were encountered: