Skip to content

Commit d906bed

Browse files
author
Yeliazar
committed
updated badge
1 parent c7e834c commit d906bed

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

src/pages/Ui/Badge/Badge.vue

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
Badges scale to match the size of the immediate parent element by
1212
using relative font sizing and em units.
1313
</p>
14-
<h1>Example heading <b-badge variant="primary">Primary</b-badge></h1>
15-
<h2>Example heading <b-badge variant="info">Info</b-badge></h2>
16-
<h3>Example heading <b-badge variant="warning">Warning</b-badge></h3>
17-
<h4>Example heading <b-badge variant="success">Success</b-badge></h4>
18-
<h5>Example heading <b-badge variant="danger">Danger</b-badge></h5>
19-
<h6>Example heading <b-badge variant="secondary">Secondary</b-badge></h6>
14+
<h1>Example heading <b-badge class="bg-primary">Primary</b-badge></h1>
15+
<h2>Example heading <b-badge class="bg-info">Info</b-badge></h2>
16+
<h3>Example heading <b-badge class="bg-warning">Warning</b-badge></h3>
17+
<h4>Example heading <b-badge class="bg-success">Success</b-badge></h4>
18+
<h5>Example heading <b-badge class="bg-danger">Danger</b-badge></h5>
19+
<h6>Example heading <b-badge class="bg-secondary">Secondary</b-badge></h6>
2020
<p>Badges can be used as part of links or buttons to provide a counter.</p>
21-
<b-button variant="primary">Notifications <b-badge variant="danger">4</b-badge></b-button>
21+
<b-button variant="primary">Notifications <b-badge class="bg-danger">4</b-badge></b-button>
2222
</Widget>
2323
</b-col>
2424
<b-col xs="12" md="6" class="px-0">
@@ -31,14 +31,14 @@
3131
Use the <code>pill</code> property to make badges more rounded
3232
(with a larger border-radius and additional horizontal padding).
3333
</p>
34-
<b-badge class="mr-3 mb-3" variant="primary" pill>Primary</b-badge>
35-
<b-badge class="mr-3 mb-3" variant="info" pill>Info</b-badge>
36-
<b-badge class="mr-3 mb-3" variant="warning" pill>Warning</b-badge>
37-
<b-badge class="mr-3 mb-3" variant="success" pill>Success</b-badge>
38-
<b-badge class="mr-3 mb-3" variant="danger" pill>Danger</b-badge>
39-
<b-badge class="mr-3 mb-3" variant="secondary" pill>Secondary</b-badge>
40-
<b-badge class="mr-3 mb-3" variant="light" pill>Light</b-badge>
41-
<b-badge class="mr-3 mb-3" variant="dark" pill>Dark</b-badge>
34+
<b-badge class="me-3 mb-3 bg-primary" pill>Primary</b-badge>
35+
<b-badge class="me-3 mb-3 bg-info" variant="info" pill>Info</b-badge>
36+
<b-badge class="me-3 mb-3 bg-warning" pill>Warning</b-badge>
37+
<b-badge class="me-3 mb-3 bg-success" pill>Success</b-badge>
38+
<b-badge class="me-3 mb-3 bg-danger" pill>Danger</b-badge>
39+
<b-badge class="me-3 mb-3 bg-secondary" pill>Secondary</b-badge>
40+
<b-badge class="me-3 mb-3 bg-light text-black" pill>Light</b-badge>
41+
<b-badge class="me-3 mb-3 bg-dark" pill>Dark</b-badge>
4242
</Widget>
4343
</b-col>
4444
<b-col xs="12">
@@ -51,14 +51,14 @@
5151
an <code>&lt;Badge&gt;</code> element quickly provide
5252
actionable badges with hover and focus states.
5353
</p>
54-
<b-badge class="mr-3 mb-3" href="#" variant="primary">Primary</b-badge>
55-
<b-badge class="mr-3 mb-3" href="#" variant="info">Info</b-badge>
56-
<b-badge class="mr-3 mb-3" href="#" variant="warning">Warning</b-badge>
57-
<b-badge class="mr-3 mb-3" href="#" variant="success">Success</b-badge>
58-
<b-badge class="mr-3 mb-3" href="#" variant="danger">Danger</b-badge>
59-
<b-badge class="mr-3 mb-3" href="#" variant="secondary">Secondary</b-badge>
60-
<b-badge class="mr-3 mb-3" href="#" variant="light">Light</b-badge>
61-
<b-badge class="mr-3 mb-3" href="#" variant="dark">Dark</b-badge>
54+
<b-badge class="me-3 mb-3 bg-primary" href="#">Primary</b-badge>
55+
<b-badge class="me-3 mb-3 bg-info" href="#">Info</b-badge>
56+
<b-badge class="me-3 mb-3 bg-warning" href="#">Warning</b-badge>
57+
<b-badge class="me-3 mb-3 bg-success" href="#">Success</b-badge>
58+
<b-badge class="me-3 mb-3 bg-danger" href="#">Danger</b-badge>
59+
<b-badge class="me-3 mb-3 bg-secondary" href="#">Secondary</b-badge>
60+
<b-badge class="me-3 mb-3 bg-light text-black" href="#">Light</b-badge>
61+
<b-badge class="me-3 mb-3 bg-dark" href="#">Dark</b-badge>
6262
</Widget>
6363
</b-col>
6464
</b-col>

0 commit comments

Comments
 (0)