如何使用 AngularDart 5 和 angular_components 更改网络应用程序的 Material 配色方案?
我不想为每个组件的每个属性定义颜色,而是使用颜色工具或 material.io 提供的方案。
最佳答案
https://github.com/dart-lang/angular_components/issues/253#issuecomment-384441704
Today to do this we use mixins to style the specific parts of the app in the different theme with it scoped to the components in question.
另见
关于angular-dart - AngularDart Material 颜色主题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50126321/