diff --git a/src/renderer/src/assets/fonts/Geist-Variable.woff2 b/src/renderer/src/assets/fonts/Geist-Variable.woff2 new file mode 100644 index 000000000..b2f012106 Binary files /dev/null and b/src/renderer/src/assets/fonts/Geist-Variable.woff2 differ diff --git a/src/renderer/src/assets/main.css b/src/renderer/src/assets/main.css index 011bd55a9..a76215954 100644 --- a/src/renderer/src/assets/main.css +++ b/src/renderer/src/assets/main.css @@ -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; diff --git a/src/renderer/src/components/settings/GeneralPane.tsx b/src/renderer/src/components/settings/GeneralPane.tsx index b2f92d17e..70e46b4c8 100644 --- a/src/renderer/src/components/settings/GeneralPane.tsx +++ b/src/renderer/src/components/settings/GeneralPane.tsx @@ -48,7 +48,7 @@ export function GeneralPane({ updateSettings({ workspaceDir: e.target.value })} - className="flex-1 font-mono text-xs" + className="flex-1 text-xs" />
{selectedRepo.path}
+{selectedRepo.path}
) : (