News for hackers. Stuff that matters.
Re:GitHub Dark Mode is too Dark by saghm on Saturday December 12, 2020 @03:17PM (#25401300)
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; } ```

Re:GitHub Dark Mode is too Dark by oars on Saturday December 12, 2020 @06:16PM (#25402722)
Hi, newbie to programming/web in general here - how do I use this CSS to change the colours in GitHub? Is there a section within GitHub I can paste this in?
Re:GitHub Dark Mode is too Dark by stev0lution on Saturday December 12, 2020 @06:54PM (#25402931)
I don't know if github has an option for custom css but you can surely use a browser extension such as Stylus ([1], [2]) to change any website you want.

[1] for Firefox: https://addons.mozilla.org/en-US/firefox/addon/styl-us/

[2] for Chromium based browsers: https://chrome.google.com/webstore/detail/stylus/clngdbkpkpe...