1
0
Fork 0
mirror of synced 2024-11-17 22:55:35 -05:00
yadm/_sass/vendor/breakpoint/parsers/single/_default.scss

14 lines
386 B
SCSS
Raw Normal View History

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