HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
lightradius
firefox-dark-theme-fix
CSS2018–2018
lightradius / firefox-dark-theme-fix

firefox-dark-theme-fix

userContent.css file for Firefox that fixed some appearance problems when using a dark theme on Ubuntu

2Distinct people
2Mentions
0Explicit recommenders
13GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

userContent.css file for Firefox that fixed some appearance problems when using a dark theme on Ubuntu

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:03:16 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour2 dated mentions

Observed mentions: 2018-12-07 18:30:12 UTC to 2018-12-07 20:31:35 UTC.

012018-12-07 18:00:00 UTC to 2018-12-07 19:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsDec 7, 18:002018-12-07 19:00:00 UTC to 2018-12-07 20:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsDec 7, 19:002018-12-07 20:00:00 UTC to 2018-12-07 21:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsDec 7, 20:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Dec 7, 18:002018-12-07 18:00:00 UTC2018-12-07 19:00:00 UTC101
Dec 7, 19:002018-12-07 19:00:00 UTC2018-12-07 20:00:00 UTC000
Dec 7, 20:002018-12-07 20:00:00 UTC2018-12-07 21:00:00 UTC101

What Hacker News says

2 sources
> What's wrong with this one? https://bugzilla.mozilla.org/show_bug.cgi?id=70315#c8 Like the comment says: it makes things better with some themes but worse with others. Incidentally, the author of that patch is a senior engineer at Mozilla now; if he actually thought this patch made things better, it would be in the tree. Note, by the way, that this bug report is about the Firefox UI itself, not about web pages. > Or this one? https://bugzilla.mozilla.org/show_bug.cgi?id=70315#c12 That comment comes down to "stop doing native theming", no? > Or this one? https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/22026... That's the same as your first link. > Or this one? https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/22026... Amusingly enough, that comment was written by me. There's nothing wrong with it. It's from https://bugzill
Read the rest
a.mozilla.org/show_bug.cgi?id=437366 which was a superficially similar, but not at all the same issue, and which I fixed back in 2009. (And yes, I have thought about this problem space quite a bit in the past, though not necessarily the Linux-specific bits.) > Or this one? https://bugzilla.mozilla.org/show_bug.cgi?id=70315#c36 That says "stop doing native theming". > Or this one? https://github.com/lightradius/firefox-dark-theme-fix That's a set of CSS rules that disables native theming. > Or this one? https://bugzilla.mozilla.org/show_bug.cgi?id=70315#c45 This comment is about the Firefox UI, not web pages. > Or this one? https://bugzilla.mozilla.org/show_bug.cgi?id=70315#c46 This one is actually useful, thank you. Following the links from there lands me at https://bugzilla.mozilla.org/show_bug.cgi?id=1283086#c13 from one of the RedHat folks who have been active in this stuff. Note that this comment says that Firefox tries to avoid using dark themes for form controls, but some dark themes fail to properly flag themselves as dark themes. Which makes it hard to avoid them. Also, can you stop pretending like no one has worked on this? Given https://bugzilla.mozilla.org/show_bug.cgi?id=1353147 and https://bugzilla.mozilla.org/show_bug.cgi?id=1158076 it sure looks like people have been active here. > Or this one? https://bugzilla.mozilla.org/show_bug.cgi?id=1461538#c9 Karl is an engineer on Firefox, working on GTK integration. If he felt that his comment were the right fix, it would be in the tree. > In what crazy world is it considered good design practice to force thousands of your users to install 3rd party extensions to be able to read text on the internet? In a world where all the proposals for fixing that so far make millions of users unhappy?
In Choose Firefox Now, or Later You Won't Get a Choice (2014)
> Again, what is your specific proposed solution? Why do you need a proposal from me? What's wrong with this one? https://bugzilla.mozilla.org/show_bug.cgi?id=70315#c8 Or this one? https://bugzilla.mozilla.org/show_bug.cgi?id=70315#c12 Or this one? https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/22026... Or this one? https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/22026... Or this one? https://bugzilla.mozilla.org/show_bug.cgi?id=70315#c36 Or this one? https://github.com/lightradius/firefox-dark-theme-fix Or this one? https://bugzilla.mozilla.org/show_bug.cgi?id=70315#c45 Or this one? https://bugzilla.mozilla.org/show_bug.cgi?id=70315#c46 Or this one? https://bugzilla.mozilla.org/show_bug.cgi?id=1461538#c9 And those are only the proposals that are linked from the original 18-year old bug, there are probably dozens of others
Read the rest
that were opened independently. Granted, some of them are dumb (the patch that hard-codes "Adwaita-dark" as a trigger seems particularly bad) but there is no excuse for this to still be around, 18 years later, despite all of the proposals and patches that have been sent to fix it. There are multiple firefox extensions out there that fix the bug, and they are very popular, with thousands of users each. In what crazy world is it considered good design practice to force thousands of your users to install 3rd party extensions to be able to read text on the internet?
In Choose Firefox Now, or Later You Won't Get a Choice (2014)

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.