Error Wih Custom Angular Material Theme Angular 17 R Angular2

Error Wih Custom Angular Material Theme Angular 17 R Angular2