Overrides the design system MUI theme with the legacy viewer colors (primary, secondary,
warning, success, error, info, text, background, divider and alerts). Everything else
(typography, spacing, component defaults…) is kept from the design system theme.
Meant to be passed to a MUI ThemeProvider nested inside the design system provider, which
calls it with the design system theme:
Overrides the design system MUI theme with the legacy viewer colors (primary, secondary, warning, success, error, info, text, background, divider and alerts). Everything else (typography, spacing, component defaults…) is kept from the design system theme.
Meant to be passed to a MUI
ThemeProvidernested inside the design system provider, which calls it with the design system theme: