Custom Palette With AoT
See original GitHub issueBug, feature request, or proposal:
Bug
What is the expected behavior?
I should be able to use AoT compilation with custom palettes.
What is the current behavior?
AoT compilation fails because it is unable to find the theme files.
@import '~@angular/material/core/theming/_all-theme.scss';
// and getting this error:
Compilation failed. Resource file not found: C:/ng2-app/src/~@angular/material/core/theming/_all-theme.scss
I also tried changing to a relative reference:
@import '../node_modules/@angular/material/core/theming/_all-theme.scss';
// and getting this error:
Compilation failed. Resource file not found: C:/ng2-app/node_modules/@angular/material/core/core
What are the steps to reproduce?
Follow the steps for adding a custom theme (), and the steps for adding AoT.
What is the use-case or motivation for changing an existing behavior?
Fixing this will allow people to take advantage of AoT compilation as well as using custom templates.
Which versions of Angular, Material, OS, browsers are affected?
@angular 2.4.7 @angular/material 2.0.0-beta.2 Windows 10 Chrome
Is there anything else we should know?
Most likely the same issue as #3001
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Attack on Titan » Beautiful Color Palettes for Your Next Design
Palette can be easily customized with our online color schemes editor. This editor ships with RGB, HSL and HCL colorspace, You can generate...
Read more >How to: Create custom Color Palettes and Gradient ... - YouTube
Learn how to create Create Color Pallets and Gradient Pallets in Affinity Photo. Use the Color Picker Tool and learn about Global Source...
Read more >The ins and outs of creating a custom palette in Painter
Painter Master Don Seegmiller walks through all of the custom palette creation details so that you can build your ulimate tool set at...
Read more >How to use your own color palettes with Seaborn
seaborn and matplotlib have a lot of different color palettes to choose from. ... and refer to your custom palette throughout your code....
Read more >How to specify custom palette for a category? #446 - GitHub
Hello! cellxgene is looking great! I just got a brief demo from @colinmegill and one of my questions is, how can one specify...
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
It should be
Works without issues in my project.
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.