haskell / haskell/hackage-server

make `prefers-color-scheme` work in package `docs`

Open
#1,329 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
467
Forks
225
PR merge metrics
No merged PRs in 30d

Description

Continuation of https://github.com/haskell/hackage-server/issues/1007

`prefers-color-scheme` works here: https://hackage.haskell.org/package/timeline-0.1.1.0
It does not work here: https://hackage.haskell.org/package/timeline-0.1.1.0/docs/Data-Timeline-Hedgehog.html

I did not cover this here https://github.com/haskell/hackage-server/pull/1008 because it was not clear how `docs` are generated.

Would all old `docs` need to be regenerated to support `prefers-color-scheme`? Noted `docs` do not automatically get the latest CSS styling, i.e.: https://hackage.haskell.org/package/ABList-0.0.3/docs/Data-AbneList.html

More than likely this `prefers-color-scheme` support would only apply for new `docs` in the future.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.