Skip to content

an open-source alternative to the dots, bots and muses of the world, run an office of claude code/codex like agents on your laptop, sandboxes or anywhere, uses your existing subscriptions

design: professional type + color recalibration across both themes

Chaitanya Giri51ec61144003
diff --git a/src/renderer/index.html b/src/renderer/index.html
index 26b3081f..5fdae888 100644
--- a/src/renderer/index.html
+++ b/src/renderer/index.html
@@ -6,13 +6,17 @@
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; img-src 'self' data: blob:; connect-src 'self' https://api.openai.com https://*.openai.com wss://api.openai.com wss://*.openai.com; media-src 'self' blob: mediastream:;" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
- <link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Pixelify+Sans:wght@400;500;700&family=VT323&display=swap" rel="stylesheet" />
+ <!-- v0.3.4 type revamp: Press Start 2P stays as the BRAND display face
+ (small caps labels only); body/UI moves to Inter and code/terminal to
+ JetBrains Mono — the pixel body fonts (Pixelify/VT323) read as toy-like
+ and strained at data-dense sizes. -->
+ <link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet" />
<style>
#cth-splash {
position: fixed; inset: 0; display: flex; flex-direction: column;
align-items: center; justify-content: center; gap: 14px;
background: #FFF8E7; color: #1A1320;
- font-family: "Pixelify Sans", system-ui, sans-serif;
+ font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
#cth-splash .mk {
display: grid; place-items: center; width: 56px; height: 56px;
diff --git a/src/renderer/src/components/PtyTerminalView.tsx b/src/renderer/src/components/PtyTerminalView.tsx
index 2995ff87..f4cb3f51 100644
--- a/src/renderer/src/components/PtyTerminalView.tsx
+++ b/src/renderer/src/components/PtyTerminalView.tsx
@@ -53,7 +53,7 @@ const zoomBtnStyle: CSSProperties = {
const lightTheme = {
background: '#FCFAF0',
foreground: '#1A1320',
- cursor: '#FF6B6B',
+ cursor: '#D96A62',
cursorAccent: '#FCFAF0',
selectionBackground: '#FFEC99',
selectionForeground: '#1A1320',
@@ -75,30 +75,32 @@ const lightTheme = {
brightWhite: '#1A1320'
};
-// Dark theme — the original neon-on-ink palette (designed for a dark background).
+// Dark theme — v0.3.4: matches the app's dark surface ramp (tokens.css
+// data-cth-theme='dark'). Muted-professional ANSI set: recognizable hues, no
+// fluorescing on the dark ground; brights are one legible step up, not pastels.
const darkTheme = {
- background: '#1A1320',
- foreground: '#F3ECF7',
- cursor: '#FF6B6B',
- cursorAccent: '#1A1320',
- selectionBackground: '#3A2F44',
- selectionForeground: '#FFF8E7',
- black: '#241B2C',
- red: '#FF6B6B',
- green: '#6BCF7F',
- yellow: '#FFD93D',
- blue: '#4ECDC4',
- magenta: '#B197FC',
- cyan: '#4ECDC4',
- white: '#F3ECF7',
- brightBlack: '#857693',
- brightRed: '#FFB4B4',
- brightGreen: '#B4E5BD',
- brightYellow: '#FFEC99',
- brightBlue: '#A8E6E0',
- brightMagenta:'#D6C5FF',
- brightCyan: '#A8E6E0',
- brightWhite: '#FFFDF5'
+ background: '#1D1C21',
+ foreground: '#E8E6E3',
+ cursor: '#DF8078',
+ cursorAccent: '#1D1C21',
+ selectionBackground: '#37363E',
+ selectionForeground: '#E8E6E3',
+ black: '#26252C',
+ red: '#DF8078',
+ green: '#6FB88B',
+ yellow: '#D8B052',
+ blue: '#64ACBB',
+ magenta: '#A493E0',
+ cyan: '#64ACBB',
+ white: '#E8E6E3',
+ brightBlack: '#8F8C90',
+ brightRed: '#EBA39C',
+ brightGreen: '#96CDA9',
+ brightYellow: '#E5C87E',
+ brightBlue: '#8FC5D1',
+ brightMagenta:'#C0B3EB',
+ brightCyan: '#8FC5D1',
+ brightWhite: '#F5F4F2'
};
const THEMES: Record<PtyTheme, typeof lightTheme> = { light: lightTheme, dark: darkTheme };
diff --git a/src/renderer/src/components/TerminalView.tsx b/src/renderer/src/components/TerminalView.tsx
index afbbcfcc..554be1c2 100644
--- a/src/renderer/src/components/TerminalView.tsx
+++ b/src/renderer/src/components/TerminalView.tsx
@@ -48,8 +48,8 @@ export function TerminalView({ initialLines = [], feed = [] }: TerminalViewProps
if (!hostRef.current) return;
const term = new Terminal({
theme,
- fontFamily: 'VT323, monospace',
- fontSize: 18,
+ fontFamily: '"JetBrains Mono", "SF Mono", Menlo, monospace',
+ fontSize: 14,
lineHeight: 1.0,
cursorBlink: true,
cursorStyle: 'block',
diff --git a/src/renderer/src/components/terminalPool.ts b/src/renderer/src/components/terminalPool.ts
index 5f4e7ee4..0921b71b 100644
--- a/src/renderer/src/components/terminalPool.ts
+++ b/src/renderer/src/components/terminalPool.ts
@@ -88,7 +88,9 @@ export function acquireTerminal(ptyId: string, theme?: ThemeMap, fontSize = 14):
const term = new Terminal({
theme,
- fontFamily: 'VT323, monospace',
+ // v0.3.4: JetBrains Mono replaces VT323 — the narrow CRT face strained at
+ // data density. lineHeight stays 1.0 so TUI box-drawing rows stay joined.
+ fontFamily: '"JetBrains Mono", "SF Mono", Menlo, monospace',
fontSize,
lineHeight: 1.0,
cursorBlink: true,
diff --git a/src/renderer/src/design/tokens.css b/src/renderer/src/design/tokens.css
index 5c9a7883..3ac96727 100644
--- a/src/renderer/src/design/tokens.css
+++ b/src/renderer/src/design/tokens.css
@@ -15,25 +15,28 @@
--cth-ink-300: #A899B5;
--cth-ink-100: #D9CFE0;
- /* Accents */
- --cth-coral: #FF6B6B; --cth-coral-light: #FFB4B4;
- --cth-mint: #6BCF7F; --cth-mint-light: #B4E5BD;
- --cth-sky: #4ECDC4; --cth-sky-light: #A8E6E0;
- --cth-lemon: #FFD93D; --cth-lemon-light: #FFEC99;
- --cth-lilac: #B197FC; --cth-lilac-light: #D6C5FF;
- --cth-peach: #FFA07A; --cth-peach-light: #FFD0B5;
+ /* Accents — v0.3.4 recalibration: same hues, professional saturation.
+ The originals (#FFD93D, #FF6B6B, …) were full-saturation arcade tones that
+ read as noise at UI density; these sit in the calmer band that products
+ like Linear/Radix use — recognizable color, no glare. */
+ --cth-coral: #D96A62; --cth-coral-light: #F3D3CD;
+ --cth-mint: #5CA97A; --cth-mint-light: #D2E7DA;
+ --cth-sky: #4F9FAF; --cth-sky-light: #CFE5E9;
+ --cth-lemon: #DCAB3C; --cth-lemon-light: #F3E4BC;
+ --cth-lilac: #9482D3; --cth-lilac-light: #E0DAF2;
+ --cth-peach: #D99168; --cth-peach-light: #F3DACA;
- /* Status */
- --cth-status-idle: #A899B5;
- --cth-status-thinking: #4ECDC4;
- --cth-status-working: #FFD93D;
- --cth-status-waiting: #6C8EF5;
- --cth-status-blocked: #FF6B6B;
- --cth-status-success: #6BCF7F;
- --cth-status-ghost: #D9CFE0;
- --cth-status-compacting: #9B7EDE; /* #5C — mid-/compact, "boxing up context" */
- --cth-status-looping: #FF9F43; /* #5C — circuit-breaker armed (runaway) */
- --cth-status-typing: #E8A33D; /* unsent text on the prompt — queue is held */
+ /* Status — same recalibration; hue meanings unchanged */
+ --cth-status-idle: #A199AB;
+ --cth-status-thinking: #4F9FAF;
+ --cth-status-working: #DCAB3C;
+ --cth-status-waiting: #6D87D6;
+ --cth-status-blocked: #D96A62;
+ --cth-status-success: #5CA97A;
+ --cth-status-ghost: #D9D3DE;
+ --cth-status-compacting: #8F7CC7; /* #5C — mid-/compact, "boxing up context" */
+ --cth-status-looping: #D6903F; /* #5C — circuit-breaker armed (runaway) */
+ --cth-status-typing: #C89838; /* unsent text on the prompt — queue is held */
/* Spacing */
--cth-space-0: 0px;
@@ -46,10 +49,12 @@
--cth-space-7: 48px;
--cth-space-8: 64px;
- /* Type */
+ /* Type — v0.3.4: Press Start 2P stays as the BRAND face for small caps
+ labels; everything the user actually reads is Inter (UI) and JetBrains
+ Mono (code/terminal). Pixelify/VT323 were the main readability drag. */
--cth-font-display: "Press Start 2P", monospace;
- --cth-font-ui: "Pixelify Sans", system-ui, sans-serif;
- --cth-font-mono: "VT323", "JetBrains Mono", monospace;
+ --cth-font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
+ --cth-font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
/* Type scale */
--cth-text-display-lg: 16px;
@@ -93,39 +98,56 @@
}
/* ── Dark theme (v0.3.4) ─────────────────────────────────────────────────────
- One token swap darkens the WHOLE app: surfaces (cream/paper) go deep
- ink-purple, the ink text scale inverts to light, accents stay (they read on
- both). Stamped by design/theme.ts as data-cth-theme on <html>; the terminal
- palette and per-agent Claude session themes follow the same switch. */
+ One token swap darkens the WHOLE app. Professional dark, not black: layered
+ warm-neutral grays (à la Linear/VS Code) instead of void-purple, an off-white
+ text ramp that never hits pure white, and accents lifted a step so they hold
+ the same perceived weight on dark that the light set has on cream. Stamped by
+ design/theme.ts as data-cth-theme on <html>; the terminal palette and
+ per-agent Claude session themes follow the same switch. */
:root[data-cth-theme='dark'] {
- /* Base surfaces — darkest where light mode was lightest */
- --cth-cream-50: #17111D;
- --cth-cream-100: #1E1626;
- --cth-cream-200: #291F33;
- --cth-cream-300: #382B45;
- --cth-paper-100: #1B141F;
- --cth-paper-200: #251C2D;
+ /* Base surfaces — a graded elevation ramp, darkest where light mode was
+ lightest. Neutral with a whisper of the brand's violet warmth. */
+ --cth-cream-50: #1A191E;
+ --cth-cream-100: #202025;
+ --cth-cream-200: #2A2930;
+ --cth-cream-300: #37363E;
+ --cth-paper-100: #1D1C21;
+ --cth-paper-200: #26252C;
- /* Ink → light text scale */
- --cth-ink-900: #F2EDE4;
- --cth-ink-700: #CFC5DA;
- --cth-ink-500: #9C8CAB;
- --cth-ink-300: #5D4E6B;
- --cth-ink-100: #362B42;
+ /* Ink → off-white text ramp (never #FFF — glare) */
+ --cth-ink-900: #E8E6E3;
+ --cth-ink-700: #C3C0BC;
+ --cth-ink-500: #8F8C90;
+ --cth-ink-300: #4E4D55;
+ --cth-ink-100: #313037;
- /* Accent "-light" fills double as chip/selection backgrounds — darken them
- so light text (ink-900) stays readable on top. */
- --cth-coral-light: #6B3038;
- --cth-mint-light: #2C5236;
- --cth-sky-light: #24504C;
- --cth-lemon-light: #5C4F1D;
- --cth-lilac-light: #453563;
- --cth-peach-light: #5E3A28;
+ /* Accents — one step lighter/softer than the light set so they read on dark
+ without fluorescing */
+ --cth-coral: #DF8078; --cth-mint: #6FB88B;
+ --cth-sky: #64ACBB; --cth-lemon: #D8B052;
+ --cth-lilac: #A493E0; --cth-peach: #DFA07A;
- /* Status ghosts sit on cards — keep them dim, not glowing */
- --cth-status-idle: #6B5878;
- --cth-status-ghost: #453A52;
+ /* Accent "-light" fills double as chip/selection backgrounds — deep muted
+ versions so light text (ink-900) stays readable on top. */
+ --cth-coral-light: #46302E;
+ --cth-mint-light: #2A3930;
+ --cth-sky-light: #273A3E;
+ --cth-lemon-light: #3D3524;
+ --cth-lilac-light: #332F45;
+ --cth-peach-light: #3F3029;
- /* Hard shadow reads as void on dark surfaces */
- --cth-shadow-hard: 4px 4px 0 rgba(0, 0, 0, 0.55);
+ /* Status — dark-tuned counterparts (same hue language) */
+ --cth-status-idle: #6F6C77;
+ --cth-status-thinking: #64ACBB;
+ --cth-status-working: #D8B052;
+ --cth-status-waiting: #8095DC;
+ --cth-status-blocked: #DF8078;
+ --cth-status-success: #6FB88B;
+ --cth-status-ghost: #3D3C44;
+ --cth-status-compacting: #9D8BD2;
+ --cth-status-looping: #D69A55;
+ --cth-status-typing: #CBA24A;
+
+ /* Hard shadow reads as depth, not void */
+ --cth-shadow-hard: 4px 4px 0 rgba(0, 0, 0, 0.45);
}
diff --git a/src/renderer/src/design/tokens.ts b/src/renderer/src/design/tokens.ts
index 74a60dbb..96a791dd 100644
--- a/src/renderer/src/design/tokens.ts
+++ b/src/renderer/src/design/tokens.ts
@@ -19,27 +19,28 @@ export const colors = {
300: 0xa899b5,
100: 0xd9cfe0
},
+ // v0.3.4 recalibration: same hues, professional saturation (mirrors tokens.css)
accent: {
- coral: 0xff6b6b,
- coralLight: 0xffb4b4,
- mint: 0x6bcf7f,
- mintLight: 0xb4e5bd,
- sky: 0x4ecdc4,
- skyLight: 0xa8e6e0,
- lemon: 0xffd93d,
- lemonLight: 0xffec99,
- lilac: 0xb197fc,
- lilacLight: 0xd6c5ff,
- peach: 0xffa07a,
- peachLight: 0xffd0b5
+ coral: 0xd96a62,
+ coralLight: 0xf3d3cd,
+ mint: 0x5ca97a,
+ mintLight: 0xd2e7da,
+ sky: 0x4f9faf,
+ skyLight: 0xcfe5e9,
+ lemon: 0xdcab3c,
+ lemonLight: 0xf3e4bc,
+ lilac: 0x9482d3,
+ lilacLight: 0xe0daf2,
+ peach: 0xd99168,
+ peachLight: 0xf3daca
},
status: {
- idle: 0xa899b5,
- thinking: 0x4ecdc4,
- working: 0xffd93d,
- blocked: 0xff6b6b,
- success: 0x6bcf7f,
- ghost: 0xd9cfe0
+ idle: 0xa199ab,
+ thinking: 0x4f9faf,
+ working: 0xdcab3c,
+ blocked: 0xd96a62,
+ success: 0x5ca97a,
+ ghost: 0xd9d3de
},
world: {
grassLight: 0xd4eab0,
@@ -57,8 +58,8 @@ export const space = {
export const type = {
display: '"Press Start 2P", monospace',
- ui: '"Pixelify Sans", system-ui, sans-serif',
- mono: '"VT323", "JetBrains Mono", monospace'
+ ui: '"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif',
+ mono: '"JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace'
} as const;
export const tileSize = 32; // px — the world is built from 32×32 tiles
diff --git a/src/renderer/src/ide/MonacoDiff.tsx b/src/renderer/src/ide/MonacoDiff.tsx
index b7689be2..332a003c 100644
--- a/src/renderer/src/ide/MonacoDiff.tsx
+++ b/src/renderer/src/ide/MonacoDiff.tsx
@@ -25,8 +25,8 @@ export function MonacoDiff({ path, original, modified }: MonacoDiffProps) {
options={{
readOnly: true,
renderSideBySide: true,
- fontFamily: 'VT323, "JetBrains Mono", monospace',
- fontSize: 15,
+ fontFamily: '"JetBrains Mono", "SF Mono", Menlo, monospace',
+ fontSize: 13,
lineHeight: 20,
minimap: { enabled: false },
scrollBeyondLastLine: false,
diff --git a/src/renderer/src/ide/MonacoEditor.tsx b/src/renderer/src/ide/MonacoEditor.tsx
index 7a7dcf36..d348a5cd 100644
--- a/src/renderer/src/ide/MonacoEditor.tsx
+++ b/src/renderer/src/ide/MonacoEditor.tsx
@@ -38,8 +38,8 @@ export function MonacoEditor({ path, value, onChange, onSave, readOnly }: Monaco
loading={<div style={{ padding: 12, color: 'var(--cth-ink-500)', fontFamily: 'var(--cth-font-ui)' }}>loading editor…</div>}
options={{
readOnly,
- fontFamily: 'VT323, "JetBrains Mono", monospace',
- fontSize: 15,
+ fontFamily: '"JetBrains Mono", "SF Mono", Menlo, monospace',
+ fontSize: 13,
lineHeight: 20,
minimap: { enabled: false },
scrollBeyondLastLine: false,