Night mode | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 5

Night mode

Can anyone help to put a night mode switch on a website?

3rd Jun 2017, 5:09 AM
Jean-Erolle Remy
Jean-Erolle Remy - avatar
5 Respostas
0
Krishna, I don't think he meant that he wants the night mode on SoloLearn website. I think he wants to put that feature on his own project.
3rd Jun 2017, 7:42 AM
Casey McCray
Casey McCray - avatar
+ 11
I don't think Sololearn is planning on modifying the website. New features are being introduced to the app only.
3rd Jun 2017, 7:33 AM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 3
which website?
3rd Jun 2017, 5:47 AM
šŸ‘‘ Prometheus šŸ‡øšŸ‡¬
šŸ‘‘ Prometheus šŸ‡øšŸ‡¬ - avatar
+ 3
You can use Chrome plugin called Stylish (to change a look of any web-site). It has some already made styles for popular sites (don't know yet if there is already a style for sololearn) and you can make your own with a little knowledge of CSS. I think it could have versions for Mozilla Firefox too, but not sure. So white background doesn't burn my eyes too often at nights after I have installed the Stylish plugin. Update: oh, sorry just read your last reply. I'll left my message anyway, ok? And to make a night switch you just have to write Javascript code which would change styles (CSS) for a page (may be load another external .css file)... I was going to implement one example here (in code playground and without loading .css files 'cause it's impossible/not an option here), If I'll finish it, I'll let you know.
9th Jun 2017, 10:38 PM
Andrew Harchenko (Tomsk)
Andrew Harchenko (Tomsk) - avatar
+ 1
i mean coding a night mode switch on your own web
3rd Jun 2017, 7:48 AM
Jean-Erolle Remy
Jean-Erolle Remy - avatar