Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scss include all-theme broken #3787

Closed
axtho opened this issue Mar 26, 2017 · 3 comments
Closed

Scss include all-theme broken #3787

axtho opened this issue Mar 26, 2017 · 3 comments

Comments

@axtho
Copy link

axtho commented 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?

@EdricChan03
Copy link
Contributor

EdricChan03 commented Mar 26, 2017

The theming has moved to ~@angular/material/_theming.
View PR for the change: #3776

@devversion
Copy link
Member

We are going to update the docs in the upcoming release for that.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants