@use 'sass:map';
// Image mixin
// Use theme to manage colors on  image
@mixin mic-image-override($theme) {
  $is-dark: map.get($theme, is-dark);

  @if $is-dark {
    // Filter to manage image in darkmode
    .mic-image-darkmode-filter {
      filter: invert(100%) hue-rotate(180deg);
      mix-blend-mode: screen;
    }
  }
}
