Skip to content

Commit cab7164

Browse files
Create labels.scss
1 parent 24d654d commit cab7164

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

docs/_sass/labels.scss

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
.label:not(g),
2+
.label-blue:not(g) {
3+
display: inline-block;
4+
padding: 0.16em 0.56em;
5+
margin-right: $sp-2;
6+
margin-left: $sp-2;
7+
color: $white;
8+
text-transform: uppercase;
9+
vertical-align: middle;
10+
background-color: $blue-100;
11+
border-radius: 12px;
12+
13+
@include fs-2;
14+
}
15+
16+
.label-required:not(g) {
17+
background-color: $red-100;
18+
}
19+
20+
.label-recommended:not(g) {
21+
background-color: $green-300;
22+
}
23+
24+
.label-yellow:not(g) {
25+
color: $grey-dk-200;
26+
background-color: $yellow-200;
27+
}

0 commit comments

Comments
 (0)