Sha256: 391d2deaa10ec10410ac8de5c732c44c7e084a04f905a24c1c4fb943efd4dabd

Contents?: true

Size: 434 Bytes

Versions: 141

Compression:

Stored size: 434 Bytes

Contents

@function breakpoint-parse-double-string($first, $second) {
  $feature: '';
  $value: '';

  // Test to see which is the feature and which is the value
  @if (breakpoint-string-value($first) == true) {
    $feature: $first;
    $value: $second;
  }
  @else {
    $feature: $second;
    $value: $first;
  }

  // Set Context
  $context-setter: private-breakpoint-set-context($feature, $value);

  @return '(#{$feature}: #{$value})';
}

Version data entries

141 entries across 79 versions & 2 rubygems

Version Path
breakpoint-2.0.0 stylesheets/breakpoint/parsers/double/_double-string.scss