Skip to content

Commit

Permalink
[material-ui][docs] Dark scroll bars in templates (#43483)
Browse files Browse the repository at this point in the history
  • Loading branch information
aarongarciah authored Aug 27, 2024
1 parent a32add2 commit 9cdc6af
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion docs/data/material/getting-started/templates/blog/Blog.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default function Blog() {
toggleColorMode={toggleColorMode}
>
<ThemeProvider theme={showCustomTheme ? blogTheme : defaultTheme}>
<CssBaseline />
<CssBaseline enableColorScheme />
<AppAppBar />
<Container
maxWidth="lg"
Expand Down
2 changes: 1 addition & 1 deletion docs/data/material/getting-started/templates/blog/Blog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default function Blog() {
toggleColorMode={toggleColorMode}
>
<ThemeProvider theme={showCustomTheme ? blogTheme : defaultTheme}>
<CssBaseline />
<CssBaseline enableColorScheme />

<AppAppBar />
<Container
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default function Checkout() {
toggleColorMode={toggleColorMode}
>
<ThemeProvider theme={showCustomTheme ? checkoutTheme : defaultTheme}>
<CssBaseline />
<CssBaseline enableColorScheme />
<Grid container sx={{ height: { xs: '100%', sm: '100dvh' } }}>
<Grid
size={{ xs: 12, sm: 5, lg: 4 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default function Checkout() {
toggleColorMode={toggleColorMode}
>
<ThemeProvider theme={showCustomTheme ? checkoutTheme : defaultTheme}>
<CssBaseline />
<CssBaseline enableColorScheme />

<Grid container sx={{ height: { xs: '100%', sm: '100dvh' } }}>
<Grid
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default function Dashboard() {
toggleColorMode={toggleColorMode}
>
<ThemeProvider theme={showCustomTheme ? dashboardTheme : defaultTheme}>
<CssBaseline />
<CssBaseline enableColorScheme />
<Box sx={{ display: 'flex' }}>
<SideMenu />
<AppNavbar />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default function Dashboard() {
toggleColorMode={toggleColorMode}
>
<ThemeProvider theme={showCustomTheme ? dashboardTheme : defaultTheme}>
<CssBaseline />
<CssBaseline enableColorScheme />
<Box sx={{ display: 'flex' }}>
<SideMenu />
<AppNavbar />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default function MarketingPage() {
toggleColorMode={toggleColorMode}
>
<ThemeProvider theme={showCustomTheme ? MPTheme : defaultTheme}>
<CssBaseline />
<CssBaseline enableColorScheme />
<AppAppBar />
<Hero />
<div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default function MarketingPage() {
toggleColorMode={toggleColorMode}
>
<ThemeProvider theme={showCustomTheme ? MPTheme : defaultTheme}>
<CssBaseline />
<CssBaseline enableColorScheme />

<AppAppBar />
<Hero />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default function SignInSide() {
toggleColorMode={toggleColorMode}
>
<ThemeProvider theme={showCustomTheme ? SignInSideTheme : defaultTheme}>
<CssBaseline />
<CssBaseline enableColorScheme />
<Stack
direction="column"
component="main"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default function SignInSide() {
toggleColorMode={toggleColorMode}
>
<ThemeProvider theme={showCustomTheme ? SignInSideTheme : defaultTheme}>
<CssBaseline />
<CssBaseline enableColorScheme />
<Stack
direction="column"
component="main"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export default function SignIn() {
toggleColorMode={toggleColorMode}
>
<ThemeProvider theme={showCustomTheme ? SignInTheme : defaultTheme}>
<CssBaseline />
<CssBaseline enableColorScheme />
<SignInContainer direction="column" justifyContent="space-between">
<Card variant="outlined">
<SitemarkIcon />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export default function SignIn() {
toggleColorMode={toggleColorMode}
>
<ThemeProvider theme={showCustomTheme ? SignInTheme : defaultTheme}>
<CssBaseline />
<CssBaseline enableColorScheme />
<SignInContainer direction="column" justifyContent="space-between">
<Card variant="outlined">
<SitemarkIcon />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export default function SignUp() {
toggleColorMode={toggleColorMode}
>
<ThemeProvider theme={showCustomTheme ? SignUpTheme : defaultTheme}>
<CssBaseline />
<CssBaseline enableColorScheme />
<SignUpContainer direction="column" justifyContent="space-between">
<Stack
sx={{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export default function SignUp() {
toggleColorMode={toggleColorMode}
>
<ThemeProvider theme={showCustomTheme ? SignUpTheme : defaultTheme}>
<CssBaseline />
<CssBaseline enableColorScheme />

<SignUpContainer direction="column" justifyContent="space-between">
<Stack
Expand Down

0 comments on commit 9cdc6af

Please sign in to comment.