pantoken / mui
mui
Experimental
@pantoken/mui — theme MUI (Material UI) with Instructure tokens.
toMuiTheme maps any IR onto MUI theme options; lightTheme and darkTheme are the ready-made rebrand options. Pass them to MUI's createTheme.
Example
tsx
import { createTheme, ThemeProvider } from "@mui/material/styles";
import { lightTheme } from "@pantoken/mui";
const theme = createTheme(lightTheme);
<ThemeProvider theme={theme}>...</ThemeProvider>;Interfaces
Variables
Functions
References
Mode
Re-exports Mode
default
Renames and re-exports lightTheme