Skip to content

[docs] Add additional info to v7 theme behavior changes example #45639

@Crowley723

Description

@Crowley723

Related page

https://next.mui.com/material-ui/migration/upgrade-to-v7/#theme-behavior-changes

Kind of issue

Missing information

Issue description

It shows that you can have a theme with both a light and dark version but doesn't give an example of what that looks like.

Ideally we could get an example of a theme that's created that has both light and dark mode values that can be used in the way currently shown by the first codeblock.

Context

I'm just looking for some additional info regarding how the new colorScheme attribute works.

Search keywords: docs migration theme

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions