more dry code overall and sass output for element mixin