question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Documentation for including core styles is not clear

See original GitHub issue

As 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:closed
  • Created 7 years ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

7reactions
tommysellacommented, Oct 3, 2016

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.

4reactions
alexjovermcommented, Oct 9, 2016

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found