/**
 * @license
 * Copyright Endlessjs. All Rights Reserved.
 * Licensed under the MIT License. See License.txt in the project root for license information.
 */

@mixin el-badge-theme() {
  el-badge {
    border-radius: el-theme(badge-border-radius);
    font-family: el-theme(badge-text-font-family);
    font-size: el-theme(badge-text-font-size);
    font-weight: el-theme(badge-text-font-weight);
    line-height: el-theme(badge-text-line-height);
    padding: el-theme(badge-padding);
  }

  @each $status in el-get-statuses() {
    el-badge.status-#{$status} {
      color: el-theme(badge-#{$status}-text-color);
      background-color: el-theme(badge-#{$status}-background-color);
    }
  }
}
