Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Explain mini-theme example #20339

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/src/pages/styles/advanced/advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

Add a `ThemeProvider` to the top level of your app to pass a theme down the React component tree. Then, you can access the theme object in style functions.

> This example creates a new theme. See the [theming section](/customization/theming/) for how to customize the default Material-UI theme.
> This example creates a minimalist theme object. Head to the [theming section](/customization/theming/) if you intend to use some of the Material-UI's components. You need to provide a richer theme structure using the `createMuiTheme()` method.
oliviertassinari marked this conversation as resolved.
Show resolved Hide resolved

```jsx
import { ThemeProvider } from '@material-ui/core/styles';
Expand Down