Skip to content

Sass still unavaliable in alpha.6 #796

@TheCaptainDate

Description

@TheCaptainDate

Sass inside packages are still broken.

There is css and scss files now with same name, so @import inside scss files of material2 don't know which file should be imported (css or scss), and returns an error.

I think this can be fixed if you put extensions in scss files of material 2, or remove all css files from the package styles dir (move somewhere).

One more time:
I am trying to import variables.scss like:

@import "node_modules/@angular2-material/core/style/variables.scss";

and get error:

Error: It's not clear which file to import for '@import "theme-functions"'.
Candidates:
  _theme-functions.scss
  _theme-functions.css
Please delete or rename all but one of these files.

This error comes from your variables.scss
I also pointed this error earlier: #533 (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