https://github.com/sha-red/compass-mixins/tree/master/lib
extended with more sass frameworks and as django app.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
386 B
14 lines
386 B
7 years ago
|
@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}';
|
||
|
}
|
||
|
}
|