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

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

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

  .mx-fixed-bottom-bar {
    background-color: transparent;

    &__content {
      @extend .gl-body-md;
      color: map.get($color-theme, onSurfaceVariant);
    }
  }
}
