I wanted to create an animation for switching between dark and light themes, similar to the one in the Telegram mobile app, and I'm happy with the result. However, I wish I had organized my code better since it's a mess, especially with the class names in the HTML and CSS.
What specific areas of your project would you like help with?The trick that I've used in my project for the dark/light switching animation depends solely on mix-blend-mode: difference
, so I needed to invert most of the colors in the website. Would that impose a problem if used in a real-world project?