The inverse adapter (sxl → mui): map a partial TokenTheme (e.g. a TokenThemeProvider's
overrides) onto the MUI palette/geometry slots the forward createThemeFromMUITheme reads. Studio
merges the result INTO its createExhibitTheme input, so a token override flows sxl → mui → sxl: the MUI
chrome (buttons / slider / tabs) follows it as well as the grid — no "half-themed" mixed bag. Only the mapped
subset (colors, radius, fonts) crosses; non-color MUI config (components / spacing) is untouched. Partial in,
partial out — only slots whose token is present are emitted.
The inverse adapter (
sxl → mui): map a partial TokenTheme (e.g. aTokenThemeProvider's overrides) onto the MUI palette/geometry slots the forward createThemeFromMUITheme reads. Studio merges the result INTO itscreateExhibitThemeinput, so a token override flowssxl → mui → sxl: the MUI chrome (buttons / slider / tabs) follows it as well as the grid — no "half-themed" mixed bag. Only the mapped subset (colors, radius, fonts) crosses; non-color MUI config (components / spacing) is untouched. Partial in, partial out — only slots whose token is present are emitted.