pypi/warehouse

Add a dark theme or relax CSP

WereCatf opened this issue · 3 comments

What's the problem this feature will solve?

The website might no longer burn its users' eyes out.

Describe the solution you'd like

Add a dark theme -- using the CSS media feature "prefers-color-scheme"? -- or relax CSP, so one can use one of the many extensions that allow one to use custom styles on websites.

di commented

We're unlikely to relax the CSP. I'd be interested in exploring a dark theme that uses prefers-color-scheme as long as we can ensure it remains accessible.

Yeah, I expected that no one would like the idea of relaxing the CSP. The other option, however, has gained traction slowly over the years with a website here, website there adopting it and it seems like it'd be the way to go.

is this issue open for work?