@import './variables';

@mixin telia-color($color) {
  @if map_has_key($colors, $color) {
    color: map-get($colors, $color);
  }

  @else {
    @error 'Unknown color #{$color}';
  }
}
@mixin telia-bg-color($color) {
  @if map_has_key($colors, $color) {
    background-color: map-get($colors, $color);
  }

  @else {
    @error 'Unknown background color #{$color}';
  }
}
