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
creek-jekyll-theme-0.5.1 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
creek-jekyll-theme-0.5.0 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
creek-jekyll-theme-0.3.0 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
creek-jekyll-theme-0.2.2 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
creek-jekyll-theme-0.2.1 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
creek-jekyll-theme-0.2.0 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
creek-jekyll-theme-0.1.2 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
creek-jekyll-theme-0.1.1 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
creek-jekyll-theme-0.1.0 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
jekyll-theme-basically-basic-1.4.5 _sass/basically-basic/vendor/breakpoint/parsers/double/_double-string.scss
minimal-mistakes-jekyll-4.24.0 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
minimal-mistakes-jekyll-4.23.0 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
minimal-mistakes-jekyll-4.22.0 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
jekyll-theme-so-simple-libre-4.0.0 _sass/so-simple/vendor/breakpoint/parsers/double/_double-string.scss
minimal-mistakes-jekyll-4.21.0 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
dendron-jekyll-0.3.12 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
dendron-jekyll-0.3.11 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
dendron-jekyll-0.3.9 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
dendron-jekyll-0.3.8 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
dendron-jekyll-0.3.7 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss