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

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

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

  .mx-empty-state {
    &__heading {
      color: map.get($color-theme, onSurface);
    }
    &__content {
      color: map.get($color-theme, onSurfaceVariant);
    }
  }
}
