Sha256: a1291fa74b243a6d521f24389d6ed4c03a1c06fd6a2b28087b1b8f00d3c6e08f
Contents?: true
Size: 632 Bytes
Versions: 38
Compression:
Stored size: 632 Bytes
Contents
@function breakpoint-parse-default-pair($first, $second) { $default: breakpoint-get('default pair'); $min: ''; $max: ''; // Sort into min and max $min: min($first, $second); $max: max($first, $second); // Set Context $context-setter: private-breakpoint-set-context(min-#{$default}, $min); $context-setter: private-breakpoint-set-context(max-#{$default}, $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-#{$default}: #{$min}) and (max-#{$default}: #{$max})'; }
Version data entries
38 entries across 38 versions & 4 rubygems