Skip to content

Commit 2348982

Browse files
Refactor Google Fonts URL for improved readability
1 parent 8f932a7 commit 2348982

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

config/google-fonts.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,15 @@
77
* The google-fonts:fetch command will prefetch these fonts.
88
*/
99
'fonts' => [
10-
'default' => 'https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&family=Lexend:wght@700&family=Kalam:wght@400;700&family=JetBrains+Mono&family=Be+Vietnam+Pro:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Mono:wght@500&family=Afacad:ital,wght@0,400..700;1,400..700&display=swap',
10+
'default' => 'https://fonts.googleapis.com/css2?'
11+
. 'family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&'
12+
. 'family=Lexend:wght@700&'
13+
. 'family=Kalam:wght@400;700&'
14+
. 'family=JetBrains+Mono&'
15+
. 'family=Be+Vietnam+Pro:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&'
16+
. 'family=Roboto+Mono:wght@500&'
17+
. 'family=Afacad:ital,wght@0,400..700;1,400..700&'
18+
. 'display=swap',
1119
],
1220

1321
/*

0 commit comments

Comments
 (0)