updated fonts

This commit is contained in:
liyunze 2026-09-01 15:53:43 +08:00
parent be5f9e7536
commit 4135cdca3a
8 changed files with 42 additions and 8 deletions

View file

@ -78,7 +78,7 @@ define(['./workbox-7e5eb42b'], (function (workbox) { 'use strict';
*/
workbox.precacheAndRoute([{
"url": "/",
"revision": "0.5d3f7lf01og"
"revision": "0.or5ntbjovsg"
}], {});
workbox.cleanupOutdatedCaches();
workbox.registerRoute(new workbox.NavigationRoute(workbox.createHandlerBoundToURL("/"), {

View file

@ -28,12 +28,6 @@
<link rel="manifest" href="/manifest.webmanifest" />
<link rel="icon" href="/favicon.ico" sizes="any" />
<link rel="apple-touch-icon" href="/apple-touch-icon-180x180.png" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Inter:ital,opsz,wght@0,14..32,400;0,14..32,500;0,14..32,600;1,14..32,400&display=swap"
rel="stylesheet"
/>
%sveltekit.head%
</head>
<body data-sveltekit-preload-data="hover">

View file

@ -1,8 +1,48 @@
@import "tailwindcss";
@font-face {
font-family: "Inter";
font-style: normal;
font-weight: 400;
font-display: swap;
src: url("/fonts/Inter/Inter_18pt-Regular.ttf") format("truetype");
}
@font-face {
font-family: "Inter";
font-style: normal;
font-weight: 500;
font-display: swap;
src: url("/fonts/Inter/Inter_18pt-Medium.ttf") format("truetype");
}
@font-face {
font-family: "Inter";
font-style: normal;
font-weight: 600;
font-display: swap;
src: url("/fonts/Inter/Inter_18pt-SemiBold.ttf") format("truetype");
}
@font-face {
font-family: "Montserrat";
font-style: normal;
font-weight: 400;
font-display: swap;
src: url("/fonts/Montserrat/Montserrat-Regular.ttf") format("truetype");
}
@font-face {
font-family: "Montserrat";
font-style: normal;
font-weight: 500;
font-display: swap;
src: url("/fonts/Montserrat/Montserrat-Medium.ttf") format("truetype");
}
@theme {
--font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
--font-serif: "EB Garamond", "Iowan Old Style", Palatino, Georgia, serif;
--font-serif: "Montserrat", "Iowan Old Style", Palatino, Georgia, serif;
--color-primary: #ea4c65;
--color-primary-dark: #d43d56;
--color-secondary: #00bcd4;

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.