Diffdown is a real-time collaborative Markdown editor/previewer built on the AT Protocol diffdown.com

fix: use dedicated --code-bg var for inline code in dark mode

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

+4 -1
+1 -1
static/css/markdown.css
··· 18 18 .markdown-body p { margin-bottom: 1em; } 19 19 20 20 .markdown-body code { 21 - background: var(--border); 21 + background: var(--code-bg); 22 22 padding: 0.15em 0.4em; 23 23 border-radius: 3px; 24 24 font-family: var(--font-mono);
+3
static/css/style.css
··· 14 14 --primary-hover: #1d4ed8; 15 15 --danger: #dc2626; 16 16 --success: #16a34a; 17 + --code-bg: #f3f4f6; 17 18 --alert-error-bg: #fef2f2; 18 19 --alert-error-border: #fecaca; 19 20 --radius: 6px; ··· 27 28 --text: #e6edf3; 28 29 --text-muted: #8b949e; 29 30 --border: #30363d; 31 + --code-bg: #1f2428; 30 32 --primary: #388bfd; 31 33 --primary-hover: #58a6ff; 32 34 --danger: #f85149; ··· 42 44 --text: #e6edf3; 43 45 --text-muted: #8b949e; 44 46 --border: #30363d; 47 + --code-bg: #1f2428; 45 48 --primary: #388bfd; 46 49 --primary-hover: #58a6ff; 47 50 --danger: #f85149;