Solutionunvalidated
Wrap the application (or at least the component tree using ManageButton) with MUI's ThemeProvider using the created theme with cssVariables enabled, and configure the palette to use the CSS variable (e.g., via getCssVariable / corresponding MUI css variable mechanism) so `color="primary"` resolves to the overridden value.
c4807f48-e2ee-4885-bc1d-b32901a40188
Wrap the application (or at least the component tree using ManageButton) with MUI's ThemeProvider using the created theme with cssVariables enabled, and configure the palette to use the CSS variable (e.g., via getCssVariable / corresponding MUI css variable mechanism) so color="primary" resolves to the overridden value.