You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add simple dark mode to http.server directory list and error pages #95812
A simple dark mode in http.server’s directory list and error pages, using white font on black background.
Pitch
To make the directory lists and error pages of the simple HTTP server from http.server more readable in dark environments, a simple dark mode support using a few lines of CSS could enhance user experience. I propose the following CSS code, which uses white font on black background when requested by the browser:
changed the title [-]Add simple dark mode to http.server directory list[/-][+]Add simple dark mode to http.server directory list and error pages[/+]on Aug 9, 2022
The listing does not contain any hardcoded colors and should not. If your browser is not able to show a simple page with default style, it is a problem either with your configuration or with the browser. It is not Python issue.
Activity
[-]Add simple dark mode to http.server directory list[/-][+]Add simple dark mode to http.server directory list and error pages[/+]serhiy-storchaka commentedon Aug 9, 2022
The listing does not contain any hardcoded colors and should not. If your browser is not able to show a simple page with default style, it is a problem either with your configuration or with the browser. It is not Python issue.