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][theme] Improve theme builder exceptions #38709

Merged
merged 1 commit into from
Sep 4, 2023

Conversation

jyash97
Copy link
Contributor

@jyash97 jyash97 commented Aug 29, 2023

Issues

  • As of now if you add a color string in theme and remove it, it breaks the UI

  • We can add token with empty names and invalid color

  • I have followed (at least) the PR section of the contributing guide.

@mui-bot
Copy link

mui-bot commented Aug 29, 2023

Netlify deploy preview

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

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 85034d5

@danilo-leal danilo-leal changed the title fix(joy): improve theme builder exceptions [joy-ui][theme] Improve theme builder exceptions Aug 29, 2023
@danilo-leal danilo-leal requested a review from siriwatknp August 29, 2023 14:41
@danilo-leal danilo-leal added package: joy-ui Specific to @mui/joy customization: theme Centered around the theming features labels Aug 29, 2023
@zanivan
Copy link
Contributor

zanivan commented Sep 1, 2023

Hey @jyash97 thanks for the submission! I'll ask for the team to take a look at this.

In the meantime, could you provide an example of what's happening? It can be a video or screenshot, so I can try reproducing it here.

@jyash97
Copy link
Contributor Author

jyash97 commented Sep 1, 2023

Hey @zanivan

Attaching 2 videos of the current issues

theme-token-crash.mov
random-color.mov

Copy link
Member

@siriwatknp siriwatknp left a comment

Choose a reason for hiding this comment

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

👍 Thanks for the fix! Great first PR

@siriwatknp siriwatknp added docs Improvements or additions to the documentation and removed customization: theme Centered around the theming features labels Sep 4, 2023
@siriwatknp siriwatknp merged commit b202096 into mui:master Sep 4, 2023
mnajdova pushed a commit to mnajdova/material-ui that referenced this pull request Sep 8, 2023
mnajdova pushed a commit to mnajdova/material-ui that referenced this pull request Sep 8, 2023
xcode-it pushed a commit to xcode-it/material-ui that referenced this pull request Sep 11, 2023
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
Status: Recently completed
Development

Successfully merging this pull request may close these issues.

5 participants