Skip to content

Commit 2ce4755

Browse files
committed
fix paragraph
1 parent e01b080 commit 2ce4755

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/scss/03-base/_text.scss

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
$text: "default", "small", "large", "huge";
2-
31
b,
42
strong {
53
font-weight: 700;
@@ -20,9 +18,3 @@ pre {
2018
sup {
2119
vertical-align: super;
2220
}
23-
24-
@each $style in $text {
25-
.is-style-#{$style} {
26-
@include text(#{$style});
27-
}
28-
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
1+
$paragraphs: "default", "small", "large", "huge";
2+
13
p {
24
@include text(default);
35

46
&.has-background {
57
padding: 20px;
68
}
9+
10+
@each $style in $paragraphs {
11+
&.is-style-#{$style} {
12+
@include text(#{$style});
13+
}
14+
}
715
}

0 commit comments

Comments
 (0)