News for hackers. Stuff that matters.
Re:Ask HN: Dark mode for HN please? by mathiasrw on Saturday May 16, 2020 @08:18AM (#23202786)
Website with no images? Easy, this is all thats needed:

    @media (prefers-color-scheme:dark) {
      html{
        filter: invert(1) hue-rotate(.5turn);
      }
    }
Its works so well because it keeps the balance of contrast between elements.

There are no comments on this comment yet.