Read the statement by Michael Teeuw here.
Is it possible to change the CSS layout at a certain time? (Dark Mode)
-
… otherwise you can also have the display dimmed temporarily
-
Its not that hard as it seems.
A handfull of code that you have to write.
A good task to learn a bit about bash programming under linux.
Try the fist step, it would be helpful for the future…
Greetings Torsten
-
This is an interesting idea, and I found this write-up that I thought was interesting.
https://labs.tadigital.com/index.php/2020/04/10/night-and-day-switch-using-css-variables/
-
Thank you for all the ideas and advice. I will report when I have made first progress
With kind regards
mopedman -
I hope this help.
-
Hey everyone,
yesterday I have implemented the idea of Foxy25 and it works great.
@foxy25 said in Is it possible to change the CSS layout at a certain time? (Dark Mode):Hi
maybe it is possible to write a script that rename the used .css in another filename (from custom.css to Custom.1) an after that, rename an other .css to custom.css. Packed this in an cronjob an you have a change of the .css files. After the rename routine restart the mirror…
Piranha1605’s solution looks even better and easier!
@piranha1605 said in Is it possible to change the CSS layout at a certain time? (Dark Mode):I hope this help.
Thanks for the great help
-
Hi, the Css-Switcher is really the more comfortable way to do the change!
but, you don’t learn the basics of coding ;-)
Anyway, good to hear that it works in both ways.
Greetings Foxy