$cursor-data: (
  auto: auto,
  default: default,
  pointer: pointer,
  wait: wait,
  text: text,
  move: move,
  not-allowed: not-allowed,
);

@function cursor($cursor) {
  $value: map-get($cursor-data, $cursor);

  @if type-of($value) != string {
    @error "Border radius size `#{$cursor}` not found.";
  }

  @return $value;
}
