Hey, Dušan! 👋
Always nice to see you complete another challenge! 😀 Just wanted to drop in to say good job on this one! 👏
Everything looks great and responds well and using prefers-color-scheme
to change the theme of the site to suit user's preferences is a cool idea! 👍
As for your question, maybe you could try defining the colors of the site as CSS variables and using classes to overwrite those variables depending on what theme you want the site to be. Simply append the proper class to the body
of the page or something and use JS to change the theme of the page when either the toggle-switch is clicked or the user changes their preferences or something. Just a thought! 😉
Of course, keep coding (and happy coding, too)! 😁