Description
openedon Mar 26, 2017
Bug, feature request, or proposal:
Bug
What is the expected behavior?
@import '~@angular/material/core/theming/all-theme';
should load the core theme.
What is the current behavior?
ng serve produces File to import not found or unreadable: ~@angular/material/core/theming/all-theme.
What are the steps to reproduce?
- following the theming doc, theme.scss in root, import the all-theme.
- compile with angular-cli/@latest
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, browsers are affected?
@angular/cli: 1.0.0
node: 7.7.1
os: darwin x64
@angular/animations: 4.0.0
@angular/common: 4.0.0
@angular/compiler: 4.0.0
@angular/core: 4.0.0
@angular/flex-layout: 2.0.0-rc.1
@angular/forms: 4.0.0
@angular/http: 4.0.0
@angular/material: 2.0.0-beta.2
@angular/platform-browser: 4.0.0
@angular/platform-browser-dynamic: 4.0.0
@angular/router: 4.0.0
@angular/cli: 1.0.0
@angular/compiler-cli: 4.0.0
@angular/platform-server: 4.0.0
Is there anything else we should know?
Using the master snapshot, of course
I read jelbourn's comment on the original commit that it is a breaking change but that the theming guide would only be updated with the next release. Maybe you can comment on the PR how to get this done until then?