3 ms·
The problem in firefox is from this bit of code: /* Darkmode */ @media (prefers-color-scheme: dark) { html { background-c
by gelatocar 6y ago
The problem in firefox is from this bit of code:
/*
Darkmode
*/
@media (prefers-color-scheme: dark) {
html {
background-color: white;
filter: invert(100%);
}
input {
filter: invert(20%);
}
}
It seems in firefox the invert doesn't apply to the background color of the html element so you end up with yellow on white.
- shakna 6y agoYep. However Chrome doesn't invert the background unless I specify it. And as far as I'm aware, Firefox doesn't actually have a dark mode preference outside of Preview as of yet. There are plenty of addons - but they all have wildly varying behaviour.