Skip to content

Commit 0ef1dce

Browse files
committed
update primer-buttons to v2.0.0
1 parent 565372e commit 0ef1dce

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

packages/primer-buttons/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Primer CSS Buttons
22

33
[![NPM version](http://img.shields.io/npm/v/primer-buttons.svg)](https://www.npmjs.org/package/primer-buttons)
4-
[![Build Status](https://travis-ci.org/primer/buttons.svg?branch=master)](https://travis-ci.org/primer/buttons)
4+
[![Build Status](https://travis-ci.org/primer/primer-buttons.svg?branch=master)](https://travis-ci.org/primer/primer-buttons)
55

66
> Buttons are used for actions, like in forms, while textual hyperlinks are used for destinations, or moving from one page to another.
77
@@ -172,27 +172,27 @@ You can easily append a count to a **small button**. Add the `.with-count` class
172172
</div>
173173
```
174174

175-
You can also use the [counter](../utilities/#counter) component within buttons:
175+
You can also use the [counter](../../product/components/labels) component within buttons:
176176

177177
```html
178178
<button class="btn" type="button">
179179
Button
180-
<span class="counter">12</span>
180+
<span class="Counter">12</span>
181181
</button>
182182

183183
<button class="btn btn-primary" type="button">
184184
Button
185-
<span class="counter">12</span>
185+
<span class="Counter">12</span>
186186
</button>
187187

188188
<button class="btn btn-danger" type="button">
189189
Button
190-
<span class="counter">12</span>
190+
<span class="Counter">12</span>
191191
</button>
192192

193193
<button class="btn btn-outline" type="button">
194194
Button
195-
<span class="counter">12</span>
195+
<span class="Counter">12</span>
196196
</button>
197197
```
198198

packages/primer-buttons/lib/button.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
}
3131

3232
// Darken for just a tad more contrast against the button background
33-
.counter {
33+
.Counter {
3434
color: $gray-600;
3535
text-shadow: none;
3636
background-color: rgba($black, 0.1);

packages/primer-buttons/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.0.0",
2+
"version": "2.0.0",
33
"name": "primer-buttons",
44
"description": "A collection of buttons used for primary and secondary actions.",
55
"homepage": "http://primercss.io/",

0 commit comments

Comments
 (0)