Skip to content

M3 theme support #166

Open
Open
@json-derulo

Description

@json-derulo

😦 Problem Statement

Angular Material v17.2 introduced experimental support for M3 theming. We can expect M3 support to be graduated to stable soon. Users of angular-material-css-vars should be able to use the new M3 theme, at the same time it should still be possible to use M2 if a project isn't ready to update just yet.

❔ Possible Solution

  1. angular-material-css-vars defaults to M3 with a possibility to opt-out and use M2
  2. angular-material-css-vars defaults to M2 with a M3 opt-in possibility (until M2 is officially deprecated)

Personally I would prefer to default to the same theme which Angular Material defaults to for new projects.

➕ Additional context

We are not planning to support M3 while it's experimental, as it is necessary to use the @angular/material-experimental package, which adds more complexity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions