@import '~@angular/material/theming';

@mixin prutech-dialog-theme($theme, $colors) {
  $background: map-get($theme, background);
  $warn: map-get($theme, warn);
  $error: map-get($colors, error);

  .cancel-dialog {
    .mat-dialog-title {
      color: mat-color($error);
    }
  }

  .mat-dialog-actions {
    &[align='end'] {
      justify-content: flex-end;
    }

    &[align='center'] {
      justify-content: center;
    }

    .error-button {
      background-color: mat-color($error, 500);
      color: mat-contrast($error, 500);
    }
  }
  .prutech-dialog-box-header {
    background-color: $button-background;
    color: white;
    .header {
      padding: 10px 30px;
    }
  }
  .mat-dialog-container{
    padding: 0px !important;
  }
}

