Mark reads of theme.palette.mode
ProprietaryMarks every read of <something>.palette.mode with a message saying to use theme.applyStyles() for dark mode instead.
org. openrewrite. react. mui. mark-palette-mode-usageRequired
What to do, shown in the marker.
mod run . --recipe= org. openrewrite. react. mui. mark-palette-mode-usage \
-P message= 'Use theme. applyStyles('\''dark'\'', {... }) in place of theme. palette. mode checks'Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.