Why there is one single _theming.scss?
Bug, feature request, or proposal:
What's the reasoning behind having one single theme helper sass file. For example we do not use material palettes. We created our own, even if it's not following the material styleguide we set up several palettes and using them through the material theme framework. It's not a big deal but It looks odd to run the compiler through those vars never used.
I propose to move the palette variables out in a separate file and only import it if it's needed.
Another thing would be to let users extend/alter the foreground and background maps when creating new themes
I understand that angular material closely follows google's material styleguide, but I think with a few tweaks in can be made easier to use other colors as well. Today is a bit tricky.
thanks
What is the expected behavior?
What is the current behavior?
What are the steps to reproduce?
Providing a Plunker (or similar) is the best way to get the team to see your issue. Plunker template: https://goo.gl/DlHd6U
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, browsers are affected?
Is there anything else we should know?
Because we don't preserve the source file structure in the release package, which the imports for individual files are relative to.
Do you intend to break the theming in more files? Maybe in the CDK, or offer a more flexible way to theme? I managed to create a framework on the top of the theming, but I think it would nicer to offer a bit more flexibility on this. Typography has to be overwritten with heavier selector (Why are you using a certain hardcoded font-size for mat-card-title???), the theming of the components are hard to change. If for example I want to use the primary for the selected radios. Adding a new theme is only possible with new palettes, but I cannot add alter easily the already set foreground and background maps. And there might be more ideas.
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.