Skip to content

Commit

Permalink
[material-ui][docs] Polish out the templates page (#41468)
Browse files Browse the repository at this point in the history
  • Loading branch information
zanivan committed Mar 12, 2024
1 parent de9b3e7 commit 7ade0bd
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ ToggleCustomTheme.propTypes = {
};

export default function LandingPage() {
const [mode, setMode] = React.useState('dark');
const [mode, setMode] = React.useState('light');
const [showCustomTheme, setShowCustomTheme] = React.useState(true);
const LPtheme = createTheme(getLPTheme(mode));
const defaultTheme = createTheme({ palette: { mode } });
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function ToggleCustomTheme({
}

export default function LandingPage() {
const [mode, setMode] = React.useState<PaletteMode>('dark');
const [mode, setMode] = React.useState<PaletteMode>('light');
const [showCustomTheme, setShowCustomTheme] = React.useState(true);
const LPtheme = createTheme(getLPTheme(mode));
const defaultTheme = createTheme({ palette: { mode } });
Expand Down
Binary file modified docs/public/static/images/templates/checkout.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/public/static/images/templates/landing-page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7ade0bd

Please sign in to comment.