Skip to content

Text color not visible in md-raised-button within md-toolbar #4614

Closed
@daankets

Description

@daankets

Bug, feature request, or proposal:

The .mat-toolbar.mat-primary style (for example) sets the text color to white. When adding an md-raised-button (no color) to the toolbar, the button text is invisible.

What is the expected behavior?

Visible text in the raised buttons.

What is the current behavior?

Invisible text in the raised buttons.

What are the steps to reproduce?

Create a md-toolbar with primary color background (default). Then, add a md-raised-button without [color] into it with containing some text. The text will not show up.

Plunker example

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

The raised buttons should work even if embedded within a toolbar. They do not work unless a specific color (warn, primary, accent) is set.

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

Angular 2, Angular Material 2 beta 5, Typescript (N/A), Browser (N/A)

Is there anything else we should know?

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentneeds: discussionFurther discussion with the team is needed before proceeding

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions