@use '@angular/material' as mat;
@mixin create-drive-dialog-mat($theme) {
  $color-config: mat-get-color-config($theme);
  $primary-color: mat.get-color-from-palette(map-get($color-config, primary));
  $foreground-palette: map-get($theme, foreground);
  $text-color: mat.get-color-from-palette($foreground-palette, text);

  app-create-drive-dialog{
    mat-list-item{
      .mat-mdc-list-item-line{
        color: $text-color;
      }
    }
    mat-list-item:hover{
      background-color: rgba($primary-color, 0.2);
    }
    mat-dialog-content{
      margin-right: 0;
      max-height: auto;
      flex: 1 1 auto;
    }
    mat-dialog-actions, mat-dialog-content{
      margin:0;
    }
  }
}