Skip to content

style: improve inline codespan contrast in markdown#2

Draft
CES1919 wants to merge 2 commits intomainfrom
codex/update-display-style-for-highlighted-content
Draft

style: improve inline codespan contrast in markdown#2
CES1919 wants to merge 2 commits intomainfrom
codex/update-display-style-for-highlighted-content

Conversation

@CES1919
Copy link
Copy Markdown
Owner

@CES1919 CES1919 commented Mar 30, 2026

Motivation

  • Inline markdown code (.codespan) was rendering with low-contrast/gray text in some themes, making important LLM output hard to read in the UI.

Description

  • Update src/app.css to strengthen .codespan styling by setting a bold font weight and explicit light-mode foreground/background colors plus a subtle border, and add a .dark .codespan override for high contrast in dark mode; !important is used to ensure these values win over external markdown/theme CSS.

Testing

  • Verified the change and file contents with nl -ba src/app.css | sed -n '326,360p' and confirmed the file was staged and committed with git add/git commit (commands executed successfully).

Codex Task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant