perf(frontend): trim unused Cormorant Google font weight

This commit is contained in:
Piotr Oleszczyk 2026-03-05 12:53:14 +01:00
parent 0a4ccefe28
commit 7eca2391a9
2 changed files with 4 additions and 1 deletions

View file

@ -27,6 +27,9 @@ This cookbook defines the visual system for the frontend so every new change ext
- Body/UI text: `Manrope`. - Body/UI text: `Manrope`.
- Use display typography for page titles and section heads only. - Use display typography for page titles and section heads only.
- Keep paragraph text in body font for legibility. - Keep paragraph text in body font for legibility.
- Keep Google font loading aligned with current usage:
- `Cormorant Infant`: `600`, `700` (no italic)
- `Manrope`: `400`, `500`, `600`, `700`
## Color system ## Color system

View file

@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="preconnect" href="https://fonts.googleapis.com" /> <link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="anonymous" /> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="anonymous" />
<link href="https://fonts.googleapis.com/css2?family=Cormorant+Infant:wght@500;600;700&family=Manrope:wght@400;500;600;700&display=swap" rel="stylesheet" /> <link href="https://fonts.googleapis.com/css2?family=Cormorant+Infant:wght@600;700&family=Manrope:wght@400;500;600;700&display=swap" rel="stylesheet" />
%sveltekit.head% %sveltekit.head%
</head> </head>
<body data-sveltekit-preload-data="hover"> <body data-sveltekit-preload-data="hover">