[system] theme.getColorSchemeSelector
is not a function
#40178
Labels
customization: theme
Centered around the theming features
enhancement
This is not a bug, nor a new feature
package: system
Specific to @mui/system
Steps to reproduce 🕹
theme.getColorSchemeSelector("light")
ortheme.getColorSchemeSelector("dark")
https://codesandbox.io/p/sandbox/gracious-babbage-d8xdpy?file=%2Fsrc%2FDemo.tsx%3A27%2C21-27%2C59
Current behavior 😯
theme.getColorSchemeSelector("light")
Doesn't work at root levelbut work at a lower level
Expected behavior 🤔
Works at root level like MUI JOY :
https://codesandbox.io/p/sandbox/cool-sun-j6wjvf?file=%2Fsrc%2FDemo.js%3A110%2C71
Context 🔦
No response
Your environment 🌎
No response
The text was updated successfully, but these errors were encountered: