Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Codeblocks are not readable in dark mode #102

Open
nitya opened this issue Oct 11, 2024 · 0 comments
Open

Codeblocks are not readable in dark mode #102

nitya opened this issue Oct 11, 2024 · 0 comments
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@nitya
Copy link
Member

nitya commented Oct 11, 2024

Action Taken:

  1. Visit any page with a code block. For instance go to Concept - 1.1 Prompt Specifcation Section - and click to expand so the code block is visible.
  2. Switch page toggle to enforce light mode - the content is readable (black text on white background)
  3. Switch page toggle to enforce dark mode - the content is no longer readable (white text on light gray)

Expected:
Background to be a color that offered sufficient contrast against default white text.

Why it matters:
Explainers may reference code snippets with line numbers so visbility helps
The copy-paste feature is not impacted.

@nitya nitya added bug Something isn't working documentation Improvements or additions to documentation labels Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant