@use 'sass:map';

@use 'mixins/mixins' as *;
@use 'common/var' as *;

@include b(check-tag) {
  background-color: getCssVar('color', 'info', 'light-9');
  border-radius: getCssVar('border-radius', 'base');
  color: getCssVar('text-color', 'secondary');
  cursor: pointer;
  display: inline-block;
  font-size: getCssVar('font-size', 'base');
  line-height: getCssVar('font-size', 'base');
  padding: 7px 15px;
  transition: getCssVar('transition', 'all');
  font-weight: bold;

  &:hover {
    background-color: getCssVar('color', 'info', 'light-7');
  }

  @include when(checked) {
    background-color: getCssVar('color', 'primary', 'light-8');
    color: getCssVar('color', 'primary');
    &:hover {
      background-color: getCssVar('color', 'primary', 'light-7');
    }
  }
}
