Sha256: ccbed60bbbe6d3e5206c079e97913d3663deea72a2a11109623bb67f0ddbd495

Contents?: true

Size: 568 Bytes

Versions: 105

Compression:

Stored size: 568 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 if (breakpoint-string-value($second) == true) {
    $feature: $second;
    $value: $first;
  }
  @else {
    @warn "Neither #{$first} nor #{$second} is a valid media query name.";
  }

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

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

Version data entries

105 entries across 105 versions & 11 rubygems

Version Path
oneflow-jekyll-1.0 _sass/oneflow/vendor/breakpoint/parsers/double/_double-string.scss
minimal-mistakes-jekyll-4.26.2 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
minimal-mistakes-jekyll-4.26.0 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
minimal-mistakes-jekyll-4.25.1 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
minimal-mistakes-jekyll-4.25.0 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
creek-jekyll-theme-1.7.5 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
creek-jekyll-theme-1.7.4 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
creek-jekyll-theme-1.7.3 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
creek-jekyll-theme-1.7.1 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
creek-jekyll-theme-1.7.0 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
creek-jekyll-theme-1.6.0 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
creek-jekyll-theme-1.5.0 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
creek-jekyll-theme-1.4.1 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
creek-jekyll-theme-1.4.0 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
creek-jekyll-theme-1.3.0 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
creek-jekyll-theme-1.2.2 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
creek-jekyll-theme-1.2.0 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
creek-jekyll-theme-1.1.0 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
creek-jekyll-theme-1.0.0 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
creek-jekyll-theme-0.5.2 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss