I am using nextJs and css modules and attempting to override the material ui classes
<Toolbar classes={{ root: cn(styles.root) }} />
I have the Styles Provider and injectFirst attribute as specified in the material docs.
<StylesProvider injectFirst>
<Head />
<HttpInterceptor />
<CssBaseline />
<Layout pageProps={pageProps}>
<Component {...pageProps} />
</Layout>
</StylesProvider>
And the material css is being injected first...

But the material root class is still overriding my root class...
What am I missing here?

