Skip to content

Components: Standardize badge component #41648

Open
@jancavan

Description

@jancavan

We currently use the following components in Calypso to render a small piece of information that needs to stand out:

Badge: https://wpcalypso.wordpress.com/devdocs/design/badge
Ribbon: https://wpcalypso.wordpress.com/devdocs/design/ribbon

However, in some places, particularly in /plans, there is a different kind of badge which:

  • has different styles and doesn't appear to be an actual component
  • is using the color pink, which isn't any of the badge colors

Screen Shot 2020-04-29 at 3 51 11 PM

Screen Shot 2020-04-29 at 3 51 21 PM

We should:

  • Make sure we use the badge component in cases like these
  • Standardize the colors of this component
  • Deprecate the ribbon component (I honestly don't know how this works with i18n, it doesn't look to be able to contain too many words)

cc @Automattic/dotcom-manage-design

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions