[docs] ColorDemo.js Palette Preview still in old version
See original GitHub issueDemo palette code preview doesn’t follow the interface
interface PaletteColor {
light?: string;
main: string;
dark?: string;
contrastText?: string;
}
- The issue is present in the latest release.
- I have searched the issues of this repository and believe that this is not a duplicate.
Current Behavior 😯
{
palette: {
primary: blue,
secondary: pink,
},
}
Expected Behavior 🤔
{
palette: {
primary: {
main: blue
},
secondary: {
main: pink
},
},
}
Steps to Reproduce 🕹
Steps:
- Open https://material-ui.com/customization/color/#playground
- See the box on the right
Context 🔦
Found this issue when documenting Material-UI theming in an internal project.
Your Environment 🌎
System:
OS: macOS 10.15.7
Binaries:
Node: 12.19.0 - ~/.nvm/versions/node/v12.19.0/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 6.14.8 - ~/.nvm/versions/node/v12.19.0/bin/npm
Browsers:
Chrome: 87.0.4280.88
Edge: Not Found
Firefox: 82.0.3
Safari: 14.0
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (12 by maintainers)
Top Results From Across the Web
[docs] ColorDemo.js Palette Preview still in old version #23909
Found this issue when documenting Material-UI theming in an internal project. Your Environment. System: OS: macOS 10.15.7 Binaries: Node: ...
Read more >Update for the chroma.js palette helper - vis4.net
The old version of the tool allowed to enter colors as hex codes or ... color palette helper now also allows you to...
Read more >Text and Background Color - CKEditor 4 Documentation
Text and background colors are tracked separately, in respective color panels. As mentioned earlier, there already may be some colors in the history...
Read more >Movies In color
The palette for this still from Castle in the Sky shows a versatile way to paint a night scene. The purple and blue...
Read more >Chroma.js Color Palette Helper - GitHub Pages
This chroma.js-powered tool is here to help us mastering multi-hued, multi-stops color scales. 1What kind of palette do you want to create? Palette...
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
@oliviertassinari Great. I’ll work on it.
I guess I don’t need to be assigned to work on this right? 😮
@yukinoda Yeah ok. In this case, I propose that we slowly move away from supporting dropping a complete object color:
I think that we can avoid magic.