From b0214b6dd917c6f675db1beafba9ca7d6a32dc23 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Tue, 26 Apr 2022 13:20:28 +0000 Subject: [PATCH] refactor(material/core): deprecate 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.