Skip to content

Commit c62121d

Browse files
committed
Replace old design system font sizes with new
1 parent 31a2a76 commit c62121d

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/assets/stylesheets/Instructions.scss

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,25 @@
33
@use "../../../node_modules/@raspberrypifoundation/design-system-core/scss/mixins/typography";
44
@use "./rpf_design_system/colours" as *;
55
@use "./rpf_design_system/spacing" as *;
6-
@use "./rpf_design_system/font-size" as *;
7-
@use "./rpf_design_system/font-weight" as *;
86

97
.project-instructions {
108
block-size: 100%;
119

1210
h2 {
13-
@include font-size-1-25(bold);
11+
@include typography.style-1-5(bold);
1412
margin: 0;
1513
}
1614

1715
p {
18-
@include font-size-1();
16+
@include typography.style-1();
1917
}
2018

2119
a {
2220
color: var(--editor-color-theme-secondary);
2321
}
2422

2523
strong {
26-
font-weight: $font-weight-bold;
24+
font-weight: var(--font-weight-bold);
2725
}
2826

2927
img {
@@ -52,7 +50,7 @@
5250
}
5351

5452
pre {
55-
@include font-size-1();
53+
@include typography.style-1();
5654

5755
background-color: $rpf-grey-700;
5856
border: 1px solid $rpf-grey-600;
@@ -245,9 +243,10 @@
245243
margin: $space-1-5 0;
246244

247245
h3 {
246+
@include typography.style-1(bold);
247+
248248
margin: 0;
249249
padding-inline-start: $space-2;
250-
@include font-size-1(bold);
251250
background-repeat: no-repeat;
252251
background-position: inline-start $space-0-5 center;
253252
}

0 commit comments

Comments
 (0)