Тема по умолчанию
Вот как выглядит объект темы со значениями по умолчанию.
Обзор
Explore the default theme object:
- breakpoints: Object
- direction: "ltr"
- mixins: Object
- components: Object
- palette: Object
- shadows: Array(25)
- typography: Object
- spacing: f spacing()
- shape: Object
- transitions: Object
- zIndex: Object
Tip: you can play with the documentation theme object in your browser console, as the
themevariable is exposed on all the documentation pages. Please note that the documentation site is using a custom theme.
Подробности о структуре темы изнутри можно посмотреть здесь material-ui/style/createTheme.js, а также изучив зависимости, используемые createTheme.