Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[examples] Fix vite example & add dark mode support #340

Merged
merged 5 commits into from
Dec 5, 2024

Conversation

mnajdova
Copy link
Member

@mnajdova mnajdova commented Dec 4, 2024

It works similar to the Material UI + Pigment CSS next.js example in terms of dark mode support.

Screenshot 2024-12-04 at 16 48 26 Screenshot 2024-12-04 at 16 48 38

@mnajdova mnajdova added the examples Relating to /examples label Dec 4, 2024
@mnajdova mnajdova changed the title [examples] Fix vite example [examples] Fix vite example & add dark mode support Dec 4, 2024
@mnajdova mnajdova requested a review from brijeshb42 December 4, 2024 15:50
@mnajdova mnajdova requested a review from brijeshb42 December 4, 2024 16:16
@mnajdova mnajdova merged commit 339f253 into mui:master Dec 5, 2024
12 checks passed
@iM-GeeKy
Copy link

iM-GeeKy commented Dec 5, 2024

@mnajdova @brijeshb42 Would this aim to fix mui/material-ui#43487 (comment)? This used to work, but no longer appears to be.

@brijeshb42
Copy link
Contributor

Yes. This should have fixed the issue. Can you try the latest example?

@iM-GeeKy
Copy link

iM-GeeKy commented Dec 5, 2024

Yes. This should have fixed the issue. Can you try the latest example?

Screenshot 2024-12-05 at 5 19 05 AM

@brijeshb42
Copy link
Contributor

brijeshb42 commented Dec 5, 2024 via email

@iM-GeeKy
Copy link

iM-GeeKy commented Dec 5, 2024

I had been using the example from the Material UI repository. It had worked well until recently.

I tried the Pigment CSS repository and it looks like it does render, so I guess I'll just have to find the delta between the two repositories. Any ideas off the top of your head?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
examples Relating to /examples
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants