简体   繁体   English

如何用dart angular 2材料设计材料扩展面板的样式

[英]how to style the material-expansion panel from dart angular 2 material

Image of material expansion panel 材料扩展面板的图像

Which css selector should I use to style the material expansion panel? 我应该使用哪个css选择器来设置材质扩展面板的样式? The defauls header is white, but I want to change its color to blue. defauls标题是白色的,但我想将其颜色更改为蓝色。

<material-expansionpanel class="aaa" [expanded]="true" [showSaveCancel]="false" [disabled]="true" name="title">
     <div>
       Content
     </div>
</material-expansionpanel>

Theming our components is not currently supported - there is a SASS-based API, but it's not yet exposed to end-users. 目前不支持主题我们的组件 - 有一个基于SASS的API,但它还没有暴露给最终用户。 It is on our priority list to make this available for users. 我们的优先级列表是为用户提供此功能。

I've filed a meta tracking issue for you to follow: 我已提交元跟踪问题供您遵循:

https://github.com/dart-lang/angular2_components/issues/45 https://github.com/dart-lang/angular2_components/issues/45

It's the holidays so I imagine we won't have much response until after the new years - feel free to hang out on our Gitter though - https://gitter.im/dart-lang/angular2 . 这是假期,所以我想在新的一年之后我们不会有太多的反应 - 尽管我们可以在我们的Gitter上闲逛 - https://gitter.im/dart-lang/angular2

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM