Title: Code snippets in dark theme are unreadable · Issue #115349 · python/cpython · GitHub
Open Graph Title: Code snippets in dark theme are unreadable · Issue #115349 · python/cpython
X Title: Code snippets in dark theme are unreadable · Issue #115349 · python/cpython
Description: 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. This screenshot was taken at: https://docs.python.org/...
Open Graph Description: 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. This screensho...
X Description: 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. This screensho...
Opengraph URL: https://github.com/python/cpython/issues/115349
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Code snippets in dark theme are unreadable","articleBody":"# Documentation\r\n\r\nWhen 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.\r\n\r\n\r\n\r\nThis screenshot was taken at: https://docs.python.org/3.8/library/csv.html\r\n\r\nSteps to reproduce:\r\n1. Visit https://docs.python.org/3.8/library/csv.html\r\n2. Select theme \"Dark\" from the drop down menu in the top right corner.\r\n3. Scroll to see any code snippet.\r\n\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-115351\n* gh-115404\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/raiyankamal","@type":"Person","name":"raiyankamal"},"datePublished":"2024-02-09T21:42:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/115349/cpython/issues/115349"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fd0b72fd-6d76-ff17-6d27-684b7ce27003 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D7A2:2603AD:82E5C6:AC748C:696B4CF8 |
| html-safe-nonce | 61c5f010a4c038379146dad6f8c9f46cee71b59a04cdd02ee6206213ec8b9669 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEN0EyOjI2MDNBRDo4MkU1QzY6QUM3NDhDOjY5NkI0Q0Y4IiwidmlzaXRvcl9pZCI6Ijc0MTA2MDI4MTg2MDA1MDE2OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 73122aedabdf7a9d650e41323031cf709c467aba46823bf877ddf9cb55878a5d |
| hovercard-subject-tag | issue:2130415297 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/115349/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cbb43a253f6ed74a4d4294cf727c41a2fc3866044b21c9f077310261fe7e5823/python/cpython/issues/115349 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cbb43a253f6ed74a4d4294cf727c41a2fc3866044b21c9f077310261fe7e5823/python/cpython/issues/115349 |
| og:image:alt | 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. This screensho... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | raiyankamal |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width