如何使用AngularDart 5和angular_components更改Web应用程序的材质配色方案?
我不想为每个组件的每个属性定义颜色,而是使用颜色工具或material.io提供的方案 .
https://github.com/dart-lang/angular_components/issues/253#issuecomment-384441704
今天为了做到这一点,我们使用mixins在不同主题中设置应用程序的特定部分的样式,并将其限定为相关组件 .
也可以看看
https://github.com/dart-lang/angular_components#custom-component-styles
https://github.com/dart-lang/angular_components/blob/master/lib/app_layout/README.md
https://github.com/dart-lang/angular_components/issues/176
1 回答
https://github.com/dart-lang/angular_components/issues/253#issuecomment-384441704
也可以看看
https://github.com/dart-lang/angular_components#custom-component-styles
https://github.com/dart-lang/angular_components/blob/master/lib/app_layout/README.md
https://github.com/dart-lang/angular_components/issues/176