Comment

Comment by saghm

I hadn't realized that dark mode came out for Github, so I went and enabled it, and wow, even as a fan of "darker" dark modes (rather than the medium gray that so many apps and sites seem to prefer), I can see what OP meant! The main issue for me is that the text colors are all fairly dark as well; I'm sure that my tastes are too gaudy for most people, but I find higher contrast much easier to read, and on the off-chance that anyone else is like me and prefers much brighter text, I threw this CSS together:

``` .link-gray-dark, .news li blockquote, .link-gray, .text-gray, .text-gray-light, .UnderlineNav-item, .blob-code-inner { color: white !important; }

/* code comments are a dark gray by default, so I made them something brighter */ .pl-c { color: orange !important; } ```

As a bonus, if you also can't stand the sidebar on the right of the main page, you can hide it and reclaim the space for more useful content with this:

``` [aria-label="Explore"] { display: none !important; } ```

parent saghm 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton