
@mixin argue-chip-set {
  padding: 4px;
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;

  .argue-chip {
    margin: 4px;
  }
}

@mixin argue-chip {
  border-radius: 16px;
  background-color: var(--argue-chip-bg-color, #{$argue-chip-bg-color});
  color: var(--argue-chip-font-color, #{$argue-chip-font-color});
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-size: .875rem;
  line-height: 1.25rem;
  font-weight: 400;
  text-transform: inherit;
  height: 32px;
  position: relative;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  padding: 0 12px;
  border-width: 0;
  outline: none;
  transition: background-color .4s;
  cursor: default;

  &:hover {
    background-color: var(--argue-chip-hover-bg-color, #{$argue-chip-hover-bg-color});
    color: var(--argue-chip-hover-font-color, #{$argue-chip-hover-font-color});
  }
}

@mixin argue-chip__text {
  white-space: nowrap;
}

@mixin argue-chip__icon {
  font-size: 20px;
  width: 20px;
  height: 20px;

  &.argue-chip__icon--leading {
    margin-left: -4px;
    margin-right: 4px;
  }
}

@mixin argue-chip-icon-only {
  .argue-chip__icon {
    margin-left: -6px;
    margin-right: -6px;
  }
  .argue-chip__text {
    display: none;
  }
}
