Skip to content

[website] Fix Material theme dark mode demos#48592

Open
Prakash1185 wants to merge 3 commits into
mui:masterfrom
Prakash1185:fix-homepage-darkmode
Open

[website] Fix Material theme dark mode demos#48592
Prakash1185 wants to merge 3 commits into
mui:masterfrom
Prakash1185:fix-homepage-darkmode

Conversation

@Prakash1185
Copy link
Copy Markdown

Problem

Demo components were not displaying correctly in dark mode.

What Changed

  • Updated homepage demos to use defaultTheme.
  • Fixed dark-mode rendering issues for demo components.

Screenshots

Before After
image image
image image
image image
image image
image image

@code-infra-dashboard
Copy link
Copy Markdown

code-infra-dashboard Bot commented May 29, 2026

Deploy preview

https://deploy-preview-48592--material-ui.netlify.app/

Bundle size

Bundle Parsed size Gzip size
@mui/material 0B(0.00%) 0B(0.00%)
@mui/lab 0B(0.00%) 0B(0.00%)
@mui/private-theming 0B(0.00%) 0B(0.00%)
@mui/system 0B(0.00%) 0B(0.00%)
@mui/utils 0B(0.00%) 0B(0.00%)

Details of bundle changes


Check out the code infra dashboard for more information about this PR.

@mj12albert mj12albert added type: bug It doesn't behave as expected. website Pages that are not documentation-related, marketing-focused. labels May 29, 2026
@mj12albert
Copy link
Copy Markdown
Member

Thanks for the PR, is there an existing GH issue related to this? @Prakash1185

@mj12albert mj12albert changed the title [docs] fix homepage demos component to render correctly in dark mode [docs] Fix Material theme dark mode demos May 29, 2026
@mj12albert mj12albert changed the title [docs] Fix Material theme dark mode demos [website] Fix Material theme dark mode demos May 29, 2026
@Prakash1185
Copy link
Copy Markdown
Author

Thanks for the PR, is there an existing GH issue related to this? @Prakash1185

Thanks! I couldn't find an existing issue for this. I came across the problem while exploring the website and submitted a fix.

@mj12albert mj12albert enabled auto-merge (squash) May 29, 2026 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug It doesn't behave as expected. website Pages that are not documentation-related, marketing-focused.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants