@use 'sass:map';
@use '~@angular/material' as mat;

@mixin color($background-palette) {
  mtna-toolbar-breadcrumb-title {
    mat-icon,
    a,
    a:visited,
    a:link {
      color: mat.get-color-from-palette($background-palette, default-contrast);
      opacity: 0.56;
    }
  }
}

@mixin typography($theme) {
}

@mixin theme($theme, $background-palette) {
  @if $background-palette != null {
    @include color($background-palette);
  }

  $typography-config: mat.get-typography-config($theme);
  @if $typography-config != null {
    @include typography($theme);
  }
}
