[docs] Setting custom color in playground breaks docs
See original GitHub issueDuplicates
- I have searched the existing issues
Latest version
- I have tested the latest version
Current behavior 😯
When setting docs color at https://mui.com/customization/color/#playground the docs break
Application error: a client-side exception has occurred (see the browser console for more information).
The colors I put in were #304d6d
for primary and #5cc2a7
for secondary.
Expected behavior 🤔
Docs work correctly with website colors set.
Steps to reproduce 🕹
Steps:
- Go to https://mui.com/customization/color/#playground
- Set colors
- Save colors
- Try to navigate (should break immediately after setting colors)
Context 🔦
No response
Your environment 🌎
Chrome - 96.0.4664.110
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:9 (5 by maintainers)
Top Results From Across the Web
[docs] Setting custom color in playground breaks docs #30343
The colors I put in were #304d6d for primary and #5cc2a7 for secondary. Expected behavior. Docs work correctly with website colors set.
Read more >Change page settings on Google Docs
At the top of the dialogue window, select Pages. Go to the setting that you want to change: Orientation; Paper size; Margins; Page...
Read more >Use Custom Colors in Google Projects! (Docs, Slides, Sheets ...
Do you ever get frustrated trying to find the exact color for your fonts, background, or other objects in your Google projects?
Read more >Customizing Colors - Tailwind CSS
Using custom colors. If you'd like to completely replace the default color palette with your own custom colors, add your colors directly under...
Read more >box-sizing - CSS: Cascading Style Sheets - MDN Web Docs
If the element has any border or padding, this is then added to the width and height to arrive at the size of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I forgot to add this. @fitzerman this will help you. I found a way to unset it.
The best way:
cookieStore.delete('paletteColors')
run that in the browser console.Alternatively you can clear all browser data (not ideal) in chrome at: chrome://settings/clearBrowserData
Both worked for me in two separate instances.
I’m experiencing this too. I just found a temp fix – by removing a cookie named paletteColors from your browser… This cookie will cause crashes when you visit other Mui docs pages