Documentation for including core styles is not clear
See original GitHub issueAs of alpha.7, applications using the components need to include the core styles in addition to individual components.
- All core styles should be consolidated into a single theme file under
@angular/material/core
. - Our getting started guide should reflect this step.
Missing these styles can manifest several odd effects, such as:
- Ripples look insane
- Overlays are not positioned correctly.
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Material-UI Can't resolve '@material-ui/core/styles/ ...
I have tried both NPM and Yarn for installation and nothing. Hope you can help, it is important. ./src/Theme.js Module not found: Can't...
Read more >Troubleshooting - Material UI
There are two reasons why component styles may be broken after you've completed all steps in the migration process. First, check if you...
Read more >CSS · Bootstrap
These styles can be found within scaffolding.less . ... Bootstrap includes a responsive, mobile first fluid grid system that appropriately scales up to...
Read more >MDN Web Docs
The MDN Web Docs site provides information about Open Web technologies including HTML, CSS, and APIs for both Web sites and progressive web...
Read more >Styles | Mapbox Studio manual
A style is a JSON document that conforms to the Mapbox Style Specification. ... If a component color property is not included in...
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
Even though it’s described in the https://github.com/angular/material2/blob/master/GETTING_STARTED.md, it would be good to make it more clear that it’s a requirement, and really need to be included.
I must point out @tommysella comment, I’ve spent some precious time finding out why the components were not styling correctly, till I included a theme. It doesn’t looks like required in the docs.