@use "sass:map";
@use "@angular/material" as mat;
@use "../global/index" as global;
@use "../themes/index" as themes;

@mixin override-color($theme) {
  // Do nothing. light or dark use the same color and background.
  .mat-tree {
    background: transparent;
  }
}

@mixin override-theme($theme) {
  $color-config: mat.get-color-config($theme);
  @if $color-config != null {
    @include override-color($theme);
  }

  .mat-tree {
    font-size: global.$default-fz;
  }
}
