fix: improve dark mode code block contrast in markdown (#1253)#1679
Open
carlosjarenom wants to merge 3 commits into
Open
fix: improve dark mode code block contrast in markdown (#1253)#1679carlosjarenom wants to merge 3 commits into
carlosjarenom wants to merge 3 commits into
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Code blocks in dark mode were unreadable due to low contrast (dark text on dark background).
Changes
colortopreblocks in both light and dark modes:color: #1f2328(GitHub dark gray)color: #e6edf3(GitHub light gray)This ensures code blocks are always readable regardless of theme.
Closes #1253