Optional backgroundColor with CssBaseline
See original GitHub issueMake it easy to turn off the backgroundColor
setting when using CssBaseline with just a single boolean prop.
Everything else CssBaseline does is very sensible, but if I’m embedding my app in a page with some other color scheme going on, overriding the backgroundColor
can be problematic.
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Optional backgroundColor with CssBaseline #12654 - GitHub
Make it easy to turn off the backgroundColor setting when using CssBaseline with just a single boolean prop.
Read more >CSS Baseline - Material UI - MUI
The default Material Design background color is applied. It's using theme.palette.background.default for standard devices and a white background for print ...
Read more >CssBaseline Overriding theme background colour MUI? Reactjs
I am using material ui to make a theme which works fine but when I add <CssBaseline/> to the App.js it turns the...
Read more >Global Styling with Material-UI Theme Overrides and Props
Learn how to use global CSS overrides and default props in a theme to customize all instances of a Material-UI component in a...
Read more >React-select selected option background color - CodeSandbox
CodeSandbox is an online editor tailored for web applications.
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
For others that are as lost as I am, the above means:
For anyone else how finds this: My issue was that I did not have the
<CssBaseline />
nested inside the<ThemeProvider>
.https://stackoverflow.com/questions/48186478/custom-theme-background-color