MUI v5 nested ThemeProvider replaces outer theme instead of merging
MUI v5 nested ThemeProvider theme resolution The goal is to confirm how a nested ThemeProvider resolves theme values for its descendants in @mui/material@5, particularly when the outer and inner themes define different palette, spacing, or breakpoint values. MUI v5 scopes the theme to the provider subtree, and a nested provider replaces the theme for descend