@mixin nsw-focus($offset: true, $color: $focus-color) {
  @if type-of($offset) != bool {
    @error 'NSW-DS nsw-focus mixin allows a boolean for $offset: You have used a type of "#{type-of($offset)}" and a value of "#{$offset}"';
  }

  @if $color != $focus-color and $color != $white {
    @warn 'NSW-DS nsw-focus mixin it is suggested to use the following values for $color: "#{$white}", "#{$focus-color}".'
      + 'These have been tested against the DS background colors and comply to WCAG color contrast guidlines';
  }

  outline: solid 3px $color;
  outline-offset: 0;

  @if $offset == true {
    outline-offset: $focus-offset;
  }
}

@mixin nsw-hover {
  background-color: $hover-colour;
}

@mixin nsw-active {
  background-color: $focus-color;
  color: $white;
}
