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
jekyll-theme-basically-basic-1.4.3 _sass/basically-basic/vendor/breakpoint/parsers/double/_double-string.scss
minimal-mistakes-jekyll-4.16.6 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
jekyll-theme-basically-basic-1.4.2 _sass/basically-basic/vendor/breakpoint/parsers/double/_double-string.scss
minimal-mistakes-jekyll-4.16.5 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
minimal-mistakes-jekyll-4.16.4 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
minimal-mistakes-jekyll-4.16.3 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
minimal-mistakes-jekyll-4.16.2 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
minimal-mistakes-jekyll-4.16.1 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
minimal-mistakes-jekyll-4.16.0 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
sparrow-jekyll-theme-0.1.2 _sass/vendor/breakpoint/parsers/double/_double-string.scss
minimal-mistakes-jekyll-4.15.2 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
jekyll-theme-so-simple-3.1.2 _sass/so-simple/vendor/breakpoint/parsers/double/_double-string.scss
minimal-mistakes-jekyll-4.15.1 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
minimal-mistakes-jekyll-4.15.0 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
minimal-mistakes-jekyll-4.14.2 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
minimal-mistakes-jekyll-4.14.1 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
minimal-mistakes-jekyll-4.14.0 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
minimal-mistakes-jekyll-4.13.0 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
minimal-mistakes-jekyll-4.12.2 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
minimal-mistakes-jekyll-4.12.1 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss