Python Programmer | ... • 1y
Hello everyone, I'm so excited to share that I successfully added a multi-theme feature to my Electron-React app last night! With the help of a theme card, I can now seamlessly change the theme style and my toggle button in the sidebar allows me to switch between light and dark themes of that style. As a React beginner, it was quite a challenge for me, but I tackled it with my logic and I'm thrilled to say that I succeeded! Even though it took me half a day, the feeling of accomplishment is totally worth it ! Linkin post link (as I am unable to share video): https://www.linkedin.com/posts/rajeshtechforge_hello-everyone-im-so-excited-to-share-activity-7194540250424094720-r_EA?utm_source=social_share&utm_medium=member_android&utm_campaign=copy_link
Jack of all trades, ... • 3d
Day 15 of fixing the foundation Dark mode rabbit hole today Needed theme to load instantly without the flash & since React runs after paint, the only reliable fix I can think of is a tiny inline script that reads localStorage & sets data-theme acco
See MoreDownload the medial app to read full posts, comements and news.