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

@use '../../styles/theming' as *;

@mixin nb-tag-outline() {
  &.appearance-outline {
    @each $status in nb-get-statuses() {
      &.status-#{$status} {
        background-color: nb-theme(tag-outline-#{$status}-background-color);
        border-color: nb-theme(tag-outline-#{$status}-border-color);
        color: nb-theme(tag-outline-#{$status}-text-color);

        &.selected {
          background-color: nb-theme(tag-outline-#{$status}-selected-background-color);
          border-color: nb-theme(tag-outline-#{$status}-selected-border-color);
          color: nb-theme(tag-outline-#{$status}-selected-text-color);
        }

        &.active {
          background-color: nb-theme(tag-outline-#{$status}-active-background-color);
          border-color: nb-theme(tag-outline-#{$status}-active-border-color);
          color: nb-theme(tag-outline-#{$status}-active-text-color);
        }

        &:hover {
          background-color: nb-theme(tag-outline-#{$status}-hover-background-color);
          border-color: nb-theme(tag-outline-#{$status}-hover-border-color);
          color: nb-theme(tag-outline-#{$status}-hover-text-color);
        }
      }
    }
  }
}
