Sha256: e70a928323b6cda7d463380e7d7fda13cc7c47d1cc32a690e211b929fa0332e0

Contents?: true

Size: 589 Bytes

Versions: 38

Compression:

Stored size: 589 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

38 entries across 38 versions & 4 rubygems

Version Path
jekyll-theme-so-simple-3.1.0 _sass/so-simple/vendor/breakpoint/parsers/double/_double-string.scss
jekyll-theme-basically-basic-1.3.1 _sass/basically-basic/vendor/breakpoint/parsers/double/_double-string.scss
minimal-mistakes-jekyll-4.10.0 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
jekyll-theme-basically-basic-1.3.0 _sass/basically-basic/vendor/breakpoint/parsers/double/_double-string.scss
jekyll-theme-so-simple-3.0.1 _sass/so-simple/vendor/breakpoint/parsers/double/_double-string.scss
jekyll-theme-so-simple-3.0.0 _sass/so-simple/vendor/breakpoint/parsers/double/_double-string.scss
minimal-mistakes-jekyll-4.9.1 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
jekyll-theme-basically-basic-1.2.0 _sass/basically-basic/vendor/breakpoint/parsers/double/_double-string.scss
minimal-mistakes-jekyll-4.8.0 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
minimal-mistakes-jekyll-4.7.1 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
jekyll-theme-basically-basic-1.1.3 _sass/basically-basic/vendor/breakpoint/parsers/double/_double-string.scss
jekyll-theme-basically-basic-1.1.2 _sass/basically-basic/vendor/breakpoint/parsers/double/_double-string.scss
minimal-mistakes-jekyll-4.6.0 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
jekyll-theme-basically-basic-1.1.1 _sass/basically-basic/vendor/breakpoint/parsers/double/_double-string.scss
minimal-mistakes-jekyll-4.5.2 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
minimal-mistakes-jekyll-4.5.1 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
minimal-mistakes-jekyll-4.5.0 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
minimal-mistakes-jekyll-4.4.2 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
minimal-mistakes-jekyll-4.4.0 _sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss
sparrow-jekyll-theme-0.1.1 _sass/vendor/breakpoint/parsers/double/_double-string.scss