This library makes switching between light and dark themes in Angular Material effortless. It follows the Material Design specification for dark themes.
You can choose between:
- manually setting the theme
- detecting the system default
- or scheduling specific times. (soon 🔧)
Installation
npm install --save matx-dark
If you have not added Angular Material to your project yet, you can use this one-liner to get started. Make sure you select the option to use a custom theme during setup.
ng add @angular/material
To get started, you can follow this quick start guide.