text color md-fab and md-mini-fab is not the default-contrast color
Bug, feature request, or proposal:
Bug
What is the expected behavior?
The text color of a md-fab or md-mini-fab should be the default-contrast of the chosen theme accent color. For example when using the prebuilt the indigo-pink the default $accent is set to A200, so according to the palette the contrast A200 is white, so the text-color of the md-fab or md-mini-fab should be white against a pink background-color.
What is the current behavior?
The text-color is set to the current color (in my case grey).
What are the steps to reproduce?
Providing a Plunker (or similar) is the best way to get the team to see your issue. Plunker template: http://plnkr.co/edit/LbeegL?p=preview http://stackoverflow.com/questions/40478419/angular-material2-button-text-color
What is the use-case or motivation for changing an existing behavior?
readability
Which versions of Angular, Material, OS, browsers are affected?
I'm using angular-material 2.0.0-beta.1
Is there anything else we should know?
No
Even so, when I add a class in my custom-style.scss, the md-contast color is overwritten. This is my custom-style.scss: `@import '../lib/@angular/material/core/theming/all-theme';
@include md-core();
$primary: md-palette($md-grey); $accent: md-palette($md-light-blue, 700, 600, 800);
$theme: md-light-theme($primary, $accent);
.accent-text-color{ color: md-color($accent, 700); } .accent-background-color{ background-color: md-color($accent, 700); color: md-contrast($accent,700); } .accent-border-color{ border-color: md-color($accent, 700); } .primary-background-color{ background-color: md-color($primary, 50); } .primary-border-color{ border-color: md-color($primary, 700); }
md-list-item.zoekresultaat:hover{ background-color: md-color($accent, 700); color: md-contrast($accent,700); cursor: pointer; }
@include angular-material-theme($theme);`
I can use all this classes in my whole application, but the contast color always is overwritten.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.