Refactored and optimized stylus mixins