Title: Make option to invert/modify colors for documentation pages · Issue #145 · python/python-docs-theme · GitHub
Open Graph Title: Make option to invert/modify colors for documentation pages · Issue #145 · python/python-docs-theme
X Title: Make option to invert/modify colors for documentation pages · Issue #145 · python/python-docs-theme
Description: Feature or enhancement When reading the docs page in dark mode with night shift, some variables are invisible to see. For example in https://docs.python.org/3/c-api/intro.html#types, int, long, double and char* are impossible to read wit...
Open Graph Description: Feature or enhancement When reading the docs page in dark mode with night shift, some variables are invisible to see. For example in https://docs.python.org/3/c-api/intro.html#types, int, long, dou...
X Description: Feature or enhancement When reading the docs page in dark mode with night shift, some variables are invisible to see. For example in https://docs.python.org/3/c-api/intro.html#types, int, long, dou...
Opengraph URL: https://github.com/python/python-docs-theme/issues/145
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Make option to invert/modify colors for documentation pages","articleBody":"# Feature or enhancement\r\n\r\nWhen reading the docs page in dark mode with night shift, some variables are invisible to see. For example in https://docs.python.org/3/c-api/intro.html#types, `int, long, double and char*` are impossible to read without highlighting the text. This looks to affect any other parts of docs with same coloring too, for example all texts `typedef` on https://docs.python.org/3/c-api/typeobj.html page are practically invisible.\r\n\r\n## Environment:\r\nEnable dark mode for system/browser (black background), AND enable night shift. I think there are multiple ways to do so, for example Windows has built in night shift mode to enable screen to be more orange (basically make screen have less blue light). For easiest reproduction, download f.lux and set color to 1900K (or as low as possible). Look at page again, and all the dark blue text, for example the `type` and `typedef` texts, became invisible.\r\n\r\n\r\n# Pitch\r\n\r\nThe docs will be much more readable and improve accessibility for bigger audience if the text colors can be modified. I'm not sure how much work this would require, but can be happy to provide feedback. Alternatively, if making the docs text configurable by end user is too much work, just hard code a more friendly color that is readable with dark mode and night shift enabled.\r\n\r\nLet me know if you want more information! ","author":{"url":"https://github.com/brandonardenwalli","@type":"Person","name":"brandonardenwalli"},"datePublished":"2023-08-14T00:22:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/145/python-docs-theme/issues/145"}
| 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:12e000ea-59de-1463-403d-98dc31e69011 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 80B0:12A68A:1366027:19575D1:6976B5A6 |
| html-safe-nonce | 0ea20042a8529f738d0301c026015ab3fc1d3d245f7bead3657de32585b0c852 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MEIwOjEyQTY4QToxMzY2MDI3OjE5NTc1RDE6Njk3NkI1QTYiLCJ2aXNpdG9yX2lkIjoiNTAyMDkwNjg4Nzc5NzE5MjEwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e5a540d78d3c1b42fc323078cbc12433478f381054f4893491f649a5ad21f9c7 |
| hovercard-subject-tag | issue:1849010093 |
| 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/python-docs-theme/145/issue_layout |
| twitter:image | https://opengraph.githubassets.com/15f2ed63b12c76382da7b05006b30a5e212f37296a99e1d6e999f54b0ac703db/python/python-docs-theme/issues/145 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/15f2ed63b12c76382da7b05006b30a5e212f37296a99e1d6e999f54b0ac703db/python/python-docs-theme/issues/145 |
| og:image:alt | Feature or enhancement When reading the docs page in dark mode with night shift, some variables are invisible to see. For example in https://docs.python.org/3/c-api/intro.html#types, int, long, dou... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | brandonardenwalli |
| hostname | github.com |
| expected-hostname | github.com |
| None | 032152924a283b83384255d9489e7b93b54ba01da8d380b05ecd3953b3212411 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/python-docs-theme git https://github.com/python/python-docs-theme.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 93341818 |
| octolytics-dimension-repository_nwo | python/python-docs-theme |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 93341818 |
| octolytics-dimension-repository_network_root_nwo | python/python-docs-theme |
| 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 | 5b577f6be6482e336e3c30e8daefa30144947b17 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width