Sha256: ddc919f19586761276eece38f870bb2c0639415886078bf95042a8077b238ed1

Contents?: true

Size: 573 Bytes

Versions: 38

Compression:

Stored size: 573 Bytes

Contents

@function breakpoint-parse-triple-default($feature, $first, $second) {

  // Sort into min and max
  $min: min($first, $second);
  $max: max($first, $second);

  // Set Context
  $context-setter: private-breakpoint-set-context(min-#{$feature}, $min);
  $context-setter: private-breakpoint-set-context(max-#{$feature}, $max);

  // Make them EMs if need be
  @if (breakpoint-get('to ems') == true) {
    $min: breakpoint-to-base-em($min);
    $max: breakpoint-to-base-em($max);
  }

  @return '(min-#{$feature}: #{$min}) and (max-#{$feature}: #{$max})';
}

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/triple/_default.scss
jekyll-theme-basically-basic-1.3.1 _sass/basically-basic/vendor/breakpoint/parsers/triple/_default.scss
minimal-mistakes-jekyll-4.10.0 _sass/minimal-mistakes/vendor/breakpoint/parsers/triple/_default.scss
jekyll-theme-basically-basic-1.3.0 _sass/basically-basic/vendor/breakpoint/parsers/triple/_default.scss
jekyll-theme-so-simple-3.0.1 _sass/so-simple/vendor/breakpoint/parsers/triple/_default.scss
jekyll-theme-so-simple-3.0.0 _sass/so-simple/vendor/breakpoint/parsers/triple/_default.scss
minimal-mistakes-jekyll-4.9.1 _sass/minimal-mistakes/vendor/breakpoint/parsers/triple/_default.scss
jekyll-theme-basically-basic-1.2.0 _sass/basically-basic/vendor/breakpoint/parsers/triple/_default.scss
minimal-mistakes-jekyll-4.8.0 _sass/minimal-mistakes/vendor/breakpoint/parsers/triple/_default.scss
minimal-mistakes-jekyll-4.7.1 _sass/minimal-mistakes/vendor/breakpoint/parsers/triple/_default.scss
jekyll-theme-basically-basic-1.1.3 _sass/basically-basic/vendor/breakpoint/parsers/triple/_default.scss
jekyll-theme-basically-basic-1.1.2 _sass/basically-basic/vendor/breakpoint/parsers/triple/_default.scss
minimal-mistakes-jekyll-4.6.0 _sass/minimal-mistakes/vendor/breakpoint/parsers/triple/_default.scss
jekyll-theme-basically-basic-1.1.1 _sass/basically-basic/vendor/breakpoint/parsers/triple/_default.scss
minimal-mistakes-jekyll-4.5.2 _sass/minimal-mistakes/vendor/breakpoint/parsers/triple/_default.scss
minimal-mistakes-jekyll-4.5.1 _sass/minimal-mistakes/vendor/breakpoint/parsers/triple/_default.scss
minimal-mistakes-jekyll-4.5.0 _sass/minimal-mistakes/vendor/breakpoint/parsers/triple/_default.scss
minimal-mistakes-jekyll-4.4.2 _sass/minimal-mistakes/vendor/breakpoint/parsers/triple/_default.scss
minimal-mistakes-jekyll-4.4.0 _sass/minimal-mistakes/vendor/breakpoint/parsers/triple/_default.scss
sparrow-jekyll-theme-0.1.1 _sass/vendor/breakpoint/parsers/triple/_default.scss