Is it possible to add sass if statements inside a css rule? To avoid repetition. I tried this, but sass complains about syntax.
@mixin outline($color, $shadow:'none') {
text-shadow:
1px 0 0 $color,
0 1px 0 $color,
0 -1px 0 $color,
-1px 0 0 $color
@if $shadow != 'none' {
, $shadow
}
;
}