Title: Documentation: dark theme & images · Issue #103960 · python/cpython · GitHub
Open Graph Title: Documentation: dark theme & images · Issue #103960 · python/cpython
X Title: Documentation: dark theme & images · Issue #103960 · python/cpython
Description: Documentation Starting from version 3.12, the Docs now have a dark theme. However, this feature does not affect the images. As an example, please visit https://docs.python.org/3.12/library/pathlib.html. The page contains an image of an i...
Open Graph Description: Documentation Starting from version 3.12, the Docs now have a dark theme. However, this feature does not affect the images. As an example, please visit https://docs.python.org/3.12/library/pathlib....
X Description: Documentation Starting from version 3.12, the Docs now have a dark theme. However, this feature does not affect the images. As an example, please visit https://docs.python.org/3.12/library/pathlib....
Opengraph URL: https://github.com/python/cpython/issues/103960
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Documentation: dark theme \u0026 images","articleBody":"# Documentation\r\n\r\nStarting from version 3.12, the Docs now have a dark theme. However, this feature does not affect the images. As an example, please visit https://docs.python.org/3.12/library/pathlib.html.\r\nThe page contains an image of an inheritance tree. In the dark theme, the rectangles remain white, which is not visually appealing: \r\n\r\nTo address this issue, I propose making these images compatible with the dark theme: \r\n\r\n\r\nAlthough I'm not an expert in HTML/CSS, a quick search suggests that adding `style=\"filter:invert(1)\"` to `\u003cimg\u003e` element can help achieve this.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-103983\n* gh-104358\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/denballakh","@type":"Person","name":"denballakh"},"datePublished":"2023-04-27T22:34:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/103960/cpython/issues/103960"}
| 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:f70bb945-ee24-595a-5d13-90b7edd48436 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D1D0:20C85F:252DC8:32574A:6969CBD3 |
| html-safe-nonce | 29851bced7ed1cf79d4f53670283e0066e6a15f64a8e8f34fdc20a34ec0917d6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMUQwOjIwQzg1RjoyNTJEQzg6MzI1NzRBOjY5NjlDQkQzIiwidmlzaXRvcl9pZCI6IjExMTcwMjUyMDkwOTc1MDU3NDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8b8ed216c907625857d365f116183260cf48dddb76f9ef83f1238ef1cff01fc2 |
| hovercard-subject-tag | issue:1687638867 |
| 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/103960/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ed1886d8d3474c60fcdcb47864d7b0eb2d8008bb4df5b0e26a90ad4cd1c8d3cf/python/cpython/issues/103960 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ed1886d8d3474c60fcdcb47864d7b0eb2d8008bb4df5b0e26a90ad4cd1c8d3cf/python/cpython/issues/103960 |
| og:image:alt | Documentation Starting from version 3.12, the Docs now have a dark theme. However, this feature does not affect the images. As an example, please visit https://docs.python.org/3.12/library/pathlib.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | denballakh |
| hostname | github.com |
| expected-hostname | github.com |
| None | acedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056 |
| 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 | 83c08c21cdda978090dc44364b71aa5bc6dcea79 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width