Skip to content

Commit f30609c

Browse files
authored
refactor(material/core): deprecate legacy theming API (#24835)
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.
1 parent 653457e commit f30609c

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
     (0)