Sha256: 5699df8455edc42b24e324112e5a5d38ed7ebaaae92035420368b4d885dc4593

Contents?: true

Size: 555 Bytes

Versions: 229

Compression:

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

229 entries across 167 versions & 12 rubygems

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