angularjs - Button text color isn't changing -


i'm trying change md-button text color using accent palette color using angular material 1.0.9 version. not changing button text color. if i'm using latest beta got fix. i'm not going production unstable version.

code:

<md-toolbar class="md-primary md-hue-1">                 <div class="md-toolbar-tools">                     <md-button class="md-accent">my profile</md-button>                 </div>  </md-toolbar> 

below plnkr urls:

angular material 1-0-9 plnkr url

angular material latest beta plnkr url

can suggest fix?

it appears v1.0.9 md-accent within md-toolbar not work non-raised buttons raised ones. works non-raised buttons outside md-toolbar.

the fix css

.md-toolbar-accent span {     color: #6a1b9a; } 

plunker.


Comments

Popular posts from this blog

AbotX : How do you create a parallel crawler that stays on and can be added to at run time from new requests -

testing - Detect whether test has failed within fixture -

android - Create single AAR file from multiple modules using Gradle -