Developing a Theme Plugin
class MaterialUIPlugin extends Plugin {
public themes = [{
name: 'Material UI (Light)',
slug: 'material-ui-light',
mode: 'light',
// .. other theme props
}, {
name: 'Material UI (Dark)',
slug: 'material-ui-dark',
mode: 'dark',
// .. other theme props
}]
}class MaterialUIPlugin extends Plugin {
public themes = [
import('path/to/theme-1'),
import('path/to/theme-2'),
]
}Last updated