File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed
app/design/frontend/Magento/blank/web/css/source Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 12
12
@family-name : @font-family-name__base ,
13
13
@font-path : ' @{baseDir} fonts/opensans/light/opensans-300' ,
14
14
@font-weight : 300 ,
15
- @font-style : normal
15
+ @font-style : normal ,
16
+ @font-display : swap
16
17
);
17
18
18
19
.lib-font-face (
19
20
@family-name : @font-family-name__base ,
20
21
@font-path : ' @{baseDir} fonts/opensans/regular/opensans-400' ,
21
22
@font-weight : 400 ,
22
- @font-style : normal
23
+ @font-style : normal ,
24
+ @font-display : swap
23
25
);
24
26
25
27
.lib-font-face (
26
28
@family-name : @font-family-name__base ,
27
29
@font-path : ' @{baseDir} fonts/opensans/semibold/opensans-600' ,
28
30
@font-weight : 600 ,
29
- @font-style : normal
31
+ @font-style : normal ,
32
+ @font-display : swap
30
33
);
31
34
32
35
.lib-font-face (
33
36
@family-name : @font-family-name__base ,
34
37
@font-path : ' @{baseDir} fonts/opensans/bold/opensans-700' ,
35
38
@font-weight : 700 ,
36
- @font-style : normal
39
+ @font-style : normal ,
40
+ @font-display : swap
37
41
);
38
42
}
39
43
Original file line number Diff line number Diff line change 11
11
@family-name ,
12
12
@font-path ,
13
13
@font-weight : normal ,
14
- @font-style : normal
14
+ @font-style : normal ,
15
+ @font-display : auto
15
16
) {
16
17
@font-face {
17
18
font-family : @family-name ;
18
19
src : url(' @{font-path} .woff2' ) format (' woff2' ),
19
20
url(' @{font-path} .woff' ) format (' woff' );
20
21
font-weight : @font-weight ;
21
22
font-style : @font-style ;
23
+ font-display : @font-display ;
22
24
}
23
25
}
24
26
You can’t perform that action at this time.
0 commit comments