Skip to content

mat-*-button don't respect foreground color of dark theme when [color] not set #9231

@mstawick

Description

@mstawick

Bug, feature request, or proposal:

When using dark theme, and using 'default' color (so [color] not set), button text (or icon) is rendered black, and hover overlay is also dark. I think ripple effect is actually correct.

What is the expected behavior?

Material buttons should obey theme colors.

What is the current behavior?

The don't

What are the steps to reproduce?

Here is very simple demo:
https://stackblitz.com/edit/angular-material2-issue-t2aufv

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angular 5.1.2, Material 5.0.3

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions