Skip to content
Commit ece3e441 authored by Mark Florian's avatar Mark Florian Committed by Andrew Fontaine
Browse files

feat(badge): Update styling of text badges

BREAKING CHANGE: This implements the [text-only][1] versions of the
latest badge designs.  Support for icons will be added in a future
version.

 - This removes the `primary`, `secondary`, `light` and `dark` variants
   of GlBadge, and adds the `muted` and `neutral` variants.
 - The `pill` prop is now ignored, and all GlBadges are of the `pill`
   type.

It's recommended to replace usage of the removed variants with the new
variants:

    primary   -> info
    secondary -> neutral
    light     -> muted
    dark      -> neutral

[1]: gitlab-org/gitlab-ui#481
parent e88f6ee6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment