Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit 2330ec6

Browse files
committed
fix: font size updates
1 parent a0c0e2b commit 2330ec6

3 files changed

Lines changed: 16 additions & 10 deletions

File tree

packages/desktop/src/pages/layout.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ export default function Layout(props: ParentProps) {
505505
<Match when={true}>
506506
<Tooltip placement="right" value="Connect provider" inactive={layout.sidebar.opened()}>
507507
<Button
508-
class="flex w-full text-left justify-start text-12-medium text-text-base stroke-[1.5px] rounded-lg px-2"
508+
class="flex w-full text-left justify-start text-text-base stroke-[1.5px] rounded-lg px-2"
509509
variant="ghost"
510510
size="large"
511511
icon="plus"
@@ -519,7 +519,7 @@ export default function Layout(props: ParentProps) {
519519
<Show when={platform.openDirectoryPickerDialog}>
520520
<Tooltip placement="right" value="Open project" inactive={layout.sidebar.opened()}>
521521
<Button
522-
class="flex w-full text-left justify-start text-12-medium text-text-base stroke-[1.5px] rounded-lg px-2"
522+
class="flex w-full text-left justify-start text-text-base stroke-[1.5px] rounded-lg px-2"
523523
variant="ghost"
524524
size="large"
525525
icon="folder-add-left"
@@ -545,7 +545,7 @@ export default function Layout(props: ParentProps) {
545545
as={"a"}
546546
href="https://opencode.ai/desktop-feedback"
547547
target="_blank"
548-
class="flex w-full text-left justify-start text-12-medium text-text-base stroke-[1.5px] rounded-lg px-2"
548+
class="flex w-full text-left justify-start text-text-base stroke-[1.5px] rounded-lg px-2"
549549
variant="ghost"
550550
size="large"
551551
icon="bubble-5"

packages/ui/src/components/message-part.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
[data-component="user-message"] {
1010
font-family: var(--font-family-sans);
11-
font-size: var(--font-size-small);
11+
font-size: var(--font-size-base);
1212
font-style: normal;
1313
font-weight: var(--font-weight-regular);
1414
line-height: var(--line-height-large);
@@ -26,6 +26,7 @@
2626

2727
[data-component="markdown"] {
2828
margin-top: 32px;
29+
font-size: var(--font-size-base);
2930
}
3031
}
3132

@@ -57,7 +58,7 @@
5758

5859
[data-slot="message-part-tool-error-title"] {
5960
font-family: var(--font-family-sans);
60-
font-size: var(--font-size-small);
61+
font-size: var(--font-size-base);
6162
font-style: normal;
6263
font-weight: var(--font-weight-medium);
6364
line-height: var(--line-height-large);
@@ -117,7 +118,7 @@
117118

118119
[data-slot="message-part-title"] {
119120
font-family: var(--font-family-sans);
120-
font-size: var(--font-size-small);
121+
font-size: var(--font-size-base);
121122
font-style: normal;
122123
font-weight: var(--font-weight-medium);
123124
line-height: var(--line-height-large);

packages/ui/src/components/session-turn.css

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464

6565
[data-slot="session-turn-message-title"] {
6666
width: 100%;
67-
font-size: 14px; /* text-14-medium */
67+
font-size: 15px; /* text-14-medium */
6868
font-weight: 500;
6969
color: var(--text-strong);
7070
overflow: hidden;
@@ -104,17 +104,22 @@
104104
align-items: flex-start;
105105
gap: 4px;
106106
align-self: stretch;
107+
108+
p {
109+
font-size: var(--font-size-base);
110+
line-height: var(--line-height-x-large);
111+
}
107112
}
108113

109114
[data-slot="session-turn-summary-title"] {
110-
font-size: 12px; /* text-12-medium */
115+
font-size: 13px; /* text-12-medium */
111116
font-weight: 500;
112117
color: var(--text-weak);
113118
}
114119

115120
[data-slot="session-turn-markdown"] {
116121
&[data-diffs="true"] {
117-
font-size: 14px; /* text-14-regular */
122+
font-size: 15px;
118123
}
119124

120125
&[data-fade="true"] > * {
@@ -319,7 +324,7 @@
319324
}
320325

321326
[data-slot="session-turn-details-text"] {
322-
font-size: 12px; /* text-12-medium */
327+
font-size: 13px; /* text-12-medium */
323328
font-weight: 500;
324329
}
325330

0 commit comments

Comments
 (0)