blob: 503ef427b09957cb976ed754886fd6b3be69a449 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
@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}';
}
}
|