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.5.0. Newer releases require review.

Full compatibility matrix

Turgnamhach

@pantoken/mui — téama MUI (Material UI) le tóicíní Instructure.

toMuiTheme maapálann aon IR go roghanna téama MUI; lightTheme agus darkTheme

ais iad na roghanna réamhullmhaithe rebrand. Cuir iad ar aghaidh chuig createTheme de MUI.

Sampla ​

tsx
import { createTheme, ThemeProvider } from "@mui/material/styles";
import { lightTheme } from "@pantoken/mui";
const theme = createTheme(lightTheme);
<ThemeProvider theme={theme}>...</ThemeProvider>;

Comhéadan ​

Athróga ​

Feidhmeanna ​

Tagairtí ​

Mode ​

Ath-easpórtálann Mode


default ​

Athainmníonn agus eisíonn arís lightTheme