Dynamic mixins

Make the generator mixins dynamic so that they can be used
to generate other instances of the same pattern of CSS to
improve ease of reuse.