Skip to content

Commit 7ade0bd

Browse files
authored
[material-ui][docs] Polish out the templates page (#41468)
1 parent de9b3e7 commit 7ade0bd

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed

docs/data/material/getting-started/templates/landing-page/LandingPage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ ToggleCustomTheme.propTypes = {
6262
};
6363

6464
export default function LandingPage() {
65-
const [mode, setMode] = React.useState('dark');
65+
const [mode, setMode] = React.useState('light');
6666
const [showCustomTheme, setShowCustomTheme] = React.useState(true);
6767
const LPtheme = createTheme(getLPTheme(mode));
6868
const defaultTheme = createTheme({ palette: { mode } });

docs/data/material/getting-started/templates/landing-page/LandingPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function ToggleCustomTheme({
6262
}
6363

6464
export default function LandingPage() {
65-
const [mode, setMode] = React.useState<PaletteMode>('dark');
65+
const [mode, setMode] = React.useState<PaletteMode>('light');
6666
const [showCustomTheme, setShowCustomTheme] = React.useState(true);
6767
const LPtheme = createTheme(getLPTheme(mode));
6868
const defaultTheme = createTheme({ palette: { mode } });
909 Bytes
Loading
Loading

0 commit comments

Comments
 (0)