The default Appbar color is set by MUI to the primary color, which is the blue color.
If I wanted to change that color directly using sx={{ background: 'white' }}, then I will lose the feature of the dark theme. In other words, the background color white will stuck even when the MUI dark mode theme is applied. Which is an unwanted behavior.
So, How I can change the background color of the Appbar in the correct way while keeping the support for the dark mode feature of Mui?