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

Commit 38c7ba4

Browse files
author
Manuel Proß
committed
feat(web): add sizing, font weight and font colour to text elements according to styleguide
1 parent bdd0d04 commit 38c7ba4

File tree

1 file changed

+8
-36
lines changed

1 file changed

+8
-36
lines changed

web/src/styles/_text.scss

Lines changed: 8 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,29 @@
11
.heading {
2-
@apply font-[400] text-secondary;
2+
@apply font-semibold text-primary;
33

44
&::before {
55
content: ">_ ";
66
}
7-
8-
@screen sm {
9-
@apply mb-5;
10-
}
11-
12-
@screen md {
13-
@apply mb-6;
14-
}
15-
16-
@screen lg {
17-
@apply mb-7;
18-
}
19-
20-
@screen xl {
21-
@apply mb-8;
22-
}
237
}
248

259
.h1 {
2610
@extend .heading;
27-
font-size: clamp(3rem, 5vw, 5rem);
11+
@apply text-xl;
2812
}
2913

3014
.h2 {
3115
@extend .heading;
32-
font-size: clamp(2rem, 4vw, 4rem);
16+
@apply font-fira text-lg;
3317
}
3418

35-
.h3 {
36-
@extend .heading;
37-
font-size: clamp(1.75rem, 3.5vw, 3rem);
38-
}
39-
40-
.h4 {
41-
@extend .heading;
42-
font-size: clamp(1.5rem, 3vw, 2.5rem);
19+
.paragraph {
20+
@apply font-normal text-base text-white font-normal;
4321
}
4422

45-
.h5 {
46-
@extend .heading;
47-
font-size: clamp(1.5rem, 2.5vw, 1.75rem);
48-
}
49-
50-
.h6 {
51-
@extend .heading;
52-
font-size: clamp(1.5rem, 2vw, 1.25rem);
23+
.link {
24+
@apply font-normal text-base text-white font-normal;
5325
}
5426

55-
ul.list li {
27+
.text- ul.list li {
5628
list-style-type: "> ";
5729
}

0 commit comments

Comments
 (0)