Skip to content

Commit 17b75af

Browse files
Merge pull request #2834 from generalaction/emdash/font-change
style(ui): use sans-serif typography for app chrome
2 parents a2f119f + b696b38 commit 17b75af

24 files changed

Lines changed: 39 additions & 46 deletions

apps/emdash-desktop/src/renderer/features/command-palette/resource-monitor-view.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ function StopButton({
330330

331331
function Badge({ children }: { children: ReactNode }) {
332332
return (
333-
<span className="shrink-0 rounded bg-background-2 px-1.5 py-px font-mono text-[9px] tracking-wider text-foreground/50 uppercase">
333+
<span className="shrink-0 rounded bg-background-2 px-1.5 py-px font-sans text-[9px] text-foreground/50">
334334
{children}
335335
</span>
336336
);

apps/emdash-desktop/src/renderer/features/conversations/sidebar-conversations-list.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ const ConversationRow = observer(function ConversationRow({
161161
) : (
162162
<RelativeTime
163163
value={conversation.data.lastInteractedAt ?? ''}
164-
className="flex h-full items-center pr-1 font-mono text-xs text-foreground-passive"
164+
className="flex h-full items-center pr-1 font-sans text-xs text-foreground-passive"
165165
compact
166166
/>
167167
)}
@@ -236,7 +236,7 @@ export const SidebarConversationsList = observer(function SidebarConversationsLi
236236
return (
237237
<div className="flex h-full w-full flex-col">
238238
<div className="flex shrink-0 items-center justify-between pt-2 pr-2 pb-1 pl-4">
239-
<MicroLabel>Conversations</MicroLabel>
239+
<MicroLabel className="font-medium">Conversations</MicroLabel>
240240
<Button size="icon-sm" variant="ghost" onClick={handleCreate}>
241241
<Plus className="size-3.5" />
242242
</Button>

apps/emdash-desktop/src/renderer/features/projects/components/main-panel/main-panel.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function ProjectBootstrappingPanel() {
6060
return (
6161
<div className="flex h-full w-full flex-col items-center justify-center gap-3">
6262
<Loader2 className="h-5 w-5 animate-spin text-foreground-passive" />
63-
<p className="font-mono text-xs text-foreground-passive">Setting up project…</p>
63+
<p className="font-sans text-xs text-foreground-passive">Setting up project…</p>
6464
</div>
6565
);
6666
}
@@ -69,10 +69,10 @@ function ProjectBootstrapErrorPanel({ message }: { message: string }) {
6969
return (
7070
<div className="flex h-full w-full flex-col items-center justify-center p-8">
7171
<div className="flex max-w-xs flex-col items-center gap-2 text-center">
72-
<p className="font-mono text-sm font-medium text-foreground-destructive">
72+
<p className="font-sans text-sm font-medium text-foreground-destructive">
7373
Failed to set up project
7474
</p>
75-
<p className="font-mono text-xs text-foreground-passive">{message}</p>
75+
<p className="font-sans text-xs text-foreground-passive">{message}</p>
7676
</div>
7777
</div>
7878
);
@@ -96,7 +96,7 @@ function ProjectSshDisconnectedPanel({
9696
<div className="flex h-full w-full flex-col items-center justify-center p-8">
9797
<div className="flex max-w-sm flex-col items-center gap-3 text-center">
9898
<Unplug className="h-6 w-6 text-foreground-passive" />
99-
<p className="font-mono text-sm font-medium text-foreground">SSH not connected</p>
99+
<p className="font-sans text-sm font-medium text-foreground">SSH not connected</p>
100100
<p className="text-xs text-foreground-passive">
101101
The SSH connection for this project is unavailable.
102102
</p>
@@ -127,7 +127,7 @@ function ProjectPathNotFoundPanel({
127127
<div className="flex h-full w-full flex-col items-center justify-center p-8">
128128
<div className="flex max-w-sm flex-col items-center gap-3 text-center">
129129
<TriangleAlert className="h-6 w-6 text-foreground-destructive" />
130-
<p className="font-mono text-sm font-medium text-foreground-destructive">
130+
<p className="font-sans text-sm font-medium text-foreground-destructive">
131131
Project not found
132132
</p>
133133
{path && <p className="font-mono text-xs break-all text-foreground-passive">{path}</p>}

apps/emdash-desktop/src/renderer/features/projects/components/settings-view/sections/shareable-project-settings-section.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export function ShareableSettingsSection({
142142
className="group text-muted-foreground inline-flex h-auto cursor-pointer items-center gap-1 px-0 text-sm font-normal hover:text-foreground hover:no-underline focus-visible:ring-0 focus-visible:outline-none"
143143
onClick={() => rpc.app.openExternal('https://www.emdash.sh/docs/project-config')}
144144
>
145-
<span className="font-mono text-xs transition-colors group-hover:text-foreground">
145+
<span className="font-sans text-xs transition-colors group-hover:text-foreground">
146146
docs
147147
</span>
148148
<span className="text-muted-foreground text-sm transition-colors group-hover:text-foreground">

apps/emdash-desktop/src/renderer/features/projects/components/ssh-channel-unavailable-panel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export function SshChannelUnavailablePanel() {
55
<div className="flex h-full w-full flex-col items-center justify-center p-8">
66
<div className="flex max-w-md flex-col items-center gap-3 text-center">
77
<Unplug className="h-6 w-6 text-foreground-passive" />
8-
<p className="font-mono text-sm font-medium text-foreground">SSH channel unavailable</p>
8+
<p className="font-sans text-sm font-medium text-foreground">SSH channel unavailable</p>
99
<p className="text-xs text-foreground-passive">
1010
The remote server hit its SSH session limit and refused to open another channel. emdash
1111
opens several channels per task, so the default{' '}

apps/emdash-desktop/src/renderer/features/projects/components/task-view/task-row.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export const TaskRow = observer(function TaskRow({
123123
) : (
124124
<RelativeTime
125125
value={task.data.createdAt}
126-
className="pr-1 font-mono text-xs text-foreground-passive"
126+
className="pr-1 font-sans text-xs text-foreground-passive"
127127
compact
128128
/>
129129
)}

apps/emdash-desktop/src/renderer/features/settings/agents-page/DependencyInstallationStatusCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export const DependencyInstallationStatusCard = observer(function DependencyInst
105105
<>
106106
<span>Found</span>
107107
{versionText && (
108-
<span className="ml-1 rounded-md bg-background-quaternary-2 px-1 py-0.5 font-mono text-xs text-foreground-muted">
108+
<span className="ml-1 rounded-md bg-background-quaternary-2 px-1 py-0.5 font-sans text-xs text-foreground-muted">
109109
{versionText}
110110
</span>
111111
)}

apps/emdash-desktop/src/renderer/features/settings/agents-page/DependencyInstallationUpdateCard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ export function DependencyInstallationUpdateCard({
6060
const versionArrow =
6161
usedInstallation.version && usedInstallation.latestVersion ? (
6262
<span className="flex items-center gap-1 text-xs text-foreground-muted">
63-
<span className="font-mono">{usedInstallation.version}</span>
63+
<span className="font-sans">{usedInstallation.version}</span>
6464
<ArrowRight className="h-3 w-3 shrink-0" />
65-
<span className="font-mono">{usedInstallation.latestVersion}</span>
65+
<span className="font-sans">{usedInstallation.latestVersion}</span>
6666
</span>
6767
) : null;
6868

apps/emdash-desktop/src/renderer/features/settings/components/UpdateCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const UpdateCard = observer(function UpdateCard(): React.JSX.Element {
1616
<div className="flex items-center gap-2">
1717
Version
1818
{update.currentVersion && (
19-
<Badge variant="outline" className="h-5 px-2 font-mono text-xs leading-none">
19+
<Badge variant="outline" className="h-5 px-2 font-sans text-xs leading-none">
2020
v{update.currentVersion}
2121
</Badge>
2222
)}

apps/emdash-desktop/src/renderer/features/sidebar/pinned-task-list.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const SidebarPinnedTaskList = observer(function SidebarPinnedTaskList() {
1111
return (
1212
<SidebarGroup className="flex shrink-0 flex-col">
1313
<div className="flex h-[40px] items-center justify-between pr-2.5 pl-5">
14-
<MicroLabel className="text-foreground-tertiary-passive">Pinned</MicroLabel>
14+
<MicroLabel className="font-medium text-foreground-tertiary-passive">Pinned</MicroLabel>
1515
</div>
1616
<SidebarMenu className="px-3 pb-2">
1717
{entries.map(({ projectId, taskId }) => (

0 commit comments

Comments
 (0)