Refactor SVG mixin