Currently, I am in the process of developing a Chrome Extension that incorporates Material UI. By using the inject method, the extension is able to apply all of the Material UI styles seamlessly.
I have been contemplating the idea of adding a parent selector for the Material UI styling.
Consider the following example:
<style data-jss="" data-meta="MuiPaper">
.MuiPaper-root {
color: rgba(0, 0, 0, 0.87);
transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
background-color: #fff;
}
...
</style>
My desired outcome would be:
#MY-ROOT-ELEMENT .MuiPaper-root { }