@import '@angular/material';

// Material dialog mixin
@mixin mat-dialog-override($theme) {
  $is-dark: map-get($theme, is-dark);

  .mat-mdc-dialog-container {
    .mat-mdc-dialog-surface {
      @include mic-elevation(2);
    }
    .mdc-dialog__content {
      @if $is-dark {
        color: $light-primary-text;
      }
    }
  }
  .mat-mdc-dialog-component-host {
    display: inline !important;
  }
}
