Skip to content

Commit

Permalink
refactor(material/core): deprecated legacy theming API
Browse files Browse the repository at this point in the history
DEPRECATED: `mat.define-dark-theme` no longer accepts `$primary`, `$accent` and `$warn`.
  Pass a single config map instead.

DEPRECATED: `mat.define-light-theme` no longer accepts `$primary`, `$accent` and `$warn`.
  Pass a single config map instead.

DEPRECATED: Custom Material themes should no longer access `primary`, `accent`, `warn`,
  `is-dark`, `foreground` and `background` from the theme map, but instead use the actual `color`
  configuration (`mat.get-color-config($theme)`).

DEPRECATED: Passing a color configuration directly to a `-theme` mixin
  is not supported. Pass the theme container object instead or use the dedicated
  `-color` mixins.
  • Loading branch information
devversion committed Apr 26, 2022
1 parent 653457e commit 5cf46e4
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 5cf46e4

Please sign in to comment.