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