krisbulman/aether — Issue #16: create mixin for pill style
Author: krisbulman
Created: 2011-12-01 20:40:13+00:00
State: open

the pill style for secondary tabs has been moved to patterns to be used as a re-usable pattern.

while it's useful and can be used with an @extend to draw it into the secondary tabs style, I can see use cases where a designer would want to modify this style.. and since it's not something that would be used extensively on a site in numerous places, a mixin that would allow you to modify it's style by throwing arguments in to change it's appearance.

the mixin would live in patterns.scss, as it's style related (rather than in utilities.scss, which is for things like clearfix)

It would function something like this:

@include pill($border: 1px, $bg: $grey, $hover: $darkgrey, $padding: 0 5px)