//Disabled hover on touch device
@mixin hover-supported {
  @media not all and (pointer: coarse) {
    &:hover {
      @content;
    }
  }
}

//Support focus-visible
@mixin focused {
  &:focus {
    @content;
  }
  &:focus:not(:focus-visible) {
    box-shadow: none;
  }
  &:focus-visible {
    @content;
  }
}
