@import '../core/theming/palette';
@import '../core/theming/theming';


@mixin mat-progress-spinner-theme($theme) {
  $primary: map-get($theme, primary);
  $accent: map-get($theme, accent);
  $warn: map-get($theme, warn);

  .mat-progress-spinner, .mat-spinner {
    path {
      stroke: mat-color($primary, 600);
    }

    &.mat-accent path {
      stroke: mat-color($accent, 600);
    }

    &.mat-warn path {
      stroke: mat-color($warn, 600);
    }
  }
}