Skip to content

Commit 26a3453

Browse files
author
Gulum
committed
fix: ASK ME reads in the memory font (VT323), not chunky Pixelify Sans
The ask/answer prose was set in font-ui (Pixelify Sans), which is a display face — fine for labels, a nightmare for reading questions and typing answers. Switch the tab's body text to the mono face (VT323), the same font the memory viewer uses and far more legible for prose: container defaults to mono, the question/answer/title overrides follow, and sizes bump slightly (VT323 runs small). Display/badge bits keep their explicit faces.
1 parent 454a4d9 commit 26a3453

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

src/renderer/src/components/AskMeTab.tsx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,10 @@ export function AskMeTab() {
102102
};
103103

104104
return (
105-
<div style={{ flex: 1, minHeight: 0, overflowY: 'auto', background: 'var(--cth-paper-200)', padding: 10, display: 'flex', flexDirection: 'column', gap: 10 }}>
105+
// Body text is set in the mono face (VT323) — the same readable font the
106+
// memory viewer uses. Pixelify Sans (font-ui) is too chunky for prose like
107+
// questions and answers. Display/badge bits keep their explicit faces.
108+
<div style={{ flex: 1, minHeight: 0, overflowY: 'auto', background: 'var(--cth-paper-200)', padding: 10, display: 'flex', flexDirection: 'column', gap: 10, fontFamily: 'var(--cth-font-mono)' }}>
106109
{waiting.length === 0 && (
107110
<div style={{ textAlign: 'center', padding: '24px 12px', color: 'var(--cth-ink-500)', fontSize: 13 }}>
108111
Nothing needs you right now. 🌿<br />
@@ -130,7 +133,7 @@ export function AskMeTab() {
130133
title="open the full task detail"
131134
style={{
132135
border: 'none', background: 'transparent', cursor: 'pointer', padding: 0, textAlign: 'left',
133-
fontFamily: 'var(--cth-font-ui)', fontSize: 13, color: 'var(--cth-ink-900)',
136+
fontFamily: 'var(--cth-font-mono)', fontSize: 15, color: 'var(--cth-ink-900)',
134137
flex: 1, minWidth: 0, overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap'
135138
}}
136139
>
@@ -141,7 +144,7 @@ export function AskMeTab() {
141144

142145
<div style={{ padding: 9, display: 'flex', flexDirection: 'column', gap: 8 }}>
143146
{/* the question */}
144-
<div style={{ fontSize: 13, lineHeight: '19px', color: 'var(--cth-ink-900)', whiteSpace: 'pre-wrap' }}>
147+
<div style={{ fontSize: 15, lineHeight: '19px', color: 'var(--cth-ink-900)', whiteSpace: 'pre-wrap' }}>
145148
{open.q}
146149
</div>
147150

@@ -156,7 +159,7 @@ export function AskMeTab() {
156159
width: '100%', boxSizing: 'border-box', padding: '6px 8px', resize: 'vertical',
157160
background: 'var(--cth-paper-100)', border: 'none',
158161
boxShadow: 'inset 0 0 0 1px var(--cth-ink-700)',
159-
fontFamily: 'var(--cth-font-ui)', fontSize: 13, lineHeight: '18px',
162+
fontFamily: 'var(--cth-font-mono)', fontSize: 15, lineHeight: '18px',
160163
color: 'var(--cth-ink-900)', outline: 'none'
161164
}}
162165
/>

0 commit comments

Comments
 (0)