title: how to change dynamically the color of Angular Material?
body: <p>I change dynamically my theme in My project, And I want to change the color(or background) of the Angular Material component : checkbox, radio button, slide toggle, textarea...</p>
  
  <p>How to change them </p>
  
  <p>example :</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code> &lt;mat-slide-toggle [(ngModel)]="expression" [color]="colorCss"&gt;&lt;/mat-slide-toggle&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>ColorCss is the variable from the component</p>
  
  <p>Thanks in advance.</p>