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.
22 lines
450 B
22 lines
450 B
@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})' |
|
}
|
|
|