~sircmpwn/sr.ht#242: 
add dark mode

Given that the prefers-color-scheme media query is now supported in all well-known browsing engines, I think that this feature could be implemented now as discussed in the sr.ht-discuss list: https://lists.sr.ht/~sircmpwn/sr.ht-discuss/%3C20190208130523.tb5gtfp2j2p75wh2%40gabriel%3E

Status
RESOLVED FIXED
Submitter
~alexmo
Assigned to
No-one
Submitted
1 year, 2 months ago
Updated
7 months ago
Labels
No labels applied.

~garritfra 10 months ago

:root {
  filter: invert(1) hue-rotate(180deg);
}

does not seem to work here out of the box, because there's an artificial white color on the body. Should be somewhat easy to fix though.

~garritfra 10 months ago*

Ignore me, this is a duplicated comment

~yerinalexey 8 months ago

Yes, it could be implemented but not as a high priority task. Sourcehut right now is focusing on the functionality and not UI.

If you want a dark theme, you can try my UserCSS: https://sr.ht/~yerinalexey/dark.sr.ht

~jman 8 months ago

~yerinalexey writes:

Yes, it could be implemented but not as a high priority task. Sourcehut right now is focusing on the functionality and not UI.

If you want a dark theme, you can try my UserCSS: https://sr.ht/~yerinalexey/dark.sr.ht

I can also suggest using this browser extension, which in my experience works fine on websites not yet supporting it natively:

https://darkreader.org/

cheers,

~sircmpwn REPORTED FIXED 7 months ago

~jman 7 months ago

thank you :-)

Register here or Log in to comment, or comment via email.