Skip to content

pantoken-root / mui

mui ​

Compatibility ​

Target: Material UI. Current format: Concrete createTheme palettes (MUI 5, 6, 7, 9). Minimum host version: 5.0.0. Tested through 9.4.0. Newer releases require review.

Full compatibility matrix

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