@use 'sass:map';
@use '../../../mx-core/src/base/colors';
@use '../../../mx-core/src/base/opacity';

@mixin mx-side-sheet-theme($theme) {
  $is-dark: map.get($theme, is-dark);
  $color-theme: colors.$mx-light;

  @if $is-dark {
    $color-theme: colors.$mx-dark;
  }

  .mx-side-sheet-container {
    background-color: map.get($color-theme, surface);
  }

  .mx-side-sheet-header {
    color: map.get($color-theme, onSurfaceVariant);
  }

  .not-found-box {
    mat-icon {
      fill: rgba(map.get($color-theme, onSurfaceVariant), opacity.$opacity-12);
    }
    span {
      color: rgba(map.get($color-theme, onSurface), opacity.$opacity-38);
    }
  }
}
