Re:DuckDuckGo – two non-JavaScript versions of search results
by encryptluks2 on Thursday March 04, 2021 @04:11PM
(#26348378)
Can you please add a dark theme like your JS-based site? Just cause you don't use JS doesn't mean they can't use CSS.
[ Parent
| on HN ]
Re:DuckDuckGo – two non-JavaScript versions of search results
by CodeHz on Thursday March 04, 2021 @04:14PM
(#26348419)
You can achieve it without CSS actually (in chrome)
Just put <meta name="color-scheme" content="light dark"> to <head>
It will also make vanilla scrollbar into dark theme
Re:DuckDuckGo – two non-JavaScript versions of search results
by encryptluks2 on Friday March 05, 2021 @02:26AM
(#26353871)
That is freaking awesome. I learned something new today and it is much simpler than trying to manage inverted colors in CSS.
Re:DuckDuckGo – two non-JavaScript versions of search results
by abhayhegde on Friday March 05, 2021 @01:22PM
(#26360044)
You could use the following in Style editor of browser (accessible via Inspect Console):
html{
background-color: black !important;
filter: invert(90%) hue-rotate(180deg) !important;
}