Developing a Theme Plugin
const Plugin = {
themes: [{
name: 'Material UI (Light)',
key: 'material-ui-light',
mode: 'light',
// .. other theme props
}, {
name: 'Material UI (Dark)',
key: 'material-ui-dark',
mode: 'dark',
// .. other theme props
}]
}const Plugin = {
public themes = [
import('path/to/theme-1'),
import('path/to/theme-2'),
]
}Last updated
Was this helpful?