nobitagit / ng-material-floating-button

Material design floating menu with action buttons implemented as an Angularjs directive.
http://nobitagit.github.io/ng-material-floating-button/
MIT License
464 stars 130 forks source link

Floating button should use accent color #51

Closed rubenlagus closed 7 years ago

rubenlagus commented 9 years ago

According to Material design:

Use the accent color for your primary action button and components like switches or sliders

Current templates use md-primary, can you add an option to set the class for the buttons?

Thanks

nobitagit commented 9 years ago

I guess it's doable, care to make a PR for this? Otherwise as a quick solution you can probably use a custom template you pass to the directive containing the classes you need.

rubenlagus commented 9 years ago

Yep, I can make a PR with the change md-primaryto md-accent, but I think that it should be a better option to add the possibility to set it in the own directive as another attribute.