- breakpoints: Object
- direction: "ltr"
- mixins: Object
- components: Object
- palette: Object
- shadows: Array(25)
- htmlFontSize: 16
- pxToRem: f ()
- round: f A()
- fontFamily: ""Roboto", "Helvetica", "Arial", sans-serif"
- fontSize: 14
- fontWeightLight: 300
- fontWeightRegular: 400
- fontWeightMedium: 500
- fontWeightBold: 700
- h1: Object
- h2: Object
- h3: Object
- h4: Object
- h5: Object
- h6: Object
- subtitle1: Object
- subtitle2: Object
- body1: Object
- body2: Object
- button: Object
- caption: Object
- overline: Object
- spacing: f e()
- shape: Object
- transitions: Object
- zIndex: Object
提示:你可以在浏览器控制台中尝试文档主题对象,鉴于在所有的文档页面上,您都可以获取
theme
变量。 请注意,本文档站点正在使用自定义主题。
如果你想了解更多有关主题是如何组合的信息,请看看 material-ui/style/createMuiTheme.js
和 如何用createMuiTheme
导入主题