Skip to content

Commit aee88ee

Browse files
committed
Use Inter for app typography
1 parent 97bdb79 commit aee88ee

10 files changed

Lines changed: 38 additions & 5 deletions

File tree

desktop/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"@dnd-kit/utilities": "^3.2.2",
2727
"@emoji-mart/data": "^1.2.1",
2828
"@emoji-mart/react": "^1.1.1",
29+
"@fontsource-variable/inter": "^5.2.8",
2930
"@radix-ui/react-alert-dialog": "^1.1.15",
3031
"@radix-ui/react-avatar": "^1.1.11",
3132
"@radix-ui/react-checkbox": "^1.3.3",

desktop/src-tauri/src/mesh_llm/preset.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ pub fn agent_preset(request: MeshAgentPresetRequest) -> Result<MeshAgentPreset,
3434
return Err("modelId is required".to_string());
3535
}
3636
// Run on sprout-agent, not the global default (goose). Source command +
37-
// MCP from the catalog so this can't drift from the provider definition.
38-
let sprout_agent = crate::managed_agents::known_acp_provider_exact(MESH_AGENT_PROVIDER_ID);
37+
// MCP from the catalog so this can't drift from the runtime definition.
38+
let sprout_agent = crate::managed_agents::known_acp_runtime_exact(MESH_AGENT_PROVIDER_ID);
3939
let agent_command = sprout_agent
4040
.and_then(|p| p.commands.first().copied())
4141
.unwrap_or(MESH_AGENT_PROVIDER_ID)

desktop/src/main.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import React from "react";
22
import ReactDOM from "react-dom/client";
33
import { App } from "@/app/App";
4+
import "@fontsource-variable/inter/wght.css";
45
import "@/shared/styles/globals.css";
56
import { UpdaterProvider } from "@/features/settings/hooks/UpdaterProvider";
67
import { WorkspacesProvider } from "@/features/workspaces/useWorkspaces";

desktop/src/shared/styles/globals.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@
306306

307307
body {
308308
@apply bg-background text-foreground antialiased;
309-
font-family: "Geist", "Avenir Next", "Segoe UI", sans-serif;
309+
font-family: "Inter Variable", Inter, "Avenir Next", "Segoe UI", sans-serif;
310310
}
311311

312312
/*

desktop/tailwind.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ export default {
77
md: "calc(var(--radius) - 2px)",
88
sm: "calc(var(--radius) - 4px)",
99
},
10+
fontFamily: {
11+
sans: [
12+
'"Inter Variable"',
13+
"Inter",
14+
'"Avenir Next"',
15+
'"Segoe UI"',
16+
"sans-serif",
17+
],
18+
},
1019
colors: {
1120
background: "hsl(var(--background))",
1221
foreground: "hsl(var(--foreground))",

pnpm-lock.yaml

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"test:e2e:smoke": "pnpm build && playwright test --project=smoke"
1717
},
1818
"dependencies": {
19+
"@fontsource-variable/inter": "^5.2.8",
1920
"@isomorphic-git/lightning-fs": "^4.6.2",
2021
"@radix-ui/react-slot": "^1.2.4",
2122
"@radix-ui/react-tooltip": "^1.2.8",
@@ -37,12 +38,12 @@
3738
},
3839
"devDependencies": {
3940
"@playwright/test": "^1.58.2",
41+
"@tailwindcss/postcss": "^4.3.0",
4042
"@tanstack/router-plugin": "^1.167.12",
4143
"@tanstack/virtual-file-routes": "^1.161.7",
4244
"@types/react": "^19.1.8",
4345
"@types/react-dom": "^19.1.6",
4446
"@vitejs/plugin-react": "^6.0.0",
45-
"@tailwindcss/postcss": "^4.3.0",
4647
"postcss": "^8.5.8",
4748
"tailwindcss": "^4.3.0",
4849
"tw-animate-css": "^1.4.0",

web/src/main.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import React from "react";
22
import ReactDOM from "react-dom/client";
33
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
44
import { App } from "@/app/App";
5+
import "@fontsource-variable/inter/wght.css";
56
import "@/shared/styles/globals.css";
67
import { ThemeProvider } from "@/shared/theme/ThemeProvider";
78
import { Toaster } from "@/shared/ui/sonner";

web/src/shared/styles/globals.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,6 @@
9595

9696
body {
9797
@apply bg-background text-foreground antialiased;
98-
font-family: "Geist", "Avenir Next", "Segoe UI", sans-serif;
98+
font-family: "Inter Variable", Inter, "Avenir Next", "Segoe UI", sans-serif;
9999
}
100100
}

web/tailwind.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ export default {
77
md: "calc(var(--radius) - 2px)",
88
sm: "calc(var(--radius) - 4px)",
99
},
10+
fontFamily: {
11+
sans: [
12+
'"Inter Variable"',
13+
"Inter",
14+
'"Avenir Next"',
15+
'"Segoe UI"',
16+
"sans-serif",
17+
],
18+
},
1019
colors: {
1120
background: "hsl(var(--background))",
1221
foreground: "hsl(var(--foreground))",

0 commit comments

Comments
 (0)