update fonts.

This commit is contained in:
Heidi
2026-05-16 08:25:00 +01:00
parent 97a68e79fc
commit 50b293699c
+63 -29
View File
@@ -84,7 +84,55 @@
@font-face { @font-face {
font-display: swap; font-display: swap;
font-family: "SF Pro Local"; font-family: "SF Pro Text Local";
font-style: normal;
font-weight: 400;
src: url("/fonts/SF-Pro-Text-Regular.otf") format("opentype");
}
@font-face {
font-display: swap;
font-family: "SF Pro Text Local";
font-style: normal;
font-weight: 500;
src: url("/fonts/SF-Pro-Text-Medium.otf") format("opentype");
}
@font-face {
font-display: swap;
font-family: "SF Pro Text Local";
font-style: normal;
font-weight: 600;
src: url("/fonts/SF-Pro-Text-Semibold.otf") format("opentype");
}
@font-face {
font-display: swap;
font-family: "SF Pro Text Local";
font-style: normal;
font-weight: 700;
src: url("/fonts/SF-Pro-Text-Bold.otf") format("opentype");
}
@font-face {
font-display: swap;
font-family: "SF Pro Text Local";
font-style: normal;
font-weight: 800;
src: url("/fonts/SF-Pro-Text-Heavy.otf") format("opentype");
}
@font-face {
font-display: swap;
font-family: "SF Pro Text Local";
font-style: normal;
font-weight: 900;
src: url("/fonts/SF-Pro-Text-Black.otf") format("opentype");
}
@font-face {
font-display: swap;
font-family: "SF Pro Rounded Local";
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
src: url("/fonts/SF-Pro-Rounded-Regular.otf") format("opentype"); src: url("/fonts/SF-Pro-Rounded-Regular.otf") format("opentype");
@@ -92,15 +140,7 @@
@font-face { @font-face {
font-display: swap; font-display: swap;
font-family: "SF Pro Local"; font-family: "SF Pro Rounded Local";
font-style: normal;
font-weight: 500;
src: url("/fonts/SF-Pro-Rounded-Medium.otf") format("opentype");
}
@font-face {
font-display: swap;
font-family: "SF Pro Local";
font-style: normal; font-style: normal;
font-weight: 600; font-weight: 600;
src: url("/fonts/SF-Pro-Rounded-Semibold.otf") format("opentype"); src: url("/fonts/SF-Pro-Rounded-Semibold.otf") format("opentype");
@@ -108,25 +148,9 @@
@font-face { @font-face {
font-display: swap; font-display: swap;
font-family: "SF Pro Local"; font-family: "SF Pro Rounded Local";
font-style: normal; font-style: normal;
font-weight: 700; font-weight: 700 900;
src: url("/fonts/SF-Pro-Rounded-Bold.otf") format("opentype");
}
@font-face {
font-display: swap;
font-family: "SF Pro Local";
font-style: normal;
font-weight: 800;
src: url("/fonts/SF-Pro-Rounded-Heavy.otf") format("opentype");
}
@font-face {
font-display: swap;
font-family: "SF Pro Local";
font-style: normal;
font-weight: 900;
src: url("/fonts/SF-Pro-Rounded-Black.otf") format("opentype"); src: url("/fonts/SF-Pro-Rounded-Black.otf") format("opentype");
} }
@@ -141,10 +165,20 @@ body {
min-width: 320px; min-width: 320px;
min-height: 100vh; min-height: 100vh;
font-family: font-family:
"SF Pro Local", "SF Pro Rounded", "SF Pro Text", -apple-system, "SF Pro Text Local", "SF Pro Text", -apple-system,
BlinkMacSystemFont, "Segoe UI", Inter, ui-sans-serif, system-ui, sans-serif; BlinkMacSystemFont, "Segoe UI", Inter, ui-sans-serif, system-ui, sans-serif;
} }
h2,
h3,
.text-text-soft,
.text-text-muted {
font-family:
"SF Pro Rounded Local", "SF Pro Rounded", "SF Pro Text Local",
"SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Inter,
ui-sans-serif, system-ui, sans-serif;
}
.pixel-mountains { .pixel-mountains {
position: absolute; position: absolute;
inset: 0; inset: 0;