Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34.1k
Closed
Description
Feature or enhancement
Proposal:
Allow browsers to apply light or dark themes to the http.server directory list according to the users prefered color scheme.
This can be done by adding the CSScolor-scheme property to:root with the valuelight dark.
:root {color-scheme: light dark;}
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
Something similar was discussed previously in#95812. There it wasrejected, as "[t]he listing [should] not contain any hardcoded colors".
I agree with this statement, but I think the page should allow browsers to select their own color scheme and don't see it as a "a problem either with [the] configuration or with the browser", as long as thecolor-scheme property is not set properly.