Skip to content
This repository was archived by the owner on Apr 5, 2022. It is now read-only.

Commit a09f880

Browse files
committed
Add default Badge background color
1 parent bd28533 commit a09f880

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

  • packages
    • visual-stack-docs/src/containers/Components/Docs
    • visual-stack/src/components/Badge

packages/visual-stack-docs/src/containers/Components/Docs/badge.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,21 @@ export default () => (
1616
<Snippet tag="s1" src={snippets} />
1717
</Body>
1818
</Panel>
19+
<Panel>
20+
<Body>
21+
{/* s4:start */}
22+
<Box direction="row" gap="default">
23+
<Badge>CJ Performer</Badge>
24+
<Badge>CJ Spotlight</Badge>
25+
<Badge>Content Certified</Badge>
26+
<Badge>New to Network</Badge>
27+
<Badge>SubAffiliate</Badge>
28+
</Box>
29+
{/* s4:end */}
30+
<Snippet tag="s4" src={snippets} />
31+
</Body>
32+
</Panel>
33+
1934
<Panel>
2035
<Body>
2136
{/* s2:start */}

packages/visual-stack/src/components/Badge/Badge.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
line-height: 1rem;
55
border-radius: 0.2rem;
66
display: inline-block;
7+
background-color: #6d7684;
78
color: #ffffff;
89
padding: 0.2rem 0.4rem;
910
text-align: center;

0 commit comments

Comments
 (0)