Claude's answers, rendered: Markdown, math, charts and diagrams drawn in the Claude Code terminal. Independent project, not affiliated with Anthropic.
TypeScript claude-code-mod
Theme claude-code: code blocks with no background and a thin border, so the selection shows through them
razorback166a058b8523d7
diff --git a/render/themes/README.md b/render/themes/README.mdindex 3fd4140..e1bdf4c 100644--- a/render/themes/README.md+++ b/render/themes/README.md@@ -30,7 +30,7 @@ Example: pink inline code, rounder boxes.- `*-px`: CSS pixels of VS Code's preview. Its body text is 14px, so 1px = 11/14 pt (the body is always 11pt; Intelligent UI scales the whole picture to your terminal).- `*-em`: em of that element's own text.- `size`: a fraction of the body text size. For code, `"terminal"` means the size of your terminal's own text.-- Colours: `#rgb`, `#rgba`, `#rrggbb` or `#rrggbbaa`. The page is transparent, so a translucent background (for example `#ffffff1a`) looks right on any terminal colour.+- Colours: `#rgb`, `#rgba`, `#rrggbb` or `#rrggbbaa`. The page is transparent, so a translucent background (for example `#ffffff1a`) looks right on any terminal colour. The terminal draws the mouse selection under the picture: it shows through a translucent background, but an opaque one (`code-bg`, `quote-bg`, `inline-code-bg`) hides it.## Keys and vscode defaultsdiff --git a/render/themes/claude-code/theme.json b/render/themes/claude-code/theme.jsonindex bb0a133..ff55200 100644--- a/render/themes/claude-code/theme.json+++ b/render/themes/claude-code/theme.json@@ -1,7 +1,7 @@{"name": "Claude Code","description": "The colours of Claude Code's own Markdown in the terminal, with its dark and light themes",- "source": "Claude Code 2.1.302: its dark and light theme palettes (text, inactive, subtle, promptBorder, permission for inline code and code blocks with no language, claude for the accent, userMessageBackground for code blocks, the subagent colours for drawings) and its Markdown renderer (dim quote bar, no code background, underlined h1, '-' bullets, 1. a. i. 1. numbers, highlight.js classes as ANSI colours). ANSI colours (links, code) are VS Code's terminal colours, MIT, see LICENSE: src/vs/workbench/contrib/terminal/common/terminalColorRegistry.ts",+ "source": "Claude Code 2.1.302: its dark and light theme palettes (text, inactive, subtle, promptBorder, permission for inline code and code blocks with no language, claude for the accent, its border colour for the code block frame, the subagent colours for drawings) and its Markdown renderer (dim quote bar, no code background, underlined h1, '-' bullets, 1. a. i. 1. numbers, highlight.js classes as ANSI colours). ANSI colours (links, code) are VS Code's terminal colours, MIT, see LICENSE: src/vs/workbench/contrib/terminal/common/terminalColorRegistry.ts","syntax": { "dark": "dark.tmTheme", "light": "light.tmTheme" },"dark": {"fg": "#ffffff",@@ -14,8 +14,8 @@"inline-code-bg": "#00000000","code-fg": "#ffffff","code-plain-fg": "#b1b9f9",- "code-bg": "#373737",- "code-border": "#373737",+ "code-bg": "#00000000",+ "code-border": "#505050","quote-bg": "#00000000","quote-border": "#ffffff80","check": "#ffffff",@@ -37,8 +37,8 @@"inline-code-bg": "#00000000","code-fg": "#000000","code-plain-fg": "#5769f7",- "code-bg": "#f0f0f0",- "code-border": "#f0f0f0",+ "code-bg": "#00000000",+ "code-border": "#afafaf","quote-bg": "#00000000","quote-border": "#00000080","check": "#ffffff",