Skip to content

ng add @angular/material asks to choose theme, but there is no way to preview it #13708

Description

@filipesilva

Bug, feature request, or proposal:

When using ng add @angular/material, a user will be prompted to choose a theme:
image

It is hard to make an informed decision about which theme to choose because neither https://material.angular.io/guide/getting-started#step-4-include-a-theme nor https://material.angular.io/guide/theming offer a preview of these themes.

The material docs seem to have a theme picker themselves, but offer no indication of the theme name or whether those four are the same as the choose offered in the prompt:
image

What is the expected behavior?

There should be a way to preview what the themes that a user is selecting.

What is the current behavior?

A user is asked to choose the theme they have no way of differentiating.

What are the steps to reproduce?

ng new my-material-app
cd my-material-app
ng add @angular/material

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

Providing a user the necessary background in order to make a decision requested by the prompts.

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

Angular 7 (Angular/Material/CLI)

Is there anything else we should know?

Metadata

Metadata

Assignees

Labels

featureLabel used to distinguish feature request from other issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions