@use '@angular/material' as mat;

@mixin color($theme) {
  .viewer-container {
    .recognized-text-content-container {
      background: mat.get-theme-color($theme, surface-container-low);
      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);
  }
}
