Sass still unavaliable in alpha.6
See original GitHub issueSass 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: https://github.com/angular/material2/issues/533#issuecomment-223513305
Issue Analytics
- State:
- Created 7 years ago
- Reactions:5
- Comments:6 (1 by maintainers)
Top Results From Across the Web
sass-bootstrap - npm
Bootstrap. Sleek, intuitive, and powerful front-end framework for faster and easier web development. Visit Bootstrap » ...
Read more >Built-In Modules - Sass
The Sass team discourages their use and will eventually deprecate them, but for now they remain available for compatibility with older Sass versions...
Read more >How to create _custom.scss to override variable in Bootstrap 4 ...
I am trying to customize a Bootstrap 4 alpha 6 theme. I want to copy settings from _variable.scss file to _custom.scss to override....
Read more >Tip: Using Bootstrap 4 alpha 6 with Laravel 5.4 - Laracasts
just keep in mind that bootstrap is still in alpha and will have plenty of changes. i just wanted to share this for...
Read more >"Listen has fallen back to polling" and won't watch #362 - GitHub
After I installed the Listen gem, the warning went away, however Sass is still only parsing once and fails to detect changes after....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
+1 on that. The @import method looks for .scss and .css and since there is both it’s doesn’t know which file to import. Could also be fixed by importing the ‘theme-functions’ with the extension or move the output of the sass files into a different folder.
I ended up deleting all of the CSS files, problem is when you update to the latest version it brings them back so you have to go through and delete them again.