feat: replace monospace body font with Geist Sans (#110)

Switch the app-wide font from SF Mono/monospace to Geist Sans for a
more polished, modern UI. Bundle the variable woff2 font in assets for
cross-platform support. Remove font-mono from sidebar and settings
components while keeping monospace in terminal/editor contexts.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jinjing
2026-03-25 23:16:22 -07:00
committed by GitHub
co-authored by Claude Opus 4.6
parent 902e2271b9
commit 8adecbecce
7 changed files with 21 additions and 7 deletions
Binary file not shown.
+16 -2
View File
@@ -2,6 +2,14 @@
@import 'tw-animate-css';
@import '@xterm/xterm/css/xterm.css';
@font-face {
font-family: 'Geist';
src: url('./fonts/Geist-Variable.woff2') format('woff2');
font-weight: 100 900;
font-style: normal;
font-display: swap;
}
@custom-variant dark (&:is(.dark *));
@theme inline {
@@ -136,7 +144,13 @@
padding: 0;
overflow: hidden;
height: 100vh;
font-family: 'SF Mono', SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
font-family:
'Geist',
-apple-system,
BlinkMacSystemFont,
'Segoe UI',
sans-serif;
letter-spacing: 0.01em;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
@@ -403,7 +417,7 @@
.worktree-branch {
font-size: 13px;
font-family: 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
font-family: inherit;
color: var(--foreground);
white-space: nowrap;
overflow: hidden;
@@ -48,7 +48,7 @@ export function GeneralPane({
<Input
value={settings.workspaceDir}
onChange={(e) => updateSettings({ workspaceDir: e.target.value })}
className="flex-1 font-mono text-xs"
className="flex-1 text-xs"
/>
<Button
variant="outline"
@@ -189,7 +189,7 @@ function Settings(): React.JSX.Element {
/>
<h1 className="text-2xl font-semibold">{selectedRepo.displayName}</h1>
</div>
<p className="font-mono text-xs text-muted-foreground">{selectedRepo.path}</p>
<p className="text-xs text-muted-foreground">{selectedRepo.path}</p>
</div>
) : (
<div className="space-y-1">
@@ -131,7 +131,7 @@ export function ColorField({
value={value}
onChange={(e) => onChange(e.target.value)}
placeholder={fallback}
className="max-w-xs font-mono text-xs"
className="max-w-xs text-xs"
/>
</div>
</div>
@@ -84,7 +84,7 @@ const DeleteWorktreeDialog = React.memo(function DeleteWorktreeDialog() {
{worktree && (
<div className="rounded-md border border-border/70 bg-muted/35 px-3 py-2 text-xs">
<div className="break-all font-medium text-foreground">{worktree.displayName}</div>
<div className="mt-1 break-all font-mono text-muted-foreground">{worktree.path}</div>
<div className="mt-1 break-all text-muted-foreground">{worktree.path}</div>
</div>
)}
@@ -303,7 +303,7 @@ const WorktreeCard = React.memo(function WorktreeCard({
main
</Badge>
) : (
<span className="text-[11px] text-muted-foreground truncate font-mono leading-none">
<span className="text-[11px] text-muted-foreground truncate leading-none">
{branch}
</span>
)}