Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
encryptluks2
on March 4, 2021
|
parent
|
context
|
favorite
| on:
DuckDuckGo – two non-JavaScript versions of search...
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.
CodeHz
on March 4, 2021
|
next
[–]
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
encryptluks2
on March 5, 2021
|
parent
|
next
[–]
That is freaking awesome. I learned something new today and it is much simpler than trying to manage inverted colors in CSS.
MinimalAction
on March 5, 2021
|
prev
[–]
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; }
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: