📜  主题材料 ui - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:58.803000             🧑  作者: Mango

代码示例1
import { createMuiTheme } from '@material-ui/core/styles';
import purple from '@material-ui/core/colors/purple';
import green from '@material-ui/core/colors/green';

const theme = createMuiTheme({
  palette: {
    primary: purple,
    secondary: green,
  },
  status: {
    danger: 'orange',
  },
});