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