Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

docs-bug(COMPONENT): Provide a way to generate prebuild different combination of theme #30113

Closed
Labels
needs: clarificationThe issue does not contain enough information for the team to determine if it is a real bug
@bitrxjs

Description

Documentation Feedback

When looking at dist folder for M3 theme following themes are prebuilt

  • indigo-pink
  • deeppurple-amber
  • pink-bluegrey
  • purple-green
  • azure-blue
  • rose-red
  • cyan-orange
  • magenta-violet

provide a different way to build a different combination. For eg.

  • pink-indigo

Directly using

html {
 @include mat.theme((
 color: (
 primary: mat.$pink-palette,
 tertiary: mat.$indigo-palette,
 theme-type: light,
 ),
 typography: Roboto,
 density: 0
 ));
}

break ui on some older mobile browser due light-dark css function and using the css in angular json provides more compatibility.

Affected documentation page

https://material.angular.io/guide/theming

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs: clarificationThe issue does not contain enough information for the team to determine if it is a real bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /