@use '@angular/material' as mat;

@mixin color($theme) {
  .ngx-mime-metadata-container {
    .title {
      color: mat.get-theme-color($theme, on-surface);
    }

    .content {
      color: mat.get-theme-color($theme, on-surface-variant);
    }
  }
}

@mixin typography($theme) {
}

@mixin theme($theme) {
  @if mat.theme-has($theme, color) {
    @include color($theme);
  }

  @if mat.theme-has($theme, typography) {
    @include typography($theme);
  }
}
