Skip to content

Code snippets in dark theme are unreadable #115349

Description

@raiyankamal

Documentation

When python docs are viewed in dark theme, code snippets are put against a light colour background. This makes white letters unreadable. Please see attached screenshot.

Screenshot 2024-02-09 at 4 38 35 PM

This screenshot was taken at: https://docs.python.org/3.8/library/csv.html

Steps to reproduce:

  1. Visit https://docs.python.org/3.8/library/csv.html
  2. Select theme "Dark" from the drop down menu in the top right corner.
  3. Scroll to see any code snippet.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.8 (EOL)end of life3.9 (EOL)end of lifedocsDocumentation in the Doc dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions