The complexity of a condition is defined by the number of and and or operators.
A single condition's complexity should not become too high to keep the code readable.
@if $height < 10 px and $width < 20px and $depth < 5px or $is-box-valid {
do-something();
}
$is-box-small-enough: $height < 10 px and $width < 20px and $depth < 5px;
@if $is-frame-small-enough or $is-box-valid {
do-something();
}