Skip to content

text color md-fab and md-mini-fab is not the default-contrast color #2539

@riankol

Description

@riankol

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions