diff --git a/src/pages/_docs/badges.md b/src/pages/_docs/badges.md
index ce2f6da1a..a043b3bdb 100644
--- a/src/pages/_docs/badges.md
+++ b/src/pages/_docs/badges.md
@@ -12,7 +12,7 @@ The default badges are square and come in the basic set of colors.
{% capture code %}
{% for color in site.colors %}
-{{ color[0] }}
+{{ color[1].title }}
{% endfor %}
{% endcapture %}
{% include example.html code=code centered=true %}
@@ -36,7 +36,7 @@ You can create a soft colour variant of a corresponding contextual badge variati
{% capture code %}
{% for color in site.colors %}
-{{ color[0] }}
+{{ color[1].title }}
{% endfor %}
{% endcapture %}
{% include example.html code=code centered=true %}
@@ -48,7 +48,7 @@ Place the badge within an `` element if you want it to perform the function o
{% capture code %}
{% for color in site.colors %}
-{{ color[0] }}
+{{ color[1].title }}
{% endfor %}
{% endcapture %}
{% include example.html code=code centered=true %}
@@ -66,19 +66,6 @@ Leave the HTML element empty if you want to create badges without any text. Empt
{% include example.html code=code centered=true %}
-## Badge avatars
-
-Create the `.badge-avatar` class to add an avatar that will make a badge more personalized.
-
-{% capture code %}
-{% include ui/badge.html person-id=1 %}
-{% include ui/badge.html person-id=2 %}
-{% include ui/badge.html person-id=3 %}
-{% include ui/badge.html person-id=4 %}
-{% include ui/badge.html person-id=5 %}
-{% endcapture %}
-{% include example.html code=code %}
-
## Button with badge
Badges can be used as part of links or buttons to provide a counter.
diff --git a/src/scss/ui/_badges.scss b/src/scss/ui/_badges.scss
index d0df5b5a6..2926794d9 100644
--- a/src/scss/ui/_badges.scss
+++ b/src/scss/ui/_badges.scss
@@ -12,7 +12,6 @@
font-weight: $headings-font-weight;
font-size: $h6-font-size;
letter-spacing: .04em;
- text-transform: uppercase;
@at-root a#{&} {
color: $white;
@@ -28,13 +27,6 @@
border-radius: $border-radius-pill;
}
- .avatar {
- box-sizing: content-box;
- width: 1.25rem;
- height: 1.25rem;
- margin: 0 .5rem 0 -.5rem;
- }
-
.icon {
width: 1em;
height: 1em;
@@ -50,6 +42,5 @@
}
.badge-pill {
- border-radius: 100px;
- min-width: 1.75em;
+ border-radius: $border-radius-pill;
}
\ No newline at end of file