prompty icon indicating copy to clipboard operation
prompty copied to clipboard

Codeblocks are not readable in dark mode

Open nitya opened this issue 1 year ago • 0 comments

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 avatar Oct 11 '24 16:10 nitya