$borders-data: (
  base: border-width() solid color('sky'),
  dark: border-width() solid color('sky', 'dark'),
  transparent: border-width() solid transparent,
);

/// Returns the default border.
/// @param {String} $variant [base] - The border variant key.
/// @return {List} The border value.

@function border($variant: base) {
  $fetched-value: map-get($borders-data, $variant);

  @if $fetched-value {
    @return $fetched-value;
  } @else {
    @error 'Border variant `#{$variant}` not found. Available variants: #{available-names($borders-data)}';
  }
}
