Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(material/core): deprecated legacy theming API
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