Y
Hacker News
new
|
ask
|
show
|
jobs
by
theodorejb
961 days ago
To avoid a flicker, add
<meta name="color-scheme" content="light dark" />
to the <head> tag, and also put the JavaScript code in <head> so it runs before any content is shown.
1 comments
petemilly
960 days ago
Ah that's also a good idea. I added a todo for myself to take a stab at this at some point.
link