Skip to content
This repository was archived by the owner on Jun 28, 2025. It is now read-only.

Commit d54b1dd

Browse files
author
Manuel Proß
committed
feat(web): add separate classes for headings without '>_' prefix
1 parent 084d1db commit d54b1dd

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

web/src/styles/_text.scss

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
.heading {
2-
@apply font-semibold text-primary mb-8;
1+
.h1 {
2+
@apply font-fira font-semibold text-primary text-xl mb-8;
33
}
44

5-
.h1 {
6-
@extend .heading;
5+
.h2 {
6+
@apply font-fira font-semibold text-primary text-lg mb-6;
7+
}
78

8-
@apply text-xl;
9+
.h1-prefix {
10+
@extend .h1;
911

1012
&::before {
1113
content: ">_ ";
1214
}
1315
}
1416

15-
.h2 {
16-
@extend .heading;
17-
18-
@apply font-fira text-lg;
17+
.h2-prefix {
18+
@extend .h2;
1919

2020
&::before {
2121
content: "> ";

0 commit comments

Comments
 (0)