You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Improvement: Tighten code/text preview typography and syntax colors #2785
The file/code preview (workspace and related text viewers) is hard to read: line height feels too large, and syntax coloring does not fit the product chrome well.
Current behaviour
CodeViewer (services/platform/app/features/workspace/viewers/code-viewer.tsx) uses leading-relaxed on highlighted and fallback code, Shiki themes github-light / github-dark, plus .code-line-numbers from packages/ui/src/globals.css.
Same stack is reused by code-file-viewer.tsx, document text preview (document-preview-text.tsx), and skill asset viewer.
Reduce line height for code/text preview to a denser editor-like rhythm (closer to leading-normal / a fixed line-height suited to mono text-xs/text-sm).
Revisit Shiki theme choice or token colors so highlighting contrasts cleanly on Tale light/dark surfaces without a floating “github box” feel (bg-transparent already strips theme chrome — tune token palette / theme pair).
Keep line numbers, wrap toggle, and oversize cutoff behaviour; only typography + color quality.
Apply consistently across workspace code viewer, document text/code preview, and skill asset preview.
Acceptance criteria
Code preview line height is visually tighter and comparable to a normal editor (no airy leading-relaxed feel).
Syntax colors are readable on both themes and do not clash with the canvas background.
Line numbers and wrap mode still align (no gutter jump).
Spot-check at least: .ts/.tsx, .json, .md, plaintext.
Landed on the feature line: feature train #5184 merged into release/0.6 on 2026-10-31 by rebase, and this issue's change is commit 4d114f6 (feat(ui): set read-only code on one 1.5 line height, task TALE-14). It ships with Tale 0.6.0. GitHub closes an issue only for a commit on main, so the feature-train role closes it here.
Activity
feat(ui): set read-only code on one 1.5 line height
feat(ui): set read-only code on one 1.5 line height
feat(ui): set read-only code on one 1.5 line height
feat(ui): set read-only code on one 1.5 line height
tale-code-bot commentedon Oct 31, 2026
Landed on the feature line: feature train #5184 merged into
release/0.6on 2026-10-31 by rebase, and this issue's change is commit 4d114f6 (feat(ui): set read-only code on one 1.5 line height, task TALE-14). It ships with Tale 0.6.0. GitHub closes an issue only for a commit onmain, so the feature-train role closes it here.feat(ui): set read-only code on one 1.5 line height
feat(ui): set read-only code on one 1.5 line height
feat(ui): set read-only code on one 1.5 line height
feat(ui): set read-only code on one 1.5 line height
feat(ui): set read-only code on one 1.5 line height
feat(ui): set read-only code on one 1.5 line height
1 remaining item
feat(ui): set read-only code on one 1.5 line height
feat(ui): set read-only code on one 1.5 line height
feat(ui): set read-only code on one 1.5 line height
feat(ui): set read-only code on one 1.5 line height
feat(ui): set read-only code on one 1.5 line height
feat(ui): set read-only code on one 1.5 line height
feat(ui): set read-only code on one 1.5 line height
feat(ui): set read-only code on one 1.5 line height
feat(ui): set read-only code on one 1.5 line height
feat(ui): set read-only code on one 1.5 line height
feat(ui): set read-only code on one 1.5 line height
feat(ui): set read-only code on one 1.5 line height
feat(ui): set read-only code on one 1.5 line height
feat(ui): set read-only code on one 1.5 line height
feat(ui): set read-only code on one 1.5 line height