Closed avelinet closed 9 years ago
I did two things:
I think we should add modifiers to this for things like success
, error
, warning
, and whatnot. Might want to wrap the content in a span so we can separate text or content styling from the badge styling.
In general this looks really good. My main concerns are:
@ry5n I think we probably want the badge to move to a pill shape when the font size gets wider but that's a design preference.
@kpeatt I think that’s sensible default behaviour. What I’m saying is that it should not get narrower if you use a condensed face though. So it should be circular, or grow horizontally. Hence setting height and min-width.
@ry5n :+1:
I agree with omitting the modifiers for the base component, can't think of the last project I would have needed them on a badge component.
Also agree with @ry5n regarding wrapping the inner text.
+1
@kpeatt Any comments on the last two todos in the summary? Do you disagree?
Nope, I don't think they're blockers and we could add them later if necessary.
:+1: from me
Implementation looks good. It’s smaller than it was; what do you think of bumping the font-size to 0.85em
?
Status: Ready to merge
Reviewers: @jeffkamo @kpeatt @cole-sanderson @nastiatikk @mlworks
Minor work todo