Skip to content

Commit

Permalink
Update docs/data/material/customization/dark-mode/dark-mode.md
Browse files Browse the repository at this point in the history
Co-authored-by: Jan Potoms <[email protected]>
Signed-off-by: Siriwat K <[email protected]>
  • Loading branch information
siriwatknp and Janpot authored Oct 1, 2024
1 parent 7762f54 commit e07eebf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/data/material/customization/dark-mode/dark-mode.md
Original file line number Diff line number Diff line change
@@ -134,7 +134,7 @@ To instantly switch between color schemes with no transition, apply the `disable

## Setting the default mode

When `colorSchemes` is provided, the default mode is `system`, which means the app will use the system preference when users first visit the site.
When `colorSchemes` is provided, the default mode is `system`, which means the app uses the system preference when users first visit the site.

To set a different default mode, pass the `defaultMode` prop to the ThemeProvider component:

0 comments on commit e07eebf

Please sign in to comment.