Skip to content

Basic raised button text color is wrong in dark theme #9634

Closed
@QimatLuo

Description

@QimatLuo

Bug, feature request, or proposal:

<button mat-raised-button>Button</button>

What is the expected behavior?

It should looks like example https://material.angular.io/components/button/examples
image

What is the current behavior?

image

What are the steps to reproduce?

https://stackblitz.com/edit/angular-material2-issue-2jzs4u?file=styles.scss
I only change theme to pink-bluegrey.css

What is the use-case or motivation for changing an existing behavior?

Just like a bug. Because I follow example code but get different result with example UI.

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

Angular Material 5.1.0

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