1
0
Fork 0
mirror of synced 2024-11-16 14:25:35 -05:00
yadm/_sass/vendor/breakpoint/parsers/double/_default.scss

23 lines
450 B
SCSS
Raw Normal View History

2016-09-06 23:18:34 -04:00
@function breakpoint-parse-double-default($first, $second) {
$feature: '';
$value: '';
@if type-of($first) == 'string' {
$feature: $first;
$value: $second;
}
@else {
$feature: $second;
$value: $first;
}
// Set Context
$context-setter: private-breakpoint-set-context($feature, $value);
@if (breakpoint-get('to ems') == true) {
$value: breakpoint-to-base-em($value);
}
@return '(#{$feature}: #{$value})'
}