Skip to content

feat(fab): Basic color #26022

@infacto

Description

@infacto

Feature Description

Allow basic color for FABs too. Not only for the default buttons.

https://material.angular.io/components/button/overview

Use Case

image

Update:

The following works:

<button mat-fab color="basic">
  <mat-icon>home</mat-icon>
</button>

The other buttons uses basic color, when no color attribute is set. The FAB uses accent (or primary) as fallback.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureThis issue represents a new feature or feature request rather than a bug or bug fixneeds triageThis issue needs to be triaged by the team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions