You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Angular Material v15 introduces MDC based components, which is basically a re-write for a lot of the available components. `angular-material-css-vars` v5+ only supports MDC components.
188
195
189
196
In case you are still using the legacy components, you can use the package [angular-material-css-vars-legacy](https://github.com/json-derulo/angular-material-css-vars-legacy).
190
197
191
-
## upgrading to angular v12
192
-
Angular material v12 interoduces some big changes, which leaves you with two options when upgrading to ng12: You can either stay at angular material v11 and angular-material-css-vars v1.2.0 or you can use v2+ which thanks to @pedrojrivera adds full support for the new version.
193
-
194
-
## angular material v11 or lower
195
-
Use v1.2.0 of this lib.
198
+
## Angular compatibility table
196
199
200
+
| Angular | angular-material-css-vars |
201
+
|---------|---------------------------|
202
+
| 16 | 5.x |
203
+
| 15 | 4.x |
204
+
| 13/14 | 3.x |
205
+
| 12 | 2.x |
206
+
| 11 | 1.x |
197
207
198
208
## Credit...
199
209
...goes to @zbirizdo [project](https://github.com/zbirizdo/material-css-vars) on which parts of this are based which is in turn supposedly based on [this gist](https://gist.github.com/shprink/c7f333e3ad51830f14a6383f3ab35439).
0 commit comments