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

Dark Mode

Open kkanekii opened this issue 4 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

Working on it!

iliakan avatar Jul 10 '21 09:07 iliakan

Thank You!

kkanekii avatar Jul 10 '21 10:07 kkanekii

I would be happy to do this. Can you also tell me how you are doing this/planning to do this? @iliakan

anas40 avatar Jul 11 '21 19:07 anas40

We'll use CSS variables and edit all styles to rely on them. Then change CSS variables depending on cookies/user selection.

iliakan avatar Jul 12 '21 09:07 iliakan

mans I think you forgot

kkanekii avatar Jul 31 '21 05:07 kkanekii

@gsemikozov please tell us how it goes?

iliakan avatar Jul 31 '21 09:07 iliakan

We're planning release it at the beginning of August.

GSemikozov avatar Jul 31 '21 15:07 GSemikozov

@iliakan if you need some help for implementing dark mode please let me know

HamzaAmar avatar Jul 31 '21 19:07 HamzaAmar

Thank you, @Gsemikozov is working on it.

iliakan avatar Jul 31 '21 19:07 iliakan

he quit on it probably by now

kkanekii avatar Sep 02 '21 13:09 kkanekii

Dear @GSemikozov please tell us about the progress.

iliakan avatar Sep 02 '21 13:09 iliakan

sorry guys for the delay - we're almost done, on a final stage right now.

GSemikozov avatar Sep 02 '21 13:09 GSemikozov

More work than expected. We're into it.

iliakan avatar Sep 13 '21 17:09 iliakan

😪 alright

kkanekii avatar Sep 14 '21 02:09 kkanekii

Can't wait for this! ✨

honeykpatel avatar Oct 04 '21 13:10 honeykpatel

@honeykpatel the idea is dead bro they just gave up on it

kkanekii avatar Oct 05 '21 15:10 kkanekii

@kkanekii Oof :') opens dev tools

honeykpatel avatar Oct 05 '21 15:10 honeykpatel

In fact, we’re almost done.

Figma service has a problem, it can’t keep text in exported SVGs. And we hoped to use Figma for theming. We found at workaround with Sketch, but not finished yet.

Sorry for the delay.

Best regards, Ilya Kantor

5 окт. 2021 г., в 18:01, kaneki @.***> написал(а):

 @honeykpatel the idea is dead bro they just gave up on 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 Oct 05 '21 15:10 iliakan

@iliakan Ohh great! It would be worth the wait😍✨ Thank you for your reply.

honeykpatel avatar Oct 05 '21 15:10 honeykpatel

Until it is ready... I use Kiwi browser night mode :)

ghost avatar Oct 11 '21 03:10 ghost

@iliakan its fine now if this is not getting done since 3 months might as well close the issue

kkanekii avatar Oct 19 '21 14:10 kkanekii

We have it working, just not deployed yet. I can make a public version and post a link here.

iliakan avatar Oct 19 '21 14:10 iliakan

Do it, sir! 😃

honeykpatel avatar Oct 19 '21 16:10 honeykpatel

Take a look at https://dark.javascript.info. Login: dark, password: mode.

Frontpage is not themed, as of now. You can find theme switch in articles (I hope so).

Please leave your feedback at https://docs.google.com/forms/d/e/1FAIpQLSfPZGs62me8x5UIv_JNbyODxk78tmbl5YyBJ_yrkhM9xt4UdQ/viewform and maybe here ;)

iliakan avatar Oct 21 '21 15:10 iliakan

Is it just me or the homepage is still in light mode? But the chapters looks so cool in dark mode 🤩

honeykpatel avatar Oct 21 '21 15:10 honeykpatel

Frontpage is not themed, as of now.

iliakan avatar Oct 21 '21 15:10 iliakan

It's looking great. Slight suggestions:

Seems like Disqus is confused between light and dark mode so it's showing a grey version 😂😂

image


I think it's your dark mode implementation that is making the background grey from white as the same can be seen in sandbox examples too, improvement in this will be really beneficial.

image

ShivamS136 avatar Oct 22 '21 14:10 ShivamS136

Please reload the page without browser cache, it should be fine now. Thanks.

iliakan avatar Oct 22 '21 15:10 iliakan

look great @iliakan well done!!!!

kkanekii avatar Oct 23 '21 16:10 kkanekii

Oh that looks super clean and amazing! But there is a problem, and that is disqus comments. When comments section is opened, then if we change the theme, text doesn't change. Reload is the fix, but it's little annoying :sweat_smile:. And all other things look perfect!

Manik2375 avatar Oct 26 '21 10:10 Manik2375