feat: use Geist fonts

This commit is contained in:
Shakker 2026-05-08 17:01:57 +01:00
parent d17d4f2368
commit 85bb62c78f
No known key found for this signature in database
16 changed files with 27 additions and 5 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -4,8 +4,8 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ClickClack</title>
<script type="module" crossorigin src="/assets/index-Bafqh7qE.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-BddN5sPv.css">
<script type="module" crossorigin src="/assets/index-DB4gtESA.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-BkjsE07i.css">
</head>
<body>
<div id="app"></div>

View File

@ -11,6 +11,8 @@
"preview": "vite preview --host 127.0.0.1"
},
"dependencies": {
"@fontsource-variable/geist": "^5.2.8",
"@fontsource-variable/geist-mono": "^5.2.7",
"@sveltejs/vite-plugin-svelte": "^6.2.1",
"dompurify": "^3.3.0",
"marked": "^17.0.1",

View File

@ -1,6 +1,7 @@
:root {
color-scheme: light dark;
font-family:
"Geist Variable",
"Inter",
"SF Pro Text",
ui-sans-serif,

View File

@ -342,7 +342,7 @@
border: 1px solid var(--line);
border-radius: 4px;
padding: 0 5px;
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-family: "Geist Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 10.5px;
color: var(--text);
}

View File

@ -1,3 +1,6 @@
@import "@fontsource-variable/geist";
@import "@fontsource-variable/geist-mono";
@import "./base.css";
@import "./layout.css";
@import "./sidebar.css";

View File

@ -321,7 +321,7 @@
border: 1px solid var(--line);
border-radius: 4px;
padding: 1px 5px;
font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-family: "Geist Mono Variable", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 0.9em;
}

16
pnpm-lock.yaml generated
View File

@ -26,6 +26,12 @@ importers:
apps/web:
dependencies:
'@fontsource-variable/geist':
specifier: ^5.2.8
version: 5.2.8
'@fontsource-variable/geist-mono':
specifier: ^5.2.7
version: 5.2.7
'@sveltejs/vite-plugin-svelte':
specifier: ^6.2.1
version: 6.2.4(svelte@5.55.5)(vite@7.3.3(@types/node@25.6.2))
@ -240,6 +246,12 @@ packages:
cpu: [x64]
os: [win32]
'@fontsource-variable/geist-mono@5.2.7':
resolution: {integrity: sha512-ZKlZ5sjtalb2TwXKs400mAGDlt/+2ENLNySPx0wTz3bP3mWARCsUW+rpxzZc7e05d2qGch70pItt3K4qttbIYA==}
'@fontsource-variable/geist@5.2.8':
resolution: {integrity: sha512-cJ6m9e+8MQ5dCYJsLylfZrgBh6KkG4bOLckB35Tr9J/EqdkEM6QllH5PxqP1dhTvFup+HtMRPuz9xOjxXJggxw==}
'@jridgewell/gen-mapping@0.3.13':
resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==}
@ -1140,6 +1152,10 @@ snapshots:
'@esbuild/win32-x64@0.27.7':
optional: true
'@fontsource-variable/geist-mono@5.2.7': {}
'@fontsource-variable/geist@5.2.8': {}
'@jridgewell/gen-mapping@0.3.13':
dependencies:
'@jridgewell/sourcemap-codec': 1.5.5