Skip to content

fix: improve dark mode code block contrast in markdown (#1253)#1679

Open
carlosjarenom wants to merge 3 commits into
eigent-ai:mainfrom
carlosjarenom:fix/issue-1253-dark-mode-code-contrast
Open

fix: improve dark mode code block contrast in markdown (#1253)#1679
carlosjarenom wants to merge 3 commits into
eigent-ai:mainfrom
carlosjarenom:fix/issue-1253-dark-mode-code-contrast

Conversation

@carlosjarenom

Copy link
Copy Markdown

Summary

Code blocks in dark mode were unreadable due to low contrast (dark text on dark background).

Changes

  • Added explicit color to pre blocks in both light and dark modes:
    • Light mode: color: #1f2328 (GitHub dark gray)
    • Dark mode: color: #e6edf3 (GitHub light gray)

This ensures code blocks are always readable regardless of theme.

Closes #1253

carlosjarenom and others added 3 commits June 9, 2026 19:21
Previously, loading a project from history used the same single question string
(project.last_prompt) for every task, regardless of what question each individual
task had been created with.

Now each task is replayed with its own question from task.question, falling back
to the project-level question if a task's question is missing.

Closes eigent-ai#1366
Add explicit text colors for code blocks in both light and dark modes to ensure
readability. Light mode uses #1f2328 and dark mode uses #e6edf3.

Closes eigent-ai#1253
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Improve Markdown Rendering: Fix Dark Mode Code Contrast & Adopt GitHub-style Formatting

1 participant