@use "@material/snackbar";
@use "@material/button";
@use '@angular/material' as mat;

@mixin snackbar-mat($theme) {
  $foreground-palette: map-get($theme, foreground);
  $text-color: mat.get-color-from-palette($foreground-palette, text);

  .nano-snackbar{
    @include snackbar.fill-color(map-get($theme, resource-content));
    @include snackbar.label-ink-color($text-color);
    @include button.ink-color($text-color);
    --mat-mdc-snack-bar-button-color: none;
  }
}