en.javascript.info icon indicating copy to clipboard operation
en.javascript.info copied to clipboard

Dark Mode

Open kkanekii opened this issue 5 years ago • 54 comments

Feature Request

Will Dark Mode be ever available on this website? I think it will definitely boost the time view on the website If anyone could do this, it would be AWESOME

kkanekii avatar Jul 10 '21 09:07 kkanekii

Is it better now? @GSemikozov updated some stuff. Please clear browser cache.

iliakan avatar Oct 29 '21 12:10 iliakan

I guess it looks more crazy now :sweat_smile:
image

Those white boxes...

Edit: I noticed for a second, it shows the correct logo but after 1-2sec weird box appears, tried hard reload with clearing cache also

Manik2375 avatar Oct 29 '21 12:10 Manik2375

Not sure but color-scheme is causing the problem, and that's weird image Removing it solves the problem..well..

Manik2375 avatar Oct 29 '21 12:10 Manik2375

Please, answer few questions about the latest issue.

The problem...

  1. Appears only on Windows?
  2. Only on Edge?
  3. Only when the system color theme is different from the website-selected color theme?

iliakan avatar Oct 30 '21 12:10 iliakan

Ok, so I tried that in firefox also. And well in firefox it was all fine!! Looks like the problem is in chromium browsers (I used chrome btw)

Here's some pictures.. image

&

image

And about theme, well it doesn't change anything.

And from theme, there should be use of prefers-color-scheme to make site more user friendly

Manik2375 avatar Oct 30 '21 13:10 Manik2375

Chromium only. Ok.

Windows-only? Or on Mac too?

Only when the system color theme is different from the website-selected color theme?

iliakan avatar Oct 30 '21 14:10 iliakan

Not sure about mac, I am a window user. And as I said theme doesn't matter, even if I set dark it doesn't change anything in chrome.

For mac I could test it with lambdatest, that's what I use but the password can be the problem still I will try real time testing and give any results if I get any

Manik2375 avatar Oct 30 '21 14:10 Manik2375

So, I checked and yeah problem is in window only

image

(comments are also fine)

That is weird :thinking:

Manik2375 avatar Oct 30 '21 14:10 Manik2375

The problem is only when the system color theme is different from the website-selected color theme?

iliakan avatar Oct 30 '21 14:10 iliakan

The problem is only when the system color theme is different from the website-selected color theme?

I tried setting it to dark also (from console) and problem still persists in chrome

Manik2375 avatar Oct 30 '21 14:10 Manik2375

@GSemikozov When do we ship dark mode?

ChhikaraBRUH avatar Nov 22 '21 19:11 ChhikaraBRUH

Waiting for this. looks like dark.javascript.info language has been changed, so can't use it.

Manik2375 avatar Dec 12 '21 13:12 Manik2375

We do some cross language testing.

Best regards, Ilya Kantor

12 дек. 2021 г., в 16:43, Manik Kapoor @.***> написал(а):

 Waiting for this. looks like dark.javascript.info language has been changed, so can't use it.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

iliakan avatar Dec 12 '21 14:12 iliakan

image

The dark theme is deployed ;)

iliakan avatar Dec 16 '21 06:12 iliakan