Dynamic themes in Angular Material

TLDR A working demo of the dynamic themes we create through this article can be found here, while the source code is located here. Setting the scene If you have used Angular Material, you may have configured your own theme at some point. You may also have observed that you can use either the mat-light-theme or the mat-dark-theme ...