Skip to content

Scss include all-theme broken #3787

Closed
Closed

Description

@axtho

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?

Activity

  1. EdricChan03 commented on Mar 26, 2017

    @EdricChan03
    Contributor

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

  2. devversion commented on Mar 26, 2017

    @devversion
    Member

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

  3. angular-automatic-lock-bot commented on Sep 5, 2019

    @angular-automatic-lock-bot

    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.

  4. locked and limited conversation to collaborators on Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions