Skip to content

[docs][material-ui] CSS modules customization guide is incomplete #42941

@oliviertassinari

Description

@oliviertassinari

Related page

https://mui.com/material-ui/integrations/interoperability/#css-modules

Kind of issue

Missing information on how to customize

Issue description

We should be covering how to use custom pseudo-classes, e.g. .Mui-selected. See https://stackoverflow.com/questions/78720445/how-to-target-mui-selected-state-class-using-css-modules/78720582 as the problem. See how https://mantine.dev/styles/css-modules/#referencing-global-class-names better explains it.

Context

I saw this from https://discord.com/channels/1131323012554174485/1259813365950189720

Search keywords: -

Metadata

Metadata

Assignees

No one assigned

    Labels

    customization: cssDesign CSS customizabilitydocsImprovements or additions to the documentationdxRelated to developers' experienceready to takeHelp wanted. Guidance available. There is a high chance the change will be accepted

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions