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

[joy-ui][docs] Fix Color mode button on Theme builder #44864

Merged
merged 2 commits into from
Dec 27, 2024

Conversation

komkanit
Copy link
Contributor

@komkanit komkanit commented Dec 27, 2024

Error on the client-side when clicking the same color on the Theme builder page.

Screen.Recording.2567-12-27.at.10.47.44.mov

Before

There is an error when clicking the same color on the Theme builder page.

Screen.Recording.2567-12-27.at.10.29.34.mov

After

Set color mode only when newValue is not null.

Screen.Recording.2567-12-27.at.10.28.52.mov

@aarongarciah aarongarciah changed the title [docs] Fix Color mode button on Theme builder set null value [docs] Fix Color mode button on Theme builder Dec 27, 2024
@aarongarciah aarongarciah added docs Improvements or additions to the documentation package: joy-ui Specific to @mui/joy labels Dec 27, 2024
@aarongarciah aarongarciah changed the title [docs] Fix Color mode button on Theme builder [joy][docs] Fix Color mode button on Theme builder Dec 27, 2024
@aarongarciah aarongarciah changed the title [joy][docs] Fix Color mode button on Theme builder [joy-ui][docs] Fix Color mode button on Theme builder Dec 27, 2024
@aarongarciah aarongarciah force-pushed the fix-theme-builder-toggle-mode branch from e3fc9e1 to e9a363a Compare December 27, 2024 09:43
@aarongarciah aarongarciah self-requested a review December 27, 2024 09:43
Copy link
Member

@aarongarciah aarongarciah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@aarongarciah aarongarciah enabled auto-merge (squash) December 27, 2024 09:44
@mui-bot
Copy link

mui-bot commented Dec 27, 2024

Netlify deploy preview

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

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against bd6f3c8

@aarongarciah aarongarciah merged commit ed4823e into mui:master Dec 27, 2024
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation package: joy-ui Specific to @mui/joy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants